path: root/xlators/debug/error-gen/src/error-gen.c
diff options
authorN Balachandran <>2017-04-17 15:21:20 +0530
committerRaghavendra G <>2017-04-21 01:49:41 -0400
commite5f9ba138571bd18226462c49ff6a55f5c3ed3a4 (patch)
treeaf1e04f55a51082d5b27e7851648553073a7aff0 /xlators/debug/error-gen/src/error-gen.c
parent799a2ff8299db6d6dc75f1533f4bd5a3bb72164d (diff)
cluster/dht: rm -rf fails if dir has stale linkto files
rm -rf <dir> fails with ENOENT if dir contains a lot of stale linkto files. This is because a single readdirp is sent as part of the rmdir which would return and delete only as many linkto files on the bricks as would fit in one readdirp buffer. Running rm -rf <dir> multiple times will eventually delete all the files. The fix sends readdirp on each subvol until no more entries are returned. Change-Id: I447f2d193de4bd8ac16e4541c6b919d22250e39e BUG: 1442724 Signed-off-by: N Balachandran <> Reviewed-on: Smoke: Gluster Build System <> NetBSD-regression: NetBSD Build System <> CentOS-regression: Gluster Build System <> Reviewed-by: Raghavendra G <>
Diffstat (limited to 'xlators/debug/error-gen/src/error-gen.c')
0 files changed, 0 insertions, 0 deletions