Skip to content
Commit 8f603e56 authored by Tristan Ye's avatar Tristan Ye
Browse files

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: default avatarTristan Ye <tristan.ye@oracle.com>
parent de474ee8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment