summaryrefslogtreecommitdiffstats
path: root/cli/src
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2014-10-31 12:51:15 +0530
committerVijay Bellur <vbellur@redhat.com>2014-10-31 05:59:34 -0700
commit927b9f3f48777dcb9e968f6b1bb3d5d450a8b7bc (patch)
tree8e38df79b5787204750c8dcf5df1a124e650dd9b /cli/src
parent756949556b3ceb2279f09962ab5789960de86bd3 (diff)
cluster/afr: Perform post-op in entry selfheal inside locks
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: Ie083ceab10155c460447f04bdce7688480f1ac4f BUG: 1128721 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/9020 Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'cli/src')
0 files changed, 0 insertions, 0 deletions