From 42c06ba048d0bcb7093063bf99dfa3e520a038a5 Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Fri, 13 Apr 2012 15:22:57 +0530 Subject: glusterd/rebalance: Start process with xlator option client-pid -3 This would prevent updation of xtime by the marker. Signed-off-by: shishir gowda Change-Id: I11e287511026326271c2926e55993e48b32018f6 BUG: 812287 Reviewed-on: http://review.gluster.com/3144 Tested-by: Gluster Build System Reviewed-by: Mohammed Junaid Reviewed-by: Csaba Henk Reviewed-by: Vijay Bellur --- xlators/features/marker/src/marker.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xlators/features/marker/src/marker.c') diff --git a/xlators/features/marker/src/marker.c b/xlators/features/marker/src/marker.c index 4f143f5ef..567e9467c 100644 --- a/xlators/features/marker/src/marker.c +++ b/xlators/features/marker/src/marker.c @@ -462,7 +462,8 @@ marker_xtime_update_marks (xlator_t *this, marker_local_t *local) GF_VALIDATE_OR_GOTO ("marker", this, out); GF_VALIDATE_OR_GOTO (this->name, local, out); - if (local->pid == GF_CLIENT_PID_GSYNCD) + if ((local->pid == GF_CLIENT_PID_GSYNCD) || + (local->pid == GF_CLIENT_PID_DEFRAG)) goto out; marker_gettimeofday (local); -- cgit