diff options
author | shishir gowda <shishirng@gluster.com> | 2012-04-18 12:16:51 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-04-18 09:30:41 -0700 |
commit | c0eec503b78949bd1785e5bf2533db211f3d256c (patch) | |
tree | f63f119b8e2c78eca003fb92fd50a025167e3ded /xlators/cluster | |
parent | 7522df3b98467c2ddfb9cc12f5c807d4408267cc (diff) |
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 <shishirng@gluster.com>
Reviewed-on: http://review.gluster.com/3180
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/cluster')
-rw-r--r-- | xlators/cluster/dht/src/dht-rebalance.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |