DragonFly hammer List (threaded) for 2010-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
pfs softlinks
Hello,
I have implemented the `readlink' operation in FUSE. I am doing a b-tree
search using the following parameters:
struct hammer_base_elm key;
bzero(&key, sizeof(key));
key.obj_id = ino;
key.localization = HAMMER_LOCALIZE_MISC;
key.rec_type = HAMMER_RECTYPE_FIX;
key.key = HAMMER_FIXKEY_SYMLINK;
Regular softlinks (e.g. from snapshots) resolve correctly, but for PFS
softlinks, the b-tree search won't return anything. What are the
parameters I need to set?
The code is here in the function `hreadlink':
http://github.com/dlorch/hammer-linux/blob/fuse-hammer/hammerread.c
Daniel
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]