]> git.baikalelectronics.ru Git - kernel.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)
committerJosef Bacik <josef@redhat.com>
Wed, 19 Oct 2011 19:12:33 +0000 (15:12 -0400)
commit42091ce4f7a0b013b12ea897b53638e8516d318f
tree7a942576303b57b4c2dffa7815fb6ba2fe9a5fa1
parentc7d0c06a30cbbae0bdcab9b3f46fca651046bdde
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>
fs/btrfs/free-space-cache.c