From: Chris Mason Date: Thu, 24 Jul 2008 15:57:52 +0000 (-0400) Subject: Btrfs: Fix the defragmention code and the block relocation code for data=ordered X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~30^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3eaa2885276fd6dac7b076a793932428b7168e74;p=pandora-kernel.git Btrfs: Fix the defragmention code and the block relocation code for data=ordered Before setting an extent to delalloc, the code needs to wait for pending ordered extents. Also, the relocation code needs to wait for ordered IO before scanning the block group again. This is because the extents are not removed until the IO for the new extents is finished Signed-off-by: Chris Mason --- Reading git-diff-tree failed