diff options
author | Chris Mason <chris.mason@oracle.com> | 2009-05-14 19:24:30 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-05-14 20:00:32 +0200 |
commit | 76a05b35a320e8c968d0fec8f512a1acae227309 (patch) | |
tree | 611875a5ea273de7208c84884a0ec59d985eb614 /fs/btrfs/ioctl.c | |
parent | Btrfs: init inode ordered_data_close flag properly (diff) | |
download | linux-76a05b35a320e8c968d0fec8f512a1acae227309.tar.xz linux-76a05b35a320e8c968d0fec8f512a1acae227309.zip |
Btrfs: Don't loop forever on metadata IO failures
When a btrfs metadata read fails, the first thing we try to do is find
a good copy on another mirror of the block. If this fails, read_tree_block()
ends up returning a buffer that isn't up to date.
The btrfs btree reading code was reworked to drop locks and repeat
the search when IO was done, but the changes didn't add a check for failed
reads. The end result was looping forever on buffers that were never
going to become up to date.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions