From 2c8818351f418e3584a6c5410c396f747aebd725 Mon Sep 17 00:00:00 2001 From: chrislu Date: Fri, 22 Jul 2022 18:17:34 -0700 Subject: [PATCH] mount: comment out stuck fuse inode notify during renaming --- weed/mount/weedfs_rename.go | 4 ++-- 1 file 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 {