Skip to content
Commit 53069d4e authored by Tristan Ye's avatar Tristan Ye
Browse files

Ocfs2/move_extents: move/defrag extents within a certain range.



the basic logic of moving extents for a file is pretty like punching-hole
sequence, walk the extents within the range as user specified, calculating
an appropriate len to defrag/move, then let ocfs2_defrag/move_extent() to
do the actual moving.

This func ends up setting 'OCFS2_MOVE_EXT_FL_COMPLETE' to userpace if operation
gets done successfully.

Signed-off-by: default avatarTristan Ye <tristan.ye@oracle.com>
parent ee16cc03
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment