diff options
author | N Balachandran <nbalacha@redhat.com> | 2019-02-12 13:58:54 +0530 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2019-04-08 14:06:17 +0000 |
commit | 28bf5c049df5ccf117a049fcf44a388ebee73d26 (patch) | |
tree | 3899d9258e9046333481a3f8881bca4c742756e7 /xlators/protocol/client/src | |
parent | 9ac49f82209bb7ec253ff30934d0a77f37f9e889 (diff) |
cluster/dht: Fix lookup selfheal and rmdir race
A race between the lookup selfheal and rmdir can cause
directories to be healed only on non-hashed subvols.
This can prevent the directory from being listed from
the mount point and in turn causes rm -rf to fail with
ENOTEMPTY.
Fix: Update the layout information correctly and reduce
the call count only after processing the response.
Change-Id: I812779aaf3d7bcf24aab1cb158cb6ed50d212451
fixes: bz#1695403
Signed-off-by: N Balachandran <nbalacha@redhat.com>
(cherry picked from commit b0f1d782fc45313fce4e1c0e74127401d5342d05)
Diffstat (limited to 'xlators/protocol/client/src')
0 files changed, 0 insertions, 0 deletions