mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
adjust logging
This commit is contained in:
parent
6b48d246a5
commit
66ded8804a
|
@ -246,7 +246,6 @@ func (dir *Dir) ReadDirAll(ctx context.Context) (ret []fuse.Dirent, err error) {
|
||||||
dirent := fuse.Dirent{Inode: inode, Name: entry.Name, Type: fuse.DT_File}
|
dirent := fuse.Dirent{Inode: inode, Name: entry.Name, Type: fuse.DT_File}
|
||||||
ret = append(ret, dirent)
|
ret = append(ret, dirent)
|
||||||
}
|
}
|
||||||
glog.V(4).Infof("dir ReadDirAll : %s %+v", fullpath, entry)
|
|
||||||
dir.wfs.cacheSet(fullpath, entry, cacheTtl)
|
dir.wfs.cacheSet(fullpath, entry, cacheTtl)
|
||||||
})
|
})
|
||||||
if readErr != nil {
|
if readErr != nil {
|
||||||
|
|
|
@ -68,7 +68,7 @@ func (file *File) Attr(ctx context.Context, attr *fuse.Attr) error {
|
||||||
|
|
||||||
func (file *File) Getxattr(ctx context.Context, req *fuse.GetxattrRequest, resp *fuse.GetxattrResponse) error {
|
func (file *File) Getxattr(ctx context.Context, req *fuse.GetxattrRequest, resp *fuse.GetxattrResponse) error {
|
||||||
|
|
||||||
glog.V(4).Infof("file Getxattr %s", file.fullpath())
|
// glog.V(4).Infof("file Getxattr %s", file.fullpath())
|
||||||
|
|
||||||
if err := file.maybeLoadEntry(ctx); err != nil {
|
if err := file.maybeLoadEntry(ctx); err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in a new issue