diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2016-12-01 09:42:19 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2016-12-06 22:47:40 -0800 |
commit | a7d7ed90c9272a42168a91f92754d3a4be605da5 (patch) | |
tree | e9416ea05af8da3473bb77921f2aeacff1d04f62 /tools | |
parent | 622787887735d9157feac6cc57745251baca7b78 (diff) |
cluster/afr: Serialize conflicting locks on all subvols
Problem:
1) When a blocking lock is issued and the parallel lock phase fails
on all subvolumes with EAGAIN, it is not switching to serialized
locking phase.
2) When quorum is enabled and locks fail partially it is better
to give errno returned by brick rather than the default
quorum errno.
Fix:
Handled this error case and changed op_errno to reflect the actual
errno in case of quorum error.
BUG: 1369077
Change-Id: Ifac2e4a13686e9fde601873012700966d56a7f31
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/15984
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Ravishankar N <ravishankar@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions