]> git.hungrycats.org Git - linux/commit
btrfs: Ratelimit "no csum found" info message
authorNikolay Borisov <kernel@kyup.com>
Wed, 13 Jul 2016 13:19:14 +0000 (16:19 +0300)
committerZygo Blaxell <zblaxell@thirteen.furryterror.org>
Thu, 28 Jul 2016 02:20:44 +0000 (22:20 -0400)
commit529b293e3271f84a89addd596a517853409c5eb9
tree60c90e270aea0a3b735db0dafb2a3261fa3650bb
parent719d8f38cc6e7449fd1551bca59c1063a71008fc
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>
(cherry picked from commit aee133afcdf77641be66c5c9f32975feca8e6bd0)
fs/btrfs/file-item.c