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
remove file handle locking for setattr
Chris Lucc3447501265
diff --git a/weed/filesys/file.go b/weed/filesys/file.goindex 8a5b619acb..c50ac0549d 100644--- a/weed/filesys/file.go+++ b/weed/filesys/file.go@@ -115,16 +115,6 @@ func (file *File) Setattr(ctx context.Context, req *fuse.SetattrRequest, resp *fif err != nil {return err}- if file.isOpen > 0 {- file.wfs.handlesLock.Lock()- fh := file.wfs.handles[file.Id()]- file.wfs.handlesLock.Unlock()-- if fh != nil {- fh.Lock()- defer fh.Unlock()- }- }if req.Valid.Size() {