diff options
author | Josef Bacik <jbacik@fusionio.com> | 2012-10-12 23:27:49 +0400 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-02-20 18:37:04 +0400 |
commit | 2ab28f322f9896782da904f5942f3873432addc8 (patch) | |
tree | d8d136d90b96f96d63262f8d2eb11680bed80aab /fs/mbcache.c | |
parent | dfd79829b709af3c2ac55951353a874ae89f41c3 (diff) | |
download | linux-2ab28f322f9896782da904f5942f3873432addc8.tar.xz |
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 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions