diff options
author | Jakob Unterwurzacher | 2021-04-03 13:08:28 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-04-03 13:08:28 +0200 |
commit | 24d5d39300629de48bb5a3700b0c219f741da028 (patch) | |
tree | 4706420655f30382027e0dd4943d4df5667de41f /internal/fusefrontend/root_node.go | |
parent | 6aae2aad97aee1d269fdbafab6eafa6ff997a73a (diff) |
fs: add initial dirfd caching
dirfd caching was temporarily removed when moving
to the v2api. Add it back to gain back some lost speed.
Diffstat (limited to 'internal/fusefrontend/root_node.go')
-rw-r--r-- | internal/fusefrontend/root_node.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/fusefrontend/root_node.go b/internal/fusefrontend/root_node.go index bdefafa..cdac4d4 100644 --- a/internal/fusefrontend/root_node.go +++ b/internal/fusefrontend/root_node.go @@ -48,6 +48,8 @@ type RootNode struct { // When -idle was used when mounting, idleMonitor() sets it to 1 // periodically. IsIdle uint32 + // dirCache caches directory fds + dirCache dirCacheStruct // inoMap translates inode numbers from different devices to unique inode // numbers. inoMap inomap.TranslateStater |