diff options
author | Venky Shankar <vshankar@redhat.com> | 2015-07-06 14:47:58 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2015-07-10 02:29:01 -0700 |
commit | bcd89d50866080ebd5e4a1af4c3fe64832910f36 (patch) | |
tree | 80f6eb0a0453e46dc8c2cfad8fad167c3581e725 /xlators/features/bit-rot/src/bitd | |
parent | c2cd3aeb0d88117f0929a733e9b05aa3e4d392ac (diff) |
features/bitrot: Scrub log improvement
Change-Id: I4937a578185ebacd2558cb8e22f130cd10193188
BUG: 1240219
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Reviewed-on: http://review.gluster.org/11547
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'xlators/features/bit-rot/src/bitd')
-rw-r--r-- | xlators/features/bit-rot/src/bitd/bit-rot-scrub.c | 5 |
1 files changed, 4 insertions, 1 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 15cb916dcb3..b0de93881c2 100644 --- a/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c +++ b/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c @@ -218,9 +218,12 @@ bitd_compare_ckum (xlator_t *this, return 0; } - gf_msg (this->name, GF_LOG_ALERT, 0, BRB_MSG_CHECKSUM_MISMATCH, + gf_msg (this->name, GF_LOG_DEBUG, 0, BRB_MSG_CHECKSUM_MISMATCH, "Object checksum mismatch: %s [GFID: %s | Brick: %s]", loc->path, uuid_utoa (linked_inode->gfid), child->brick_path); + gf_msg (this->name, GF_LOG_ALERT, 0, BRB_MSG_CHECKSUM_MISMATCH, + "CORRUPTION DETECTED: Object %s {Brick: %s | GFID: %s}", + loc->path, child->brick_path, uuid_utoa (linked_inode->gfid)); /* Perform bad-file marking */ xattr = dict_new (); |