diff options
| author | chrislu <chris.lu@gmail.com> | 2022-07-22 18:17:34 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-07-22 18:17:34 -0700 |
| commit | 2c8818351f418e3584a6c5410c396f747aebd725 (patch) | |
| tree | 2a16bf3e03826577e5cceae45df28f4d72676d68 | |
| parent | a5c94acd4f5f4ee64b583a6b3d73a0829172f977 (diff) | |
| download | seaweedfs-2c8818351f418e3584a6c5410c396f747aebd725.tar.xz seaweedfs-2c8818351f418e3584a6c5410c396f747aebd725.zip | |
mount: comment out stuck fuse inode notify during renaming
| -rw-r--r-- | weed/mount/weedfs_rename.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/mount/weedfs_rename.go b/weed/mount/weedfs_rename.go index 538cfead7..eae86270f 100644 --- a/weed/mount/weedfs_rename.go +++ b/weed/mount/weedfs_rename.go @@ -239,11 +239,11 @@ func (wfs *WFS) handleRenameResponse(ctx context.Context, resp *filer_pb.StreamR fh.entry.Name = newName } // invalidate attr and data - wfs.fuseServer.InodeNotify(sourceInode, 0, -1) + // wfs.fuseServer.InodeNotify(sourceInode, 0, -1) } if targetInode != 0 { // invalidate attr and data - wfs.fuseServer.InodeNotify(targetInode, 0, -1) + // wfs.fuseServer.InodeNotify(targetInode, 0, -1) } } else if resp.EventNotification.OldEntry != nil { |
