Skip to content

ocfs2: Add reflink file support. V3

Tao Ma ocfs2-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest39 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/39ocfs2: Define refcount tree structure.fs/ocfs2/ocfs2_fs.h+82 -30 replies
2/39ocfs2: Add metaecc for ocfs2_refcount_block.fs/ocfs2/journal.c fs/ocfs2/journal.h+18 -00 replies
3/39ocfs2: Add ocfs2_read_refcount_block.fs/ocfs2/Makefile fs/ocfs2/cluster/masklog.c fs/ocfs2/cluster/masklog.h +2 more+105 -01 reply
4/39ocfs2: Basic tree root operation.fs/ocfs2/journal.h fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h+302 -02 replies
4/39ocfs2: Basic tree root operation.+0 -00 replies
5/39ocfs2: hook remove refcount tree into truncate.fs/ocfs2/alloc.c+5 -01 reply
5/39ocfs2: hook remove refcount tree into truncate.+0 -00 replies
6/39ocfs2: Wrap ocfs2_extent_contig in ocfs2_extent_tree.fs/ocfs2/alloc.c+41 -161 reply
7/39ocfs2: Abstract extent split process.fs/ocfs2/alloc.c+85 -571 reply
7/39ocfs2: Abstract extent split process.+0 -00 replies
8/39ocfs2: Add refcount b-tree as a new extent tree.fs/ocfs2/alloc.c fs/ocfs2/alloc.h+57 -00 replies
9/39ocfs2: export tree operation functions.fs/ocfs2/alloc.c fs/ocfs2/alloc.h+72 -510 replies
10/39ocfs2: Add support for incrementing refcount in the tree.fs/ocfs2/extent_map.c fs/ocfs2/extent_map.h fs/ocfs2/ocfs2_fs.h +1 more+938 -71 reply
11/39ocfs2: Add support of decrementing refcount for delete.fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h+229 -20 replies
12/39ocfs2: Add functions for extents refcounted.fs/ocfs2/alloc.c fs/ocfs2/alloc.h fs/ocfs2/ocfs2.h +1 more+58 -60 replies
13/39ocfs2: Hook 'Decrement refcount for delete'.fs/ocfs2/alloc.c fs/ocfs2/journal.h fs/ocfs2/refcounttree.c +1 more+253 -70 replies
14/39ocfs2: Add CoW support.fs/ocfs2/alloc.c fs/ocfs2/alloc.h fs/ocfs2/aops.c +2 more+747 -120 replies
15/39ocfs2: CoW refcount tree improvement.fs/ocfs2/alloc.c fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h+83 -290 replies
16/39ocfs2: Add __ocfs2_reflink.fs/ocfs2/namei.c fs/ocfs2/namei.h fs/ocfs2/refcounttree.c+383 -40 replies
17/39ocfs2: Add ioctl for reflink.fs/ocfs2/ioctl.c fs/ocfs2/ocfs2_fs.h fs/ocfs2/refcounttree.c +1 more+170 -02 replies
17/39ocfs2: Add ioctl for reflink.+0 -00 replies
18/39ocfs2: Use proper parameter for some inode operation.fs/ocfs2/namei.c+17 -150 replies
19/39ocfs2: Create reflinked file in orphan dir.fs/ocfs2/namei.c fs/ocfs2/namei.h fs/ocfs2/refcounttree.c+283 -210 replies
20/39ocfs2: Abstract caching info checkpoint.fs/ocfs2/dlmglue.c+13 -50 replies
21/39ocfs2: Add new refcount tree lock resource.fs/ocfs2/dlmglue.c fs/ocfs2/dlmglue.h fs/ocfs2/ocfs2_lockid.h +1 more+91 -00 replies
22/39ocfs2: Add refcount tree lock mechanism.fs/ocfs2/ocfs2.h fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h +1 more+202 -01 reply
22/39ocfs2: Add refcount tree lock mechanism.+0 -00 replies
23/39ocfs2: lock refcount tree if needed.fs/ocfs2/alloc.c fs/ocfs2/refcounttree.c+58 -271 reply
24/39ocfs2: Add caching info for refcount tree.fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h+122 -141 reply
24/39ocfs2: Add caching info for refcount tree.+0 -00 replies
25/39ocfs2: Add refcount tree find mechanism from an inode.fs/ocfs2/ocfs2.h fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h+74 -130 replies
26/39ocfs2: Return extent flags for xattr value tree.fs/ocfs2/extent_map.c fs/ocfs2/extent_map.h fs/ocfs2/xattr.c+11 -50 replies
27/39ocfs2: Abstract duplicate clusters process in CoW.fs/ocfs2/refcounttree.c+79 -620 replies
28/39ocfs2: Add CoW support for xattr.fs/ocfs2/alloc.c fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h +1 more+496 -210 replies
29/39ocfs2: Remove inode from ocfs2_xattr_bucket_get_name_value.fs/ocfs2/xattr.c+10 -100 replies
30/39ocfs2: Abstract the creation of xattr block.fs/ocfs2/xattr.c+70 -450 replies
31/39ocfs2: Abstract ocfs2 xattr tree extend rec iteration process.fs/ocfs2/xattr.c+76 -710 replies
32/39ocfs2: Attach xattr clusters to refcount tree.fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h fs/ocfs2/xattr.c +1 more+334 -100 replies
33/39ocfs2: Call refcount tree remove process properly.fs/ocfs2/alloc.c fs/ocfs2/file.c fs/ocfs2/inode.c +4 more+73 -50 replies
34/39ocfs2: Create an xattr indexed block if needed.fs/ocfs2/xattr.c+14 -20 replies
35/39ocfs2: Add reflink support for xattr.fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h fs/ocfs2/xattr.c +1 more+922 -130 replies
36/39ocfs2: Modify removing xattr process for refcount.fs/ocfs2/xattr.c+154 -360 replies
37/39ocfs2: Don't merge in 1st refcount ops of reflink.fs/ocfs2/refcounttree.c+36 -201 reply
38/39ocfs2: Make transaction extend more efficient.fs/ocfs2/alloc.c+10 -20 replies
39/39ocfs2: 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/39] ocfs2: Add reflink file support. V3

Hi all,
So I have finally finished the v3 of reflink for ocfs2. The biggest
change is that we support 64bit cluster offset now(Thank Mark and Joel for it).

[View]
http://oss.oracle.com/git/?p=tma/linux-2.6.git;a=shortlog;h=refcount
[Pull]
git://oss.oracle.com/git/tma/linux-2.6.git refcount

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.

btw, some patches have ~1000 lines which make the review a little tough. I will try to divide them into small parts in the next round. Please be patient.

Enjoy it.

Regards,
Tao