diff options
author | Josef Bacik <josef@redhat.com> | 2011-01-25 14:57:24 -0500 |
---|---|---|
committer | Josef Bacik <josef@redhat.com> | 2011-03-17 14:21:15 -0400 |
commit | d0215f3e5ebb5803cd6ec067b10c5e00a3ad7cfc (patch) | |
tree | 790070af3c6c05b0599e26c7ce93516192a04a94 /fs/btrfs/zlib.c | |
parent | 9f570b8d48b6677b5557d86fb3ca148215e295f2 (diff) | |
download | kernel_samsung_tuna-d0215f3e5ebb5803cd6ec067b10c5e00a3ad7cfc.zip kernel_samsung_tuna-d0215f3e5ebb5803cd6ec067b10c5e00a3ad7cfc.tar.gz kernel_samsung_tuna-d0215f3e5ebb5803cd6ec067b10c5e00a3ad7cfc.tar.bz2 |
Btrfs: simplify our write path
Our aio_write function is huge and kind of hard to follow at times. So this
patch fixes this by breaking out the buffered and direct write paths out into
seperate functions so it's a little clearer what's going on. I've also fixed
some wrong typing that we had and added the ability to handle getting an error
back from btrfs_set_extent_delalloc. Tested this with xfstests and everything
came out fine. Thanks,
Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'fs/btrfs/zlib.c')
0 files changed, 0 insertions, 0 deletions