[Bugs] [Bug 1245065] "rm -rf *" from multiple mount points fails to remove directories on all the subvolumes
bugzilla at redhat.com
bugzilla at redhat.com
Tue Apr 19 05:23:51 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1245065
--- Comment #33 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13816 committed in master by Raghavendra G
(rgowdapp at redhat.com)
------
commit 26d16b90ec7f8acbe07e56e8fe1baf9c9fa1519e
Author: Raghavendra G <rgowdapp at redhat.com>
Date: Wed Mar 23 13:47:27 2016 +0530
mount/fuse: report ESTALE as ENOENT
When the inode/gfid is missing, brick report back as an ESTALE
error. However, most of the applications don't accept ESTALE as an
error for a file-system object missing, changing their behaviour.
For eg., rm -rf ignores ENOENT errors during unlink of
files/directories. But with ESTALE error it doesn't send rmdir on a
directory if unlink had failed with ESTALE for any of the files or
directories within it.
Thanks to Ravishankar N <ravishankar at redhat.com>, here is a link as to
why we split up ENOENT into ESTALE and ENOENT.
http://review.gluster.org/#/c/6318/
Change-Id: I467df0fdf22734a8ef20c79ac52606410fad04d1
BUG: 1245065
Signed-off-by: Raghavendra G <rgowdapp at redhat.com>
Reviewed-on: http://review.gluster.org/13816
Smoke: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy at redhat.com>
Reviewed-by: N Balachandran <nbalacha at redhat.com>
Reviewed-by: Niels de Vos <ndevos at redhat.com>
Tested-by: N Balachandran <nbalacha at redhat.com>
CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=5ETeVVvrW1&a=cc_unsubscribe
More information about the Bugs
mailing list