diff options
author | Gaurav Kumar Garg <ggarg@redhat.com> | 2015-07-02 18:23:51 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2015-08-24 22:18:55 -0700 |
commit | 8e0bf30dc40fed45078c702dec750b5e8bbf5734 (patch) | |
tree | 9ea9881af268472cb62bc548a1fb07108fde2b00 /tests/volume.rc | |
parent | d5e03b7f02f68b3a9aaccf586e1f6ed901224ba7 (diff) |
glusterd: stop all the daemons services on peer detach
Currently glusterd is not stopping all the deamon service on peer detach
With this fix it will do peer detach cleanup properlly and will stop all
the daemon which was running before peer detach on the node.
Change-Id: Ifed403ed09187e84f2a60bf63135156ad1f15775
BUG: 1255386
Signed-off-by: Gaurav Kumar Garg <ggarg@redhat.com>
Reviewed-on: http://review.gluster.org/11509
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'tests/volume.rc')
-rw-r--r-- | tests/volume.rc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/volume.rc b/tests/volume.rc index e397f093a13..a100bde55ae 100644 --- a/tests/volume.rc +++ b/tests/volume.rc @@ -547,6 +547,14 @@ function get_quotad_count { ps auxww | grep glusterfs | grep quotad.pid | grep -v grep | wc -l } +function get_nfs_count { + ps auxww | grep glusterfs | grep nfs.pid | grep -v grep | wc -l +} + +function get_snapd_count { + ps auxww | grep glusterfs | grep snapd.pid | grep -v grep | wc -l +} + function drop_cache() { case $OSTYPE in Linux) @@ -601,12 +609,4 @@ function quota_hl_exceeded() } -function get_nfs_count { - ps auxww | grep glusterfs | grep nfs.pid | grep -v grep | wc -l -} - -function get_snapd_count { - ps auxww | grep glusterfs | grep snapd.pid | grep -v grep | wc -l -} - |