commit | 8f603e567aa7a243e68ca48b4f105b990851360f | [log] [tgz] |
---|---|---|
author | Tristan Ye <tristan.ye@oracle.com> | Fri Mar 18 14:35:33 2011 +0800 |
committer | Tristan Ye <tristan.ye@oracle.com> | Wed May 25 15:17:09 2011 +0800 |
tree | f12071d774d6f7d89480ee87a987cbca1687f49c | |
parent | de474ee8bbc315b0e6772cebdb24b335f82cf95d [diff] |
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 <tristan.ye@oracle.com>