summaryrefslogtreecommitdiffstats
path: root/xlators/features/changetimerecorder
diff options
context:
space:
mode:
authorJoseph Fernandes <josferna@redhat.com>2015-11-09 20:36:11 +0530
committerDan Lambright <dlambrig@redhat.com>2015-11-11 06:19:45 -0800
commit000a4f1c12c2377e174f2a163ebd6c29698007d0 (patch)
tree1ab9f597e0618c0e73ce3106b7c21569fe9f1946 /xlators/features/changetimerecorder
parent06b888bbeac61aa1234b43e398431529988c28b6 (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 backport of http://review.gluster.org/#/c/12555/ > 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> Change-Id: I30384e970531d2f23d32a512ac2986ca6661af7c BUG: 1278640 Signed-off-by: Joseph Fernandes <josferna@redhat.com> Reviewed-on: http://review.gluster.org/12568 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Dan Lambright <dlambrig@redhat.com> Tested-by: Dan Lambright <dlambrig@redhat.com>
Diffstat (limited to 'xlators/features/changetimerecorder')
-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 e833c872881..bee143293b3 100644
--- a/xlators/features/changetimerecorder/src/ctr-helper.h
+++ b/xlators/features/changetimerecorder/src/ctr-helper.h
@@ -260,7 +260,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)
/*