aboutsummaryrefslogtreecommitdiff
path: root/weed/filesys/xattr.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-04-21 18:02:08 -0700
committerChris Lu <chris.lu@gmail.com>2020-04-21 18:02:08 -0700
commitb8e4238ad29a60b37a3983a9968e325dd6849103 (patch)
treef86c397acbd34c2daf82bbe9fba9b4b4ab8fe69c /weed/filesys/xattr.go
parent27128c78751990de93459035afb6b9c9bd3ed16c (diff)
downloadseaweedfs-b8e4238ad29a60b37a3983a9968e325dd6849103.tar.xz
seaweedfs-b8e4238ad29a60b37a3983a9968e325dd6849103.zip
add placeholder for cached meta data reading
Diffstat (limited to 'weed/filesys/xattr.go')
-rw-r--r--weed/filesys/xattr.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/filesys/xattr.go b/weed/filesys/xattr.go
index a9848fbe7..1768c1d6e 100644
--- a/weed/filesys/xattr.go
+++ b/weed/filesys/xattr.go
@@ -114,6 +114,10 @@ func (wfs *WFS) maybeLoadEntry(dir, name string) (entry *filer_pb.Entry, err err
}
// glog.V(3).Infof("read entry cache miss %s", fullpath)
+ if wfs.option.AsyncMetaDataCaching {
+
+ }
+
err = wfs.WithFilerClient(func(client filer_pb.SeaweedFilerClient) error {
request := &filer_pb.LookupDirectoryEntryRequest{