Skip to content

ocfs2: Add reflink file support. V2

Tao Ma ocfs2-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest42 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/42ocfs2: Reused freed extent block in b-tree operation.fs/ocfs2/alloc.c fs/ocfs2/alloc.h fs/ocfs2/suballoc.c +2 more+83 -50 replies
2/42ocfs2: Define refcount tree structure.fs/ocfs2/ocfs2_fs.h+51 -40 replies
3/42ocfs2: Add metaecc for ocfs2_refcount_block.fs/ocfs2/journal.c fs/ocfs2/journal.h+18 -00 replies
4/42ocfs2: Add ocfs2_read_refcount_block.fs/ocfs2/Makefile fs/ocfs2/cluster/masklog.c fs/ocfs2/cluster/masklog.h +2 more+105 -00 replies
5/42ocfs2: Basic tree root operation.fs/ocfs2/journal.h fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h+300 -00 replies
6/42ocfs2: hook remove refcount tree into truncate.fs/ocfs2/alloc.c+5 -00 replies
7/42ocfs2: Wrap ocfs2_extent_contig in ocfs2_extent_tree.fs/ocfs2/alloc.c+41 -160 replies
8/42ocfs2: Wrap manipulation of leaf extent record in b-tree operation.fs/ocfs2/alloc.c+89 -510 replies
9/42ocfs2: Pass ocfs2_insert_extent an inserted leaf record.fs/ocfs2/alloc.c fs/ocfs2/alloc.h fs/ocfs2/dir.c +1 more+37 -310 replies
10/42ocfs2: Abstract extent split process.fs/ocfs2/alloc.c+85 -570 replies
11/42ocfs2: Add refcount b-tree as a new extent tree.fs/ocfs2/alloc.c fs/ocfs2/alloc.h+81 -00 replies
12/42ocfs2: export tree operation functions.fs/ocfs2/alloc.c fs/ocfs2/alloc.h+72 -510 replies
13/42ocfs2: Add support for incrementing refcount in the tree.fs/ocfs2/extent_map.c fs/ocfs2/extent_map.h fs/ocfs2/refcounttree.c+208 -70 replies
14/42ocfs2: Add support of decrementing refcount for delete.fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h+119 -00 replies
15/42ocfs2: Add functions for extents refcounted.fs/ocfs2/alloc.c fs/ocfs2/alloc.h fs/ocfs2/ocfs2.h +1 more+58 -60 replies
16/42ocfs2: Hook 'Decrement refcount for delete'.fs/ocfs2/alloc.c fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h+97 -70 replies
17/42ocfs2: Add CoW support.fs/ocfs2/alloc.c fs/ocfs2/alloc.h fs/ocfs2/aops.c +2 more+900 -120 replies
18/42ocfs2: CoW refcount tree improvement.fs/ocfs2/alloc.c fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h+92 -310 replies
19/42ocfs2: Add __ocfs2_reflink.fs/ocfs2/namei.c fs/ocfs2/namei.h fs/ocfs2/refcounttree.c+386 -40 replies
20/42ocfs2: Add ioctl for reflink.fs/ocfs2/ioctl.c fs/ocfs2/ocfs2_fs.h fs/ocfs2/refcounttree.c +1 more+170 -00 replies
21/42ocfs2: Use proper parameter for some inode operation.fs/ocfs2/namei.c+19 -230 replies
22/42ocfs2: Create reflinked file in orphan dir.fs/ocfs2/namei.c fs/ocfs2/namei.h fs/ocfs2/refcounttree.c+274 -210 replies
23/42ocfs2: Abstract caching info checkpoint.fs/ocfs2/dlmglue.c+13 -50 replies
24/42ocfs2: Add new refcount tree lock resource.fs/ocfs2/dlmglue.c fs/ocfs2/dlmglue.h fs/ocfs2/ocfs2_lockid.h +1 more+91 -00 replies
25/42ocfs2: Add refcount tree lock mechanism.fs/ocfs2/ocfs2.h fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h +1 more+200 -00 replies
26/42ocfs2: lock refcount tree if needed.fs/ocfs2/alloc.c fs/ocfs2/refcounttree.c+60 -280 replies
27/42ocfs2: Add caching info for refcount tree.fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h+114 -120 replies
28/42ocfs2: Add refcount tree find mechanism from an inode.fs/ocfs2/ocfs2.h fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h+74 -130 replies
29/42ocfs2: Return extent flags for xattr value tree.fs/ocfs2/extent_map.c fs/ocfs2/extent_map.h fs/ocfs2/xattr.c+11 -50 replies
30/42ocfs2: Abstract duplicate clusters process in CoW.fs/ocfs2/refcounttree.c+87 -690 replies
31/42ocfs2: Use xs->bucket to set xattr value outside.fs/ocfs2/xattr.c+20 -60 replies
32/42ocfs2: Add CoW support for xattr.fs/ocfs2/alloc.c fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h +1 more+429 -230 replies
33/42ocfs2: Remove inode from ocfs2_xattr_bucket_get_name_value.fs/ocfs2/xattr.c+10 -100 replies
34/42ocfs2: Abstract the creation of xattr block.fs/ocfs2/xattr.c+70 -450 replies
35/42ocfs2: Abstract ocfs2 xattr tree extend rec iteration process.fs/ocfs2/xattr.c+76 -710 replies
36/42ocfs2: Attach xattr clusters to refcount tree.fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h fs/ocfs2/xattr.c +1 more+317 -90 replies
37/42ocfs2: Call refcount tree remove process properly.fs/ocfs2/alloc.c fs/ocfs2/file.c fs/ocfs2/inode.c +4 more+73 -50 replies
38/42ocfs2: Create an xattr indexed block if needed.fs/ocfs2/xattr.c+14 -20 replies
39/42ocfs2: Add reflink support for xattr.fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h fs/ocfs2/xattr.c +1 more+923 -130 replies
40/42ocfs2: Modify removing xattr process for refcount.fs/ocfs2/xattr.c+134 -360 replies
41/42ocfs2: Make transaction extend more efficient.fs/ocfs2/alloc.c+10 -20 replies
42/42ocfs2: Enable refcount tree support.fs/ocfs2/ocfs2_fs.h+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Ocfs2-devel] [PATCH 00/42] ocfs2: Add reflink file support. V2

Hi all,
Change from v1 to v2: bug fix and metadata/credits reservation
improvement.

The general information for reflink, please see
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/Reflink.

For the design doc, please see
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/RefcountTrees
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/ReflinkOperation
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/ReflinkUses

The patch set is based on Joel's work of "ocfs2: Detach ocfs2 metadata I/O from struct node" which can be found at
http://oss.oracle.com/pipermail/ocfs2-devel/2009-February/003926.html.

Enjoy it.

Regards,
Tao