path: root/xlators/features/bit-rot
diff options
authorGaurav Kumar Garg <>2015-08-20 16:12:53 +0530
committerRaghavendra Bhat <>2015-08-21 02:39:22 -0700
commit7322e6c5b405a754fea1e0eeddf8e66da1bdd326 (patch)
tree88cb305d84030b908653d369a16d9152a2bd9886 /xlators/features/bit-rot
parent3becc47609e04f9bfd482810ef450bd1a8703fd7 (diff)
bitrot: Scrubber log should mark bad file as a ALERT in the scrubber log
If bad file detected by scrubber then scrubber should log that bad file as a ALERT message in scrubber log. Change-Id: I410429e78fd3768655230ac028fa66f7fc24b938 BUG: 1255605 Signed-off-by: Gaurav Kumar Garg <> Reviewed-on: Reviewed-by: Raghavendra Bhat <> Tested-by: NetBSD Build System <> (cherry picked from commit 6cb73b4fe798b7bf3aface0aac2a4e6c7c618c0e) Reviewed-on: Tested-by: Gluster Build System <>
Diffstat (limited to 'xlators/features/bit-rot')
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c b/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c
index 3a038ce..2fb5caa 100644
--- a/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c
+++ b/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c
@@ -243,8 +243,8 @@ bitd_compare_ckum (xlator_t *this,
goto dictfree;
- gf_msg (this->name, GF_LOG_INFO, 0, BRB_MSG_MARK_CORRUPTED, "Marking %s"
- " [GFID: %s | Brick: %s] as corrupted..", loc->path,
+ gf_msg (this->name, GF_LOG_ALERT, 0, BRB_MSG_MARK_CORRUPTED, "Marking"
+ " %s [GFID: %s | Brick: %s] as corrupted..", loc->path,
uuid_utoa (linked_inode->gfid), child->brick_path);
ret = syncop_fsetxattr (child->xl, fd, xattr, 0, NULL, NULL);
if (ret)