]> 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)
commitcae20d90c61b3df2e5fe0799cf99b8e5e6503d09
treebd0308fa3455645a5fc91e9bd50912441eb07dbf
parent71f5c0bb266226f586698a0305cd6c24a9320417
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