]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Btrfs: ratelimit the generation printk for the free space cache
authorJosef Bacik <josef@redhat.com>
Mon, 8 Aug 2011 12:24:46 +0000 (08:24 -0400)
committerChris Mason <chris.mason@oracle.com>
Wed, 16 Nov 2011 02:20:14 +0000 (21:20 -0500)
commit361fe08eec23212f5af942ef3abe4f92388bc451
tree13de7dc8a7c2449e9b8ffbdeb7539c86539a090c
parentc60186fadbd56e5b3fa5c0d4c5644f8cfd01ce9b
Btrfs: ratelimit the generation printk for the free space cache

A user reported getting spammed when moving to 3.0 by this message.  Since we
switched to the normal checksumming infrastructure all old free space caches
will be wrong and need to be regenerated so people are likely to see this
message a lot, so ratelimit it so it doesn't fill up their logs and freak them
out.  Thanks,

Reported-by: Andrew Lutomirski <luto@mit.edu>
Signed-off-by: Josef Bacik <josef@redhat.com>
(cherry picked from commit 6ab60601d518d563ca1a47eaa399096e69d3b64a)
fs/btrfs/free-space-cache.c