On Wed, 21 Jun 2023 at 00:53, Junichi Uekawa (上川純一) <uekawa@xxxxxxxxxx> wrote: > > Hi > > > > 2023年6月21日(水) 4:28 Miklos Szeredi <miklos@xxxxxxxxxx>: >> >> On Tue, 20 Jun 2023 at 17:14, Keiichi Watanabe <keiichiw@xxxxxxxxxxxx> wrote: >> > >> > Add `negative_dentry_timeout` mount option for FUSE to cache negative >> > dentries for the specified duration. >> >> This is already possible, no kernel changes needed. See e.g. >> xmp_init() in libfuse/example/passthrough.c. >> > > Thank you for the pointer! > > So reading libfuse/fuse.c, fuse_lib_lookup does a reply with e.ino=0 err=0 (instead of ENOENT) with e.entry_timeout=negative_timeout, > for each lookup (and there's no global configuration but that's okay) ? Yes. Thanks, Miklos