aboutsummaryrefslogtreecommitdiff
path: root/weed/filesys/dir.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-04-12 00:52:54 -0700
committerChris Lu <chris.lu@gmail.com>2020-04-12 00:52:54 -0700
commit211d87cf4c6afed1704733654ad3944bf40dd2bd (patch)
tree4c7cd8770ea76a65969e53a25c65e8593d7dd1bc /weed/filesys/dir.go
parent1c65656fb4a64ae739b9a23a2f97f4032182015c (diff)
downloadseaweedfs-211d87cf4c6afed1704733654ad3944bf40dd2bd.tar.xz
seaweedfs-211d87cf4c6afed1704733654ad3944bf40dd2bd.zip
mount: option to disable caching
Diffstat (limited to 'weed/filesys/dir.go')
-rw-r--r--weed/filesys/dir.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/filesys/dir.go b/weed/filesys/dir.go
index c892b4f91..46e8aebb4 100644
--- a/weed/filesys/dir.go
+++ b/weed/filesys/dir.go
@@ -58,7 +58,7 @@ func (dir *Dir) Attr(ctx context.Context, attr *fuse.Attr) error {
attr.Gid = dir.entry.Attributes.Gid
attr.Uid = dir.entry.Attributes.Uid
- glog.V(3).Infof("dir Attr %s, attr: %+v", dir.FullPath(), attr)
+ glog.V(4).Infof("dir Attr %s, attr: %+v", dir.FullPath(), attr)
return nil
}
@@ -200,7 +200,7 @@ func (dir *Dir) Mkdir(ctx context.Context, req *fuse.MkdirRequest) (fs.Node, err
func (dir *Dir) Lookup(ctx context.Context, req *fuse.LookupRequest, resp *fuse.LookupResponse) (node fs.Node, err error) {
- glog.V(4).Infof("dir Lookup %s: %s", dir.FullPath(), req.Name)
+ glog.V(4).Infof("dir Lookup %s: %s by %s", dir.FullPath(), req.Name, req.Header.String())
fullFilePath := util.NewFullPath(dir.FullPath(), req.Name)
entry := dir.wfs.cacheGet(fullFilePath)