• T
    Ocfs2/move_extents: move a range of extent. · 8f603e56
    Tristan Ye 提交于
    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: NTristan Ye <tristan.ye@oracle.com>
    8f603e56
move_extents.c 5.4 KB