summaryrefslogtreecommitdiffstats
path: root/xlators/features
diff options
context:
space:
mode:
authorJoseph Fernandes <josferna@redhat.com>2015-11-09 20:36:11 +0530
committerDan Lambright <dlambrig@redhat.com>2015-11-10 17:46:10 -0800
commitd025d954a5c593ccb0838788e165c36cb3537b25 (patch)
tree01e174f5c1a64d8767bb77f36045e12b287d1f16 /xlators/features
parenta02cb725c7fd0d8fbc94d7d815fdf5494815ac93 (diff)
tier/ctr: ignoring bitrot scrubber fops
We had missed adding GF_CLIENT_PID_SCRUB to the internal fops list of bitrot. Doing that in this fix Change-Id: I0c7de37e2bf625fb577a32a599a885ee95f5d3bd BUG: 1278326 Signed-off-by: Joseph Fernandes <josferna@redhat.com> Reviewed-on: http://review.gluster.org/12555 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Venky Shankar <vshankar@redhat.com> Reviewed-by: Dan Lambright <dlambrig@redhat.com> Tested-by: Dan Lambright <dlambrig@redhat.com>
Diffstat (limited to 'xlators/features')
-rw-r--r--xlators/features/changetimerecorder/src/ctr-helper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/features/changetimerecorder/src/ctr-helper.h b/xlators/features/changetimerecorder/src/ctr-helper.h
index 1cdf3200cf3..5599bdd428b 100644
--- a/xlators/features/changetimerecorder/src/ctr-helper.h
+++ b/xlators/features/changetimerecorder/src/ctr-helper.h
@@ -255,7 +255,8 @@ do {\
* If a bitrot fop
* */
#define BITROT_FOP(frame)\
- (frame->root->pid == GF_CLIENT_PID_BITD)
+ (frame->root->pid == GF_CLIENT_PID_BITD ||\
+ frame->root->pid == GF_CLIENT_PID_SCRUB)
/*