summaryrefslogtreecommitdiffstats
path: root/contrib/fuse-lib/mount-common.c
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2015-05-13 16:57:49 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2015-05-15 01:24:51 -0700
commit503acdb32ca84102d07cd1142eff464152b06690 (patch)
tree8f4165f54a99a88a90998c5f6f843c0af269d644 /contrib/fuse-lib/mount-common.c
parent1cabc769c7b636f89f6f28aaa0d534401a82d4a8 (diff)
cluster/ec: Prevent unnecessary self-heals
When a blocking lock is requested, lock request is succeeded even when ec->fragment number of locks are acquired successfully in non-blocking locking phase. This will lead to fop succeeding only on the bricks where the locks are acquired, leading to the necessity of self-heals. To prevent these un-necessary self-heals, if the remaining locks fail with EAGAIN in non-blocking lock phase try blocking locking phase instead. Change-Id: I940969e39acc620ccde2a876546cea77f7e130b6 BUG: 1221145 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/10770 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Xavier Hernandez <xhernandez@datalab.es>
Diffstat (limited to 'contrib/fuse-lib/mount-common.c')
0 files changed, 0 insertions, 0 deletions