tier/ctr: ignoring bitrot scrubber fops
authorJoseph Fernandes <josferna@redhat.com>
Mon, 9 Nov 2015 15:06:11 +0000 (20:36 +0530)
committerDan Lambright <dlambrig@redhat.com>
Wed, 11 Nov 2015 01:46:10 +0000 (17:46 -0800)
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>
xlators/features/changetimerecorder/src/ctr-helper.h

index 1cdf3200cf34196a334c8de5f9d57217c34fe32d..5599bdd428b58421109ebdc7b5356ab4665df655 100644 (file)
@@ -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)
 
 
 /*