Ocfs2/move_extents: move entire/partial extent.
authorTristan Ye <tristan.ye@oracle.com>
Tue, 24 May 2011 09:35:19 +0000 (17:35 +0800)
committerTristan Ye <tristan.ye@oracle.com>
Wed, 25 May 2011 07:17:11 +0000 (15:17 +0800)
commite08477176d5575493ba4c30041245c34f2737ad4
treeaedeb0f25df0c5a5ba926cbd0372626d8d0b755f
parent8473aa8a2b5857b1bdfb57d860594d2eb2b4a0d6
Ocfs2/move_extents: move entire/partial extent.

ocfs2_move_extent() logic will validate the goal_offset_in_block,
where extents to be moved, what's more, it also compromises a bit
to probe the appropriate region around given goal_offset when the
original goal is not able to fit the movement.

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