diff options
| author | N Balachandran <nbalacha@redhat.com> | 2019-02-12 13:58:54 +0530 |
|---|---|---|
| committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2019-02-18 14:45:30 +0000 |
| commit | 8d4b8e2644917ed25a9d9bef37803c4a2f7da84f (patch) | |
| tree | 84742556fd50587266489121616825d1025aedca /xlators/performance/write-behind/src/write-behind.c | |
| parent | 2026d246676679fba0970b1be9ae181afdcfbee6 (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#1677260
Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'xlators/performance/write-behind/src/write-behind.c')
0 files changed, 0 insertions, 0 deletions
