Re: [RFC] Another take at restarting FUSE servers
From: Stef Bon
Date: Thu Nov 06 2025 - 11:08:13 EST
Hi,
is implementing a lookup using a handle to be in the kernel?
I've written a FUSE fs for sftp using SSH as transport, where the
lookup call normally has to create a path (relative to the root of the
sftp) and send that to the remote server.
It saves the creation of this path if there is a handle available.
When doing an opendir, this is normally followed by a lookup for every
dentry. (sftp does not support readdirplus) Now in this case there is
a handle available (the one used by opendir, or one created with
open), so the fuse daemon I wrote used that to proceed. (and so not
create a path).
So it can also go in userspace.
Stef