linux/fs/btrfs
Chris Mason bf0da8c183 Btrfs: ClearPageError during writepage and clean_tree_block
Failure testing was tripping up over stale PageError bits in
metadata pages.  If we have an io error on a block, and later on
end up reusing it, nobody ever clears PageError on those pages.

During commit, we'll find PageError and think we had trouble writing
the block, which will lead to aborts and other problems.

This changes clean_tree_block and the btrfs writepage code to
clear the PageError bit.  In both cases we're either completely
done with the page or the page has good stuff and the error bit
is no longer valid.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
2011-11-06 03:04:20 -05:00
..
acl.c Btrfs: fix return value of btrfs_get_acl() 2011-10-20 18:10:47 +02:00
async-thread.c
async-thread.h
btrfs_inode.h Btrfs: calculate checksum space correctly 2011-10-19 15:12:31 -04:00
compat.h
compression.c btrfs: separate superblock items out of fs_info 2011-11-06 03:04:01 -05:00
compression.h
ctree.c Btrfs: fix array bound checking 2011-10-20 18:10:41 +02:00
ctree.h Btrfs: make a delayed_block_rsv for the delayed item insertion 2011-11-06 03:04:18 -05:00
delayed-inode.c Btrfs: make a delayed_block_rsv for the delayed item insertion 2011-11-06 03:04:18 -05:00
delayed-inode.h atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
delayed-ref.c
delayed-ref.h
dir-item.c Btrfs: remove redundant code for dir item lookup 2011-08-01 14:30:48 -04:00
disk-io.c Btrfs: make a delayed_block_rsv for the delayed item insertion 2011-11-06 03:04:18 -05:00
disk-io.h Btrfs: make sure to flush queued bios if write_cache_pages waits 2011-11-06 03:03:48 -05:00
export.c
export.h
extent_io.c Btrfs: ClearPageError during writepage and clean_tree_block 2011-11-06 03:04:20 -05:00
extent_io.h Btrfs: make sure to flush queued bios if write_cache_pages waits 2011-11-06 03:03:48 -05:00
extent_map.c Btrfs: clean up code for merging extent maps 2011-08-01 14:30:50 -04:00
extent_map.h
extent-tree.c Btrfs: be smarter about committing the transaction in reserve_metadata_bytes 2011-11-06 03:04:19 -05:00
file-item.c btrfs: separate superblock items out of fs_info 2011-11-06 03:04:01 -05:00
file.c Btrfs: use the inode's mapping mask for allocating pages 2011-10-19 15:12:45 -04:00
free-space-cache.c Btrfs: use the global reserve when truncating the free space cache inode 2011-11-06 03:03:50 -05:00
free-space-cache.h
hash.h
inode-item.c
inode-map.c Btrfs: handle enospc accounting for free space inodes 2011-10-19 15:12:42 -04:00
inode-map.h
inode.c btrfs: separate superblock items out of fs_info 2011-11-06 03:04:01 -05:00
ioctl.c btrfs: separate superblock items out of fs_info 2011-11-06 03:04:01 -05:00
ioctl.h
Kconfig
locking.c Btrfs: switch the btrfs tree locks to reader/writer 2011-07-27 12:46:46 -04:00
locking.h Btrfs: switch the btrfs tree locks to reader/writer 2011-07-27 12:46:46 -04:00
lzo.c
Makefile Btrfs: make acl functions really no-op if acl is not enabled 2011-08-01 14:30:48 -04:00
ordered-data.c
ordered-data.h
orphan.c
print-tree.c btrfs: fix oops on failure path 2011-10-20 18:10:50 +02:00
print-tree.h
relocation.c btrfs: check file extent backref offset underflow 2011-10-20 18:10:31 +02:00
root-tree.c btrfs: make btrfs_set_root_node void 2011-08-01 14:30:44 -04:00
scrub.c btrfs: separate superblock items out of fs_info 2011-11-06 03:04:01 -05:00
struct-funcs.c Btrfs: stop using highmem for extent_buffers 2011-07-27 12:46:45 -04:00
super.c Btrfs: add a log of past tree roots 2011-11-06 03:04:15 -05:00
sysfs.c
transaction.c Btrfs: ClearPageError during writepage and clean_tree_block 2011-11-06 03:04:20 -05:00
transaction.h
tree-defrag.c
tree-log.c btrfs: separate superblock items out of fs_info 2011-11-06 03:04:01 -05:00
tree-log.h
version.h
volumes.c btrfs: separate superblock items out of fs_info 2011-11-06 03:04:01 -05:00
volumes.h Btrfs: detect wether a device supports discard 2011-08-16 21:09:15 -04:00
xattr.c Btrfs: fix regression in re-setting a large xattr 2011-10-19 15:12:56 -04:00
xattr.h
zlib.c