[Bugs] [Bug 1355609] [granular entry sh] - Clean up (stale) directory indices in the event of an `rm -rf` and also in the normal flow while a brick is down

bugzilla at redhat.com bugzilla at redhat.com
Sat Jul 16 02:12:39 UTC 2016


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



--- Comment #8 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14921 committed in release-3.8 by Pranith
Kumar Karampuri (pkarampu at redhat.com) 
------
commit 8dccf7e222fa01c5e15a0ec1f0bc422abcde3779
Author: Krutika Dhananjay <kdhananj at redhat.com>
Date:   Thu Jul 7 14:33:20 2016 +0530

    features/index: Ignore regular files when examining state of the inode wrt
ENTRY_CHANGES

        Backport of: http://review.gluster.org/14870

    This prevents unnecessary sys_lstat() syscall when xattrop
    is operating on regular files.

    Also, to avoid (even) the one-time execution of sys_lstat()
    syscalls on disperse volumes or replicate volumes when granular
    entry self-heal is disabled, we pass a key in afr_selfheal_undo_pending()
    indicating to index that this xattrop is on a granular directory index.
    Index will accordingly decide whether or not to attempt the index state
    initialization.

    Change-Id: I86b69e83b6216c3371d997a4983d75d4be6a28b2
    BUG: 1355609
    Signed-off-by: Krutika Dhananjay <kdhananj at redhat.com>
    Reviewed-on: http://review.gluster.org/14921
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.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=irSts7DK1f&a=cc_unsubscribe


More information about the Bugs mailing list