On 15.01.20 12:51, Miklos Szeredi wrote: > On Wed, Jan 15, 2020 at 11:10 AM Miklos Szeredi <mszer...@redhat.com> wrote: > >> New operations needed: >> >> LOOKUP_WITH_HANDLE: same as LOOKUP, but returns handle in addition to >> fuse_ino_t and attributes. >> LOOKUP_BY_HANDLE: same as LOOKUP, but gets a handle as input. > > And that can be reduced further to a single extended LOOKUP_HANDLE, > which takes a handle as input and returns a handle in addition to the > usual stuff. The lookup-by-handle case can be done with a special > name. Currently "." is used for this purpose in the fuse protocol, > which is a bit confusing since it has nothing to do the "." directory > entry, but at least we don't have to introduce a new concept for this.
I’m afraid I don’t quite understand. What handle would LOOKUP_HANDLE take as input when I want to open a new file (as in, LOOKUP_WITH_HANDLE)? Max
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Virtio-fs mailing list Virtio-fs@redhat.com https://www.redhat.com/mailman/listinfo/virtio-fs