remove fsnode cache

fix https://github.com/chrislusf/seaweedfs/issues/1400
This commit is contained in:
Chris Lu
2020-07-24 09:25:54 -07:00
parent 6962ca48d3
commit 5788f1f6bf
6 changed files with 9 additions and 323 deletions

View File

@@ -213,7 +213,6 @@ func (file *File) Fsync(ctx context.Context, req *fuse.FsyncRequest) error {
func (file *File) Forget() {
t := util.NewFullPath(file.dir.FullPath(), file.Name)
glog.V(3).Infof("Forget file %s", t)
file.wfs.fsNodeCache.DeleteFsNode(t)
}
func (file *File) maybeLoadEntry(ctx context.Context) error {