]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: ratelimit IO error printks
authorChris Mason <chris.mason@oracle.com>
Mon, 27 Apr 2009 11:29:05 +0000 (07:29 -0400)
committerChris Mason <chris.mason@oracle.com>
Mon, 27 Apr 2009 11:41:47 +0000 (07:41 -0400)
commit73a4a37a98d3df5ee1728a358112245676514bc5
treedfa8aec1c8000e5e00deb4eee4dc385a405d74a6
parent2a9708af6b6d05ae5401adc9dfed146817475f2e
Btrfs: ratelimit IO error printks

Btrfs has printks for various IO errors, including bad checksums and
mismatches between what we expect the block headers to contain and what
we actually find on the disk.

Longer term we need a real reporting mechanism for this, but for now
printk is going to have to do.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/disk-io.c
fs/btrfs/inode.c