linux/fs/btrfs
Chris Mason 76a05b35a3 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>
2009-05-14 14:00:32 -04:00
..
acl.c Btrfs: fix acl caching 2009-04-27 13:18:26 -04:00
async-thread.c Btrfs: add a priority queue to the async thread helpers 2009-04-20 15:53:08 -04:00
async-thread.h Btrfs: add a priority queue to the async thread helpers 2009-04-20 15:53:08 -04:00
btrfs_inode.h Btrfs: add extra flushing for renames and truncates 2009-03-31 14:27:58 -04:00
compat.h
compression.c Btrfs: removed unused #include <version.h>'s 2009-01-21 10:49:16 -05:00
compression.h
crc32c.h
ctree.c Btrfs: Don't loop forever on metadata IO failures 2009-05-14 14:00:32 -04:00
ctree.h Btrfs: fix fallocate deadlock on inode extent lock 2009-04-24 15:46:05 -04:00
delayed-ref.c Btrfs: remove unused ftrace include 2009-04-02 17:02:55 -04:00
delayed-ref.h Btrfs: make sure btrfs_update_delayed_ref doesn't increase ref_mod 2009-03-25 09:55:11 -04:00
dir-item.c Btrfs: leave btree locks spinning more often 2009-03-24 16:14:28 -04:00
disk-io.c Btrfs: Fix a bunch of printk() warnings. 2009-04-27 08:37:49 -04:00
disk-io.h Btrfs: leave btree locks spinning more often 2009-03-24 16:14:28 -04:00
export.c
export.h
extent_io.c Btrfs: remove #if 0 code 2009-04-27 07:40:52 -04:00
extent_io.h Btrfs: leave btree locks spinning more often 2009-03-24 16:14:28 -04:00
extent_map.c Btrfs: kill btrfs_cache_create 2009-04-24 15:46:04 -04:00
extent_map.h
extent-tree.c Btrfs: Fix a bunch of printk() warnings. 2009-04-27 08:37:49 -04:00
file-item.c Btrfs: leave btree locks spinning more often 2009-03-24 16:14:28 -04:00
file.c Btrfs: remove #if 0 code 2009-04-27 07:40:52 -04:00
free-space-cache.c Btrfs: Fix a bunch of printk() warnings. 2009-04-27 08:37:49 -04:00
free-space-cache.h Btrfs: rework allocation clustering 2009-04-03 09:47:43 -04:00
hash.h
inode-item.c Btrfs: leave btree locks spinning more often 2009-03-24 16:14:28 -04:00
inode-map.c Btrfs: Fix a trivial warning using max() of u64 vs ULL. 2009-04-27 08:37:49 -04:00
inode.c Btrfs: init inode ordered_data_close flag properly 2009-05-14 14:00:31 -04:00
ioctl.c Btrfs: Fix a bunch of printk() warnings. 2009-04-27 08:37:49 -04:00
ioctl.h
Kconfig Btrfs: make btrfs acls selectable 2009-02-04 09:28:28 -05:00
locking.c Btrfs: fix typos in comments 2009-04-02 16:46:06 -04:00
locking.h Btrfs: fix spinlock assertions on UP systems 2009-03-09 11:45:38 -04:00
Makefile Btrfs: simplify makefile 2009-04-24 15:46:03 -04:00
ordered-data.c Btrfs: use WRITE_SYNC for synchronous writes 2009-04-20 15:53:08 -04:00
ordered-data.h Btrfs: add extra flushing for renames and truncates 2009-03-31 14:27:58 -04:00
orphan.c
print-tree.c
print-tree.h
ref-cache.c Btrfs: Make btrfs_drop_snapshot work in larger and more efficient chunks 2009-02-04 09:27:02 -05:00
ref-cache.h Btrfs: Make btrfs_drop_snapshot work in larger and more efficient chunks 2009-02-04 09:27:02 -05:00
root-tree.c
struct-funcs.c
super.c Btrfs: Fix a bunch of printk() warnings. 2009-04-27 08:37:49 -04:00
sysfs.c
transaction.c Btrfs: fix deadlocks and stalls on dead root removal 2009-04-24 15:46:05 -04:00
transaction.h Btrfs: reduce stalls during transaction commit 2009-03-24 16:14:26 -04:00
tree-defrag.c Btrfs: do extent allocation and reference count updates in the background 2009-03-24 16:14:25 -04:00
tree-log.c Btrfs: fix fallocate deadlock on inode extent lock 2009-04-24 15:46:05 -04:00
tree-log.h Btrfs: tree logging unlink/rename fixes 2009-03-24 16:14:52 -04:00
version.h
version.sh
volumes.c Btrfs: When shrinking, only update disk size on success 2009-04-27 07:40:51 -04:00
volumes.h Btrfs: When shrinking, only update disk size on success 2009-04-27 07:40:51 -04:00
xattr.c Btrfs: selinux support 2009-02-04 09:29:13 -05:00
xattr.h Btrfs: selinux support 2009-02-04 09:29:13 -05:00
zlib.c