]> git.baikalelectronics.ru Git - kernel.git/commit
Ocfs2/move_extents: helper to calculate the defraging length in one run.
authorTristan Ye <tristan.ye@oracle.com>
Fri, 18 Mar 2011 06:35:40 +0000 (14:35 +0800)
committerTristan Ye <tristan.ye@oracle.com>
Wed, 25 May 2011 07:17:12 +0000 (15:17 +0800)
commit0206f6e1e5aa2784900af2df6807e912569e3cff
tree00ec3109caf8becea9da524282bf66469361ed7c
parent7d059d1fc0809c0e11be319ace6a156135136474
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>
fs/ocfs2/move_extents.c