SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
adjust log level
Chris Lu6ee8d952d241
diff --git a/weed/filesys/dir.go b/weed/filesys/dir.goindex 7d099c3950..0bfb009f01 100644--- a/weed/filesys/dir.go+++ b/weed/filesys/dir.go@@ -63,7 +63,7 @@ func (dir *Dir) Attr(ctx context.Context, attr *fuse.Attr) error {attr.Gid = dir.entry.Attributes.Gidattr.Uid = dir.entry.Attributes.Uid- glog.V(4).Infof("dir Attr %s, attr: %+v", dir.FullPath(), attr)+ glog.V(5).Infof("dir Attr %s, attr: %+v", dir.FullPath(), attr)return nil}@@ -430,7 +430,7 @@ func (dir *Dir) Listxattr(ctx context.Context, req *fuse.ListxattrRequest, resp}func (dir *Dir) Forget() {- glog.V(4).Infof("Forget dir %s", dir.FullPath())+ glog.V(5).Infof("Forget dir %s", dir.FullPath())dir.wfs.fsNodeCache.DeleteFsNode(util.FullPath(dir.FullPath()))}diff --git a/weed/filesys/file.go b/weed/filesys/file.goindex 519e12c592..b6242c7741 100644--- a/weed/filesys/file.go+++ b/weed/filesys/file.go@@ -232,7 +232,7 @@ 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(4).Infof("Forget file %s", t)+ glog.V(5).Infof("Forget file %s", t)file.wfs.fsNodeCache.DeleteFsNode(t)}