aboutsummaryrefslogtreecommitdiff
path: root/weed/mount/filehandle.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-12-05 20:20:44 -0800
committerchrislu <chris.lu@gmail.com>2022-12-05 20:20:44 -0800
commit4f15a52044fbbc664b0c49ca6eb3ac512c93e331 (patch)
tree32f17c5df1beab8ea2ea21b2e3d4f508a855875d /weed/mount/filehandle.go
parentdac9c28d05cd61402cf5fbac42507b49b5a4f7a5 (diff)
downloadseaweedfs-4f15a52044fbbc664b0c49ca6eb3ac512c93e331.tar.xz
seaweedfs-4f15a52044fbbc664b0c49ca6eb3ac512c93e331.zip
temp disable lockingorigin/testing
Diffstat (limited to 'weed/mount/filehandle.go')
-rw-r--r--weed/mount/filehandle.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/mount/filehandle.go b/weed/mount/filehandle.go
index b6ec3d2da..b7c0ca255 100644
--- a/weed/mount/filehandle.go
+++ b/weed/mount/filehandle.go
@@ -71,8 +71,8 @@ func (fh *FileHandle) UpdateEntry(fn func(entry *filer_pb.Entry)) *filer_pb.Entr
}
func (fh *FileHandle) AddChunks(chunks []*filer_pb.FileChunk) {
- fh.entryLock.Lock()
- defer fh.entryLock.Unlock()
+ //fh.entryLock.Lock()
+ //defer fh.entryLock.Unlock()
if fh.entry == nil {
return