summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/src
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/features/marker/src
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/features/marker/src')
-rw-r--r--xlators/features/marker/src/marker.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/features/marker/src/marker.c b/xlators/features/marker/src/marker.c
index 4f143f5efdb..567e9467c28 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);