summaryrefslogtreecommitdiffstats
path: root/xlators/features/bit-rot/src/bitd/bit-rot-scrub-status.c
diff options
context:
space:
mode:
authorKotresh HR <khiremat@redhat.com>2016-07-14 12:30:12 +0530
committerVijay Bellur <vbellur@redhat.com>2016-07-19 07:41:09 -0700
commit1929141da34d36f537e9798e3618e0e3bdc61eb6 (patch)
treec15cacfc8c6f6ed6cf541374ac037b0bd07bdc32 /xlators/features/bit-rot/src/bitd/bit-rot-scrub-status.c
parentd90307c1b0245e0e6a39044a28819cde520a100c (diff)
feature/bitrot: Fix scrub status with sharded volume
Bitrot scrubs each shard entries separately. Scrub statistics was counting each shard entry which is incorrect. This patch skips the statistics count for sharded entries. Change-Id: I184c315a4bc7f2cccabc506eef083ee926ec26d3 BUG: 1356851 Signed-off-by: Kotresh HR <khiremat@redhat.com> Reviewed-on: http://review.gluster.org/14927 Smoke: Gluster Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Jeff Darcy <jdarcy@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/features/bit-rot/src/bitd/bit-rot-scrub-status.c')
0 files changed, 0 insertions, 0 deletions