glusterd/bitrot : Integration of bad files from bitd with scrub status command
authorGaurav Kumar Garg <garg.gaurav52@gmail.com>
Mon, 23 Nov 2015 11:30:07 +0000 (17:00 +0530)
committerAtin Mukherjee <amukherj@redhat.com>
Tue, 24 Nov 2015 06:25:47 +0000 (22:25 -0800)
commit4348a6af89085cbdb41963f828b88deee4a109f1
tree0c50f31509a765df4b18d46c21c139c2ac30736f
parentc93e436527e9d2ceed46b939e18edc40b7018cee
glusterd/bitrot : Integration of bad files from bitd with scrub status command

Currently scrub status command is not displaying list of all the bad files. All
the bad files are avaliable in the bitd daemon.

With this patch it will dispaly list of all the bad file's in the scrub
status command.

Change-Id: If09babafaf5d7cf158fa79119abbf5b986027748
BUG: 1207627
Signed-off-by: Gaurav Kumar Garg <ggarg@redhat.com>
Reviewed-on: http://review.gluster.org/12720
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
cli/src/cli-cmd-parser.c
cli/src/cli-rpc-ops.c
tests/bitrot/bug-1207627-bitrot-scrub-status.t [new file with mode: 0644]
tests/volume.rc
xlators/features/bit-rot/src/bitd/bit-rot-scrub.h
xlators/features/bit-rot/src/bitd/bit-rot.c
xlators/mgmt/glusterd/src/glusterd-utils.c