diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2014-10-31 12:51:15 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-10-31 06:09:28 -0700 |
commit | e80bfe76b89ae3f40b3258a4ac388f18a0b53034 (patch) | |
tree | 1bbe952b21300b13cc4c0f4f48706a18d3188bd8 /extras/Ubuntu | |
parent | c2326236e9bac86abe1131d34b018c7d5a87813f (diff) |
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@redhat.com>
Reviewed-on: http://review.gluster.org/9030
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Tested-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'extras/Ubuntu')
0 files changed, 0 insertions, 0 deletions