Btrfs: do aio_write instead of write
authorJosef Bacik <josef@redhat.com>
Sun, 23 May 2010 15:07:21 +0000 (11:07 -0400)
committerChris Mason <chris.mason@oracle.com>
Tue, 25 May 2010 14:34:57 +0000 (10:34 -0400)
commit11c65dccf70be9ace5dbd3906778e1a099b1fee1
tree1289f139ddf652e39672374b6f9051994c21ce57
parent4b46fce23349bfca781a32e2707a18328ca5ae22
Btrfs: do aio_write instead of write

In order for AIO to work, we need to implement aio_write.  This patch converts
our btrfs_file_write to btrfs_aio_write.  I've tested this with xfstests and
nothing broke, and the AIO stuff magically started working.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_io.c
fs/btrfs/file.c