From d025d954a5c593ccb0838788e165c36cb3537b25 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 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 --- xlators/features/changetimerecorder/src/ctr-helper.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) /* -- cgit