btrfs: update message levels after checksum errors
The errors are worth noting and might get missed with INFO level. Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
This commit is contained in:

committed by
Chris Mason

parent
aa8ee31209
commit
f0954c6637
@@ -2945,7 +2945,7 @@ static int __readpage_endio_check(struct inode *inode,
|
||||
return 0;
|
||||
zeroit:
|
||||
if (__ratelimit(&_rs))
|
||||
btrfs_info(BTRFS_I(inode)->root->fs_info,
|
||||
btrfs_warn(BTRFS_I(inode)->root->fs_info,
|
||||
"csum failed ino %llu off %llu csum %u expected csum %u",
|
||||
btrfs_ino(inode), start, csum, csum_expected);
|
||||
memset(kaddr + pgoff, 1, len);
|
||||
|
Reference in New Issue
Block a user