commit | ee16cc037e255801892481a2d0b7c1fff2adf1aa | [log] [tgz] |
---|---|---|
author | Tristan Ye <tristan.ye@oracle.com> | Fri Mar 18 14:35:40 2011 +0800 |
committer | Tristan Ye <tristan.ye@oracle.com> | Wed May 25 15:17:12 2011 +0800 |
tree | 00ec3109caf8becea9da524282bf66469361ed7c | |
parent | e08477176d5575493ba4c30041245c34f2737ad4 [diff] |
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>