]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3fe93cd57719ddc3c8fd67ae2ea6f18c39b533eb
treebd0308fa3455645a5fc91e9bd50912441eb07dbf
parent51641b7ccde77368afc506bec93aff7bd110c3c4
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