summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2018-09-21 12:11:40 +0530
committerAtin Mukherjee <amukherj@redhat.com>2018-09-22 13:23:59 +0000
commitf72f18b3bf7f9535827a059a5090476b3141723f (patch)
treee828a2b5d0827c78715384cbdbf9c2693624c7ef
parent9d8f5a34c1ff4ae512f80fe9651508ae201c273e (diff)
downloadglusterfs-f72f18b3bf7f9535827a059a5090476b3141723f.tar.gz
glusterfs-f72f18b3bf7f9535827a059a5090476b3141723f.tar.xz
glusterfs-f72f18b3bf7f9535827a059a5090476b3141723f.zip
glusterd: don't wait for blockers flag for stop volume
With commit 4f6ae8 even though the overall transaction time for gluster volume stop can be reduced, but based on testing it can't be guaranteed that the transaction can finish in 3 minutes before the unlock timer gets kicked in. The ground problem to this is the command serialization which atomic field 'blockers' does for volume stop operation. This patch removes that dependency for volume stop not to wait for blockers. Change-Id: Ifaf120115dc7ed21cf21e65e25c4ec7c61ab8258 Fixes: bz#1631128 Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-op-sm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
index ce44c4679b..2edaf6ff20 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -6046,7 +6046,6 @@ glusterd_op_commit_perform(glusterd_op_t op, dict_t *dict, char **op_errstr,
break;
case GD_OP_STOP_VOLUME:
- glusterd_wait_for_blockers(this->private);
ret = glusterd_op_stop_volume(dict);
break;