summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendra@redhat.com>2014-12-16 12:34:19 +0530
committerRaghavendra Bhat <raghavendra@redhat.com>2015-01-09 01:35:02 -0800
commit443cda365ccc92597180dac59900dd5fbda43593 (patch)
treeb0ceff32e5b5721fc5c66b8dbe2bc9bf521cc15f /xlators
parent610d3cb22c6da822807dcf4fd1224d44f3f1f2e7 (diff)
mgmt/glusterd: do not restart nfs server when snapshot is deactivatedv3.6.2beta2
> Change-Id: Ie5eaa2beb4446640b22873f91e17da90d1cd8fad > BUG: 1174625 > Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com> > Reviewed-on: http://review.gluster.org/9280 > Tested-by: Gluster Build System <jenkins@build.gluster.com> > Reviewed-by: Kaushal M <kaushal@redhat.com> > Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com> Change-Id: Ic5049f919fb444b45b3372a3b486183ed46d60f8 BUG: 1180404 Reviewed-on: http://review.gluster.org/9425 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaushal M <kaushal@redhat.com> Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index 0589704bc48..16bf424ae51 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -6720,6 +6720,9 @@ glusterd_nodesvcs_handle_graph_change (glusterd_volinfo_t *volinfo)
int (*nfs_op) () = NULL;
int (*qd_op) () = NULL;
+ if (volinfo && volinfo->is_snap_volume)
+ return 0;
+
shd_op = glusterd_check_generate_start_shd;
nfs_op = glusterd_check_generate_start_nfs;
qd_op = glusterd_check_generate_start_quotad;