summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2012-04-13 15:22:57 +0530
committerVijay Bellur <vijay@gluster.com>2012-04-16 11:21:50 -0700
commit42c06ba048d0bcb7093063bf99dfa3e520a038a5 (patch)
tree1292a8246b590520807533140e65157f3cc81144 /xlators/mgmt
parentc75a5d348f0d30b61bdc45e9e54d623957a6050f (diff)
glusterd/rebalance: Start process with xlator option client-pid -3
This would prevent updation of xtime by the marker. Signed-off-by: shishir gowda <shishirng@gluster.com> Change-Id: I11e287511026326271c2926e55993e48b32018f6 BUG: 812287 Reviewed-on: http://review.gluster.com/3144 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Mohammed Junaid <junaid@redhat.com> Reviewed-by: Csaba Henk <csaba@redhat.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/mgmt')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-rebalance.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-rebalance.c b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
index fddf6699f..9bee4ba20 100644
--- a/xlators/mgmt/glusterd/src/glusterd-rebalance.c
+++ b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
@@ -344,6 +344,8 @@ glusterd_handle_defrag_start (glusterd_volinfo_t *volinfo, char *op_errstr,
runner_argprintf (&runner, "%s",pidfile);
runner_add_arg (&runner, "-l");
runner_argprintf (&runner, logfile);
+ runner_add_arg (&runner, "--client-pid");
+ runner_argprintf (&runner, "%d", GF_CLIENT_PID_DEFRAG);
if (volinfo->memory_accounting)
runner_add_arg (&runner, "--mem-accounting");