25 May, 2011
2 commits
-
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: Tristan Ye
-
Adding new files move_extents.[c|h] and fill it with nothing but
only a context structure.Signed-off-by: Tristan Ye