aboutsummaryrefslogtreecommitdiff
path: root/weed/mount/weedfs.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-02-13 03:31:47 -0800
committerchrislu <chris.lu@gmail.com>2022-02-13 03:31:47 -0800
commit3d93570979967b685145c7126098a419eda9fc29 (patch)
treef4880de64cf47172f101f7abc2296892796c2635 /weed/mount/weedfs.go
parent6a42cb6b0bf1b96fce06af06e418845ca288ac0f (diff)
downloadseaweedfs-3d93570979967b685145c7126098a419eda9fc29.tar.xz
seaweedfs-3d93570979967b685145c7126098a419eda9fc29.zip
supports forget
Diffstat (limited to 'weed/mount/weedfs.go')
-rw-r--r--weed/mount/weedfs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/mount/weedfs.go b/weed/mount/weedfs.go
index 6788b0b36..a36e4dc97 100644
--- a/weed/mount/weedfs.go
+++ b/weed/mount/weedfs.go
@@ -120,6 +120,7 @@ func (wfs *WFS) maybeLoadEntry(fullpath util.FullPath) (*filer_pb.Entry, fuse.St
}, fuse.OK
}
+ // TODO Use inode to selectively filetering metadata updates
// read from async meta cache
meta_cache.EnsureVisited(wfs.metaCache, wfs, util.FullPath(dir))
cachedEntry, cacheErr := wfs.metaCache.FindEntry(context.Background(), fullpath)