From: Josef Bacik Date: Fri, 12 Oct 2012 19:27:49 +0000 (-0400) Subject: Btrfs: wait on ordered extents at the last possible moment X-Git-Tag: v3.9-rc1~17^2~29^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ab28f322f9896782da904f5942f3873432addc8;p=pandora-kernel.git 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 --- Reading git-diff-tree failed