commit | 3eaa2885276fd6dac7b076a793932428b7168e74 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Thu Jul 24 11:57:52 2008 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:04:05 2008 -0400 |
tree | b06382bec68bf1755597a74ac8225f3bcddda5e5 | |
parent | 64f26f745084872b916cd1bef6054e21b15c5784 [diff] |
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 <chris.mason@oracle.com>