[Bugs] [Bug 1257894] "rm -rf *" from multiple mount points fails to remove directories on all the subvolumes

bugzilla at redhat.com bugzilla at redhat.com
Thu Apr 21 02:56:24 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1257894



--- Comment #7 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14027 committed in release-3.7 by Raghavendra
G (rgowdapp at redhat.com) 
------
commit adc8aeb16cdee8d2f58aa8f2fce1dd637f264e51
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.

    BUG: 1257894
    Change-Id: I5e56bc0c53f52179940b4691acf6b3db853965df
    Signed-off-by: Raghavendra G <rgowdapp at redhat.com>
    Reviewed-on: http://review.gluster.org/14027
    Tested-by: N Balachandran <nbalacha at redhat.com>
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: N Balachandran <nbalacha at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>

-- 
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=zDBlEaK1By&a=cc_unsubscribe


More information about the Bugs mailing list