summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2012-10-12 21:27:49 +0200
committerJosef Bacik <jbacik@fusionio.com>2013-02-20 15:37:04 +0100
commit2ab28f322f9896782da904f5942f3873432addc8 (patch)
treed8d136d90b96f96d63262f8d2eb11680bed80aab /kernel
parentBtrfs: fix trivial error in btrfs_ioctl_resize() (diff)
downloadlinux-2ab28f322f9896782da904f5942f3873432addc8.tar.xz
linux-2ab28f322f9896782da904f5942f3873432addc8.zip
Btrfs: wait on ordered extents at the last possible moment
Since we don't actually copy the extent information from the source tree in the fast case we don't need to wait for ordered io to be completed in order to fsync, we just need to wait for the io to be completed. So when we're logging our file just attach all of the ordered extents to the log, and then when the log syncs just wait for IO_DONE on the ordered extents and then write the super. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions