Btrfs: do not call file_update_time in aio_write
authorJosef Bacik <jbacik@fusionio.com>
Fri, 9 Nov 2012 15:53:21 +0000 (10:53 -0500)
committerChris Mason <chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:27 +0000 (20:46 -0500)
This starts a transaction and dirties the inode everytime we call it, which
is super expensive if you have a write heavy workload.  We will be updating
the inode when the IO completes and we reserve the space for the inode
update when we reserve space for the write, so there is no chance of loss of
information or enospc issues.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/file.c
fs/btrfs/inode.c

diff --cc fs/btrfs/file.c
Simple merge
Simple merge