summaryrefslogtreecommitdiff
path: root/fs/btrfs/file-item.c
diff options
context:
space:
mode:
authorNikolay Borisov <kernel@kyup.com>2016-07-13 16:19:14 +0300
committerDavid Sterba <dsterba@suse.com>2016-07-26 14:52:25 +0300
commitaee133afcdf77641be66c5c9f32975feca8e6bd0 (patch)
treec52d19cf60ce9bd9c48658f1350f607719f00f65 /fs/btrfs/file-item.c
parent35f4e5e6f198a11c11606a742b309aa80271c66d (diff)
downloadlinux-aee133afcdf77641be66c5c9f32975feca8e6bd0.tar.xz
btrfs: Ratelimit "no csum found" info message
Recently during a crash it became apparent that this particular message can be printed so many times that it causes the softlockup detector to trigger. Fix it by ratelimiting it. Signed-off-by: Nikolay Borisov <kernel@kyup.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file-item.c')
-rw-r--r--fs/btrfs/file-item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/file-item.c b/fs/btrfs/file-item.c
index 62a81ee13a5f..6b58d0620e2f 100644
--- a/fs/btrfs/file-item.c
+++ b/fs/btrfs/file-item.c
@@ -250,7 +250,7 @@ static int __btrfs_lookup_bio_sums(struct btrfs_root *root,
offset + root->sectorsize - 1,
EXTENT_NODATASUM);
} else {
- btrfs_info(BTRFS_I(inode)->root->fs_info,
+ btrfs_info_rl(BTRFS_I(inode)->root->fs_info,
"no csum found for inode %llu start %llu",
btrfs_ino(inode), offset);
}