From 1d50088062f893424f8e63ae8f7786a97494f21b Mon Sep 17 00:00:00 2001 From: Gaurav Kumar Garg Date: Tue, 14 Jul 2015 14:01:14 +0530 Subject: glusterd: Pass NULL in glusterd_svc_manager in glusterd_restart_bricks On restarting glusterd quota daemon is not started when more than one volumes are configured and quota is enabled only on 2nd volume. This is because of while restarting glusterd it will restart all the bricks. During brick restart it will start respective daemon by passing volinfo of first volume. Passing volinfo to glusterd_svc_manager will imply daemon managers will take action based on the same volume's configuration which is incorrect for per node daemons. Fix is to pass volinfo NULL while restarting bricks. Change-Id: I2602002a8ba7762fc1eb08123e79fbcf568ecab4 BUG: 1242875 Signed-off-by: Gaurav Kumar Garg Reviewed-on: http://review.gluster.org/11658 Reviewed-by: Atin Mukherjee Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: Krishnan Parthasarathi --- tests/volume.rc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/volume.rc') diff --git a/tests/volume.rc b/tests/volume.rc index 4bbaf108cd1..4217c284345 100644 --- a/tests/volume.rc +++ b/tests/volume.rc @@ -543,6 +543,9 @@ function get_scrubd_count { ps auxww | grep glusterfs | grep scrub.pid | grep -v grep | wc -l } +function get_quotad_count { + ps auxww | grep glusterfs | grep quotad.pid | grep -v grep | wc -l +} function drop_cache() { case $OSTYPE in -- cgit