From: Tristan Ye Date: Wed, 25 May 2011 06:23:43 +0000 (+0800) Subject: Ocfs2/move_extents: move/defrag extents within a certain range. X-Git-Tag: v3.0-rc1~137^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53069d4e76954e2e63c1b3c501051c6fbcf7298c;p=pandora-kernel.git 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: Tristan Ye --- Reading git-diff-tree failed