From: Tristan Ye Date: Fri, 18 Mar 2011 06:35:33 +0000 (+0800) Subject: Ocfs2/move_extents: move a range of extent. X-Git-Tag: v3.0-rc1~137^2^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f603e567aa7a243e68ca48b4f105b990851360f;p=pandora-kernel.git Ocfs2/move_extents: move a range of extent. The moving range of __ocfs2_move_extent() was within one extent always, it consists following parts: 1. Duplicates the clusters in pages to new_blkoffset, where extent to be moved. 2. Split the original extent with new extent, coalecse the nearby extents if possible. 3. Append old clusters to truncate log, or decrease_refcount if the extent was refcounted. Signed-off-by: Tristan Ye --- Reading git-diff-tree failed