summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/move_extents.h
AgeCommit message (Collapse)AuthorFilesLines
2011-05-25Ocfs2/move_extents: move/defrag extents within a certain range.Tristan Ye1-0/+2
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 <tristan.ye@oracle.com>
2011-05-25Ocfs2/move_extents: Add basic framework and source files for extent moving.Tristan Ye1-0/+20
Adding new files move_extents.[c|h] and fill it with nothing but only a context structure. Signed-off-by: Tristan Ye <tristan.ye@oracle.com>