From c0eec503b78949bd1785e5bf2533db211f3d256c Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Wed, 18 Apr 2012 12:16:51 +0530 Subject: glusterd/rebalance: Start process with xlator option client-pid -3 This would prevent updation of xtime by the marker. Set frame->root->pid while creating sync-task. Removing the command option, as it is in-effective Change-Id: Ifaa587df67a72ec0571c7d0043de8048e2be12a8 BUG: 812287 Signed-off-by: shishir gowda Reviewed-on: http://review.gluster.com/3180 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi Reviewed-by: Vijay Bellur --- xlators/cluster/dht/src/dht-rebalance.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators/cluster/dht') diff --git a/xlators/cluster/dht/src/dht-rebalance.c b/xlators/cluster/dht/src/dht-rebalance.c index 4c2b4a035e7..8b32b3f6942 100644 --- a/xlators/cluster/dht/src/dht-rebalance.c +++ b/xlators/cluster/dht/src/dht-rebalance.c @@ -1527,6 +1527,8 @@ gf_defrag_start (void *data) if (!frame) goto out; + frame->root->pid = GF_CLIENT_PID_DEFRAG; + defrag->pid = frame->root->pid; defrag->defrag_status = GF_DEFRAG_STATUS_STARTED; -- cgit