From: Paul N. <pa...@ps...> - 2010-06-14 16:11:15
|
Hi Miklos, I did see this particular tidbit regarding the use of ino #0. What is not clear to me is how to set the timeout via the lowlevel interface. I suppose what I'm after is the sanctioned method for modifying struct fuse_config members when using lowlevel. thanks, Paul Miklos Szeredi wrote: > On Sat, 05 Jun 2010, Pauln wrote: > >> Hi, >> I'd like to have negative dentry support in my lowlevel fs. Could >> someone tell me if it's possible through the lowlevel interface? >> > > See description of fuse_entry_param in fuse_lowlevel.h: > > /** Directory entry parameters supplied to fuse_reply_entry() */ > struct fuse_entry_param { > /** Unique inode number > * > * In lookup, zero means negative entry (from version 2.5) > * Returning ENOENT also means negative entry, but by setting zero > * ino the kernel may cache negative entries for entry_timeout > * seconds. > */ > fuse_ino_t ino; > > Thanks, > Miklos > |