mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-12-17 17:51:20 +08:00
move file reader, entryViewCache to file handle
reduce file object size
This commit is contained in:
@@ -111,7 +111,7 @@ func NewSeaweedFileSystem(option *Option) *WFS {
|
||||
if err := wfs.Server.InvalidateNodeData(file); err != nil {
|
||||
glog.V(4).Infof("InvalidateNodeData %s : %v", filePath, err)
|
||||
}
|
||||
file.clearEntry()
|
||||
file.entry = nil
|
||||
}
|
||||
}
|
||||
dir, name := filePath.DirAndName()
|
||||
|
||||
Reference in New Issue
Block a user