Ocfs2/move_extents: helper to validate and adjust moving goal.
authorTristan Ye <tristan.ye@oracle.com>
Fri, 18 Mar 2011 06:35:36 +0000 (14:35 +0800)
committerTristan Ye <tristan.ye@oracle.com>
Wed, 25 May 2011 07:17:10 +0000 (15:17 +0800)
commit99e4c750419e0bb24a1bbf094b1e6a5a4eedbc36
tree2d9fdf13b965f6b786b1831182df02d9d5d694da
parent1c06b9126130aa4a917bba81c39579ed08a67b4e
Ocfs2/move_extents: helper to validate and adjust moving goal.

First best-effort attempt to validate and adjust the goal (physical address in
block), while it can't guarantee later operation can succeed all the time since
global_bitmap may change a bit over time.

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