summaryrefslogtreecommitdiff
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorStefan Behrens <sbehrens@giantdisaster.de>2012-06-14 18:42:31 +0400
committerChris Mason <chris.mason@fusionio.com>2012-07-02 23:36:23 +0400
commit597a60fadedf9a40fdff8735054bf772b3dafd57 (patch)
tree5fcd3c7c3ae4a28001eaea8ab0ea0ef48e456647 /fs/btrfs/file.c
parentd42244a0d36ad0939c5f173ebf15841a0678899c (diff)
downloadlinux-597a60fadedf9a40fdff8735054bf772b3dafd57.tar.xz
Btrfs: don't count I/O statistic read errors for missing devices
It is normal behaviour of the low level btrfs function btrfs_map_bio() to complete a bio with -EIO if the device is missing, instead of just preventing the bio creation in an earlier step. This used to cause I/O statistic read error increments and annoying printk_ratelimited messages. This commit fixes the issue. Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de> Reported-by: Carey Underwood <cwillu@cwillu.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions