Ocfs2/move_extents: helper to calculate the defraging length in one run.

The helper is to calculate the defrag length in one run according to a threshold,
it will proceed doing defragmentation until the threshold was meet, and skip a
LARGE extent if any.

Signed-off-by: Tristan Ye <tristan.ye@oracle.com>
This commit is contained in:
Tristan Ye 2011-03-18 14:35:40 +08:00
commit ee16cc037e