Ocfs2/move_extents: helper to probe a proper region to move in an alloc group.
authorTristan Ye <tristan.ye@oracle.com>
Fri, 18 Mar 2011 06:35:37 +0000 (14:35 +0800)
committerTristan Ye <tristan.ye@oracle.com>
Wed, 25 May 2011 07:17:11 +0000 (15:17 +0800)
commite6b5859cccfa0fec02f3c5b1069481efc7186f47
treebd0308fa3455645a5fc91e9bd50912441eb07dbf
parent99e4c750419e0bb24a1bbf094b1e6a5a4eedbc36
Ocfs2/move_extents: helper to probe a proper region to move in an alloc group.

Before doing the movement of extents, we'd better probe the alloc group from
'goal_blk' for searching a contiguous region to fit the wanted movement, we
even will have a best-effort try by compromising to a threshold around the
given goal.

Signed-off-by: Tristan Ye <tristan.ye@oracle.com>
fs/ocfs2/move_extents.c