linux/fs/btrfs
Josef Bacik f5a84ee3cd Btrfs: fallback on uncompressed io if compressed io fails
Currently compressed IO does not deal with not having its entire extent able to
be allocated.  So if we have enough free space to allocate for the extent, but
its not contiguous, it will fail spectacularly.  This patch fixes this by
falling back on uncompressed IO which lets us spread the delalloc extent across
multiple extents.  I tested this by making us randomly think the reservation had
failed to make it fallback on the uncompressed io way and it seemed to work
fine.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
2009-11-11 14:20:20 -05:00
..
acl.c Btrfs: fix btrfs acl #ifdef checks 2009-10-13 13:51:39 -04:00
async-thread.c
async-thread.h
btrfs_inode.h Btrfs: avoid tree log commit when there are no changes 2009-10-13 13:35:12 -04:00
compat.h
compression.c
compression.h
ctree.c
ctree.h Btrfs: add -o discard option 2009-10-14 10:32:49 -04:00
delayed-ref.c
delayed-ref.h
dir-item.c
disk-io.c Btrfs: avoid tree log commit when there are no changes 2009-10-13 13:35:12 -04:00
disk-io.h
export.c
export.h
extent-tree.c Btrfs: find ideal block group for caching 2009-11-11 14:20:19 -05:00
extent_io.c
extent_io.h
extent_map.c Btrfs: avoid null deref in unpin_extent_cache() 2009-11-11 14:20:18 -05:00
extent_map.h
file-item.c
file.c Btrfs: avoid tree log commit when there are no changes 2009-10-13 13:35:12 -04:00
free-space-cache.c Btrfs: fix how we set max_size for free space clusters 2009-11-11 14:20:17 -05:00
free-space-cache.h
hash.h
inode-item.c
inode-map.c
inode.c Btrfs: fallback on uncompressed io if compressed io fails 2009-11-11 14:20:20 -05:00
ioctl.c Btrfs: fix file clone ioctl for bookend extents 2009-10-09 11:29:53 -04:00
ioctl.h
Kconfig
locking.c
locking.h
Makefile
ordered-data.c
ordered-data.h
orphan.c
print-tree.c
print-tree.h
ref-cache.c
ref-cache.h
relocation.c
root-tree.c Btrfs: skip btrfs_release_path in btrfs_update_root and btrfs_del_root 2009-11-11 14:20:18 -05:00
struct-funcs.c
super.c Btrfs: add -o discard option 2009-10-14 10:32:49 -04:00
sysfs.c
transaction.c Btrfs: cleanup transaction starting and fix journal_info usage 2009-11-11 14:20:16 -05:00
transaction.h Btrfs: streamline tree-log btree block writeout 2009-10-13 13:35:12 -04:00
tree-defrag.c
tree-log.c Btrfs: properly wait log writers during log sync 2009-10-14 10:32:48 -04:00
tree-log.h Btrfs: avoid tree log commit when there are no changes 2009-10-13 13:35:12 -04:00
version.h
version.sh
volumes.c
volumes.h
xattr.c Btrfs: fix btrfs acl #ifdef checks 2009-10-13 13:51:39 -04:00
xattr.h
zlib.c