From 000a4f1c12c2377e174f2a163ebd6c29698007d0 Mon Sep 17 00:00:00 2001 From: Joseph Fernandes Date: Mon, 9 Nov 2015 20:36:11 +0530 Subject: 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 > Reviewed-on: http://review.gluster.org/12555 > Tested-by: Gluster Build System > Reviewed-by: Venky Shankar > Reviewed-by: Dan Lambright > Tested-by: Dan Lambright Change-Id: I30384e970531d2f23d32a512ac2986ca6661af7c BUG: 1278640 Signed-off-by: Joseph Fernandes Reviewed-on: http://review.gluster.org/12568 Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: Dan Lambright Tested-by: Dan Lambright --- xlators/features/changetimerecorder/src/ctr-helper.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xlators/features/changetimerecorder') 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) /* -- cgit