Skip to content
Commit 6f70fa51 authored by Tao Ma's avatar Tao Ma Committed by Joel Becker
Browse files

ocfs2: Add CoW support.



This patch try CoW support for a refcounted record.

the whole process will be:
1. Calculate how many clusters we need to CoW and where we start.
   Extents that are not completely encompassed by the write will
   be broken on 1MB boundaries.
2. Do CoW for the clusters with the help of page cache.
3. Change the b-tree structure with the new allocated clusters.

Signed-off-by: default avatarTao Ma <tao.ma@oracle.com>
parent bcbbb24a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment