diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2014-12-16 12:34:19 +0530 |
---|---|---|
committer | Kaushal M <kaushal@redhat.com> | 2014-12-18 21:45:32 -0800 |
commit | 8484a88364b97ce3bc882db0f2da29633c03c1a5 (patch) | |
tree | d0ed421c96ae129ae2ac3be9aa9256dc4f050fff /xlators/mgmt/glusterd/src | |
parent | bb1517ed540857cc933c6d111b613bc1db0273c6 (diff) |
mgmt/glusterd: do not restart nfs server when snapshot is deactivated
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>
Diffstat (limited to 'xlators/mgmt/glusterd/src')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-utils.c | 3 |
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 594e8bfa70c..406d9136c61 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.c +++ b/xlators/mgmt/glusterd/src/glusterd-utils.c @@ -6737,6 +6737,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; |