Bug 236136

Summary: [FUSE]: reuse cached inode entries
Product: Base System Reporter: Alan Somers <asomers>
Component: kernAssignee: Alan Somers <asomers>
Status: Closed Works As Intended    
Severity: Affects Many People CC: asomers, cem
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
Bug Depends on: 235773, 235775    
Bug Blocks:    

Description Alan Somers freebsd_committer freebsd_triage 2019-03-01 18:18:56 UTC
FUSE includes a mechanism for the daemon to instruct the kernel to cache file attributes, inode values, or both.  Currently fuse(4) ignores the cached inodes.  We should make use of them, to improve the performance of VOP_LOOKUP operations on fuse filesystems.
Comment 1 Conrad Meyer freebsd_committer freebsd_triage 2019-03-01 18:35:39 UTC
Some of this was implemented in r344183 and r344184, but shortcomings remain; tracked in:

1. Real timeout support: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235773
2. Using valid cached values: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235775
Comment 2 Alan Somers freebsd_committer freebsd_triage 2019-03-01 18:40:40 UTC
You're right; I made a mistake in my test function when I wrote this bug.  Caching inode entries already works.  The only broken part is expiring old cache entires, and you already have a bug open for that.