[Bugs] [Bug 1136821] Open fails with ENOENT while renames/readdirs are in progress

bugzilla at redhat.com bugzilla at redhat.com
Fri Oct 31 13:09:32 UTC 2014


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



--- Comment #5 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9030 committed in release-3.6 by Vijay Bellur
(vbellur at redhat.com) 
------
commit e80bfe76b89ae3f40b3258a4ac388f18a0b53034
Author: Krutika Dhananjay <kdhananj at redhat.com>
Date:   Fri Oct 31 12:51:15 2014 +0530

    cluster/afr: Perform post-op in entry selfheal inside locks

            Backport of: http://review.gluster.org/#/c/9020

    Take entrylks in xlator domain before doing post-op (undo-pending) in
    entry self-heal. This is to prevent a parallel name self-heal on
    an entry under @fd->inode from reading pending xattrs while it is
    being modified by SHD after entry sh below, given that
    name self-heal takes locks ONLY in xlator domain and is free to read
    pending changelog in the absence of the following locking.

    Change-Id: I0bc92978efc0741d6e3f2439540d008e31472313
    BUG: 1136821
    Signed-off-by: Krutika Dhananjay <kdhananj at redhat.com>
    Reviewed-on: http://review.gluster.org/9030
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    Tested-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>
    Tested-by: Vijay Bellur <vbellur 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=32t2c6XC55&a=cc_unsubscribe


More information about the Bugs mailing list