Searched hist:"110 a045a" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ocfs2/ |
H A D | refcounttree.c | 110a045a Sat Aug 22 10:54:27 CDT 2009 Tao Ma <tao.ma@oracle.com> ocfs2: Add normal functions for reflink a normal file's extents.
2 major functions are added in this patch.
ocfs2_attach_refcount_tree will create a new refcount tree to the old file if it doesn't have one and insert all the extent records to the tree if they are not refcounted.
ocfs2_create_reflink_node will: 1. set the refcount tree to the new file. 2. call ocfs2_duplicate_extent_list which will iterate all the extents for the old file, insert it to the new file and increase the corresponding referennce count.
Signed-off-by: Tao Ma <tao.ma@oracle.com> 110a045a Sat Aug 22 10:54:27 CDT 2009 Tao Ma <tao.ma@oracle.com> ocfs2: Add normal functions for reflink a normal file's extents. 2 major functions are added in this patch. ocfs2_attach_refcount_tree will create a new refcount tree to the old file if it doesn't have one and insert all the extent records to the tree if they are not refcounted. ocfs2_create_reflink_node will: 1. set the refcount tree to the new file. 2. call ocfs2_duplicate_extent_list which will iterate all the extents for the old file, insert it to the new file and increase the corresponding referennce count. Signed-off-by: Tao Ma <tao.ma@oracle.com>
|