summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-rebalance.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/dht/src/dht-rebalance.c')
-rw-r--r--xlators/cluster/dht/src/dht-rebalance.c2
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;