]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit193f284d4985db0370a8a1bbdfb20df548cf9ffb
treedfa8aec1c8000e5e00deb4eee4dc385a405d74a6
parentb7967db75a38df4891b22efe1b0969b9357eb946
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