Skip to content

ocfs2: Add reflink file support. V4

Tao Ma ocfs2-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest41 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/41ocfs2: Define refcount tree structure.fs/ocfs2/ocfs2_fs.h+85 -30 replies
2/41ocfs2: Add metaecc for ocfs2_refcount_block.fs/ocfs2/journal.c fs/ocfs2/journal.h+18 -00 replies
3/41ocfs2: Add ocfs2_read_refcount_block.fs/ocfs2/Makefile fs/ocfs2/cluster/masklog.c fs/ocfs2/cluster/masklog.h +2 more+105 -00 replies
4/41ocfs2: Abstract caching info checkpoint.fs/ocfs2/dlmglue.c+13 -50 replies
5/41ocfs2: Add new refcount tree lock resource in dlmglue.fs/ocfs2/dlmglue.c fs/ocfs2/dlmglue.h fs/ocfs2/ocfs2_lockid.h +1 more+127 -00 replies
6/41ocfs2: Add caching info for refcount tree.fs/ocfs2/refcounttree.c+59 -00 replies
7/41ocfs2: Add refcount tree lock mechanism.fs/ocfs2/ocfs2.h fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h +1 more+375 -01 reply
8/41ocfs2: Basic tree root operation.fs/ocfs2/journal.h fs/ocfs2/refcounttree.c+351 -61 reply
9/41ocfs2: Wrap ocfs2_extent_contig in ocfs2_extent_tree.fs/ocfs2/alloc.c+41 -160 replies
10/41ocfs2: Abstract extent split process.fs/ocfs2/alloc.c+100 -500 replies
11/41ocfs2: Add refcount b-tree as a new extent tree.fs/ocfs2/alloc.c fs/ocfs2/alloc.h+57 -00 replies
12/41ocfs2: move tree path functions to alloc.h.fs/ocfs2/alloc.c fs/ocfs2/alloc.h+72 -530 replies
13/41ocfs2: 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+1073 -70 replies
14/41ocfs2: Add support of decrementing refcount for delete.fs/ocfs2/alloc.c fs/ocfs2/alloc.h fs/ocfs2/refcounttree.c +1 more+265 -50 replies
15/41ocfs2: Add functions for extents refcounted.fs/ocfs2/alloc.c fs/ocfs2/alloc.h fs/ocfs2/ocfs2.h +1 more+58 -60 replies
16/41ocfs2: Decrement refcount when truncating refcounted extents.fs/ocfs2/alloc.c fs/ocfs2/journal.h fs/ocfs2/refcounttree.c +1 more+290 -70 replies
17/41ocfs2: Add CoW support.fs/ocfs2/alloc.c fs/ocfs2/alloc.h fs/ocfs2/aops.c +3 more+704 -111 reply
17/41ocfs2: Add CoW support.+0 -02 replies
17/41ocfs2: Add CoW support.+0 -01 reply
17/41ocfs2: Add CoW support.+0 -01 reply
17/41ocfs2: Add CoW support.fs/ocfs2/refcounttree.c+94 -522 replies
17/41ocfs2: Add CoW support.+0 -00 replies
17/41ocfs2: Add CoW support.fs/ocfs2/alloc.c fs/ocfs2/alloc.h fs/ocfs2/aops.c +3 more+841 -112 replies
17/41ocfs2: Add CoW support.+0 -00 replies
18/41ocfs2: CoW refcount tree improvement.fs/ocfs2/alloc.c fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h+81 -280 replies
19/41ocfs2: Integrate CoW in file write.fs/ocfs2/aops.c+46 -32 replies
19/41ocfs2: Integrate CoW in file write.+0 -00 replies
19/41ocfs2: Integrate CoW in file write.fs/ocfs2/aops.c+43 -21 reply
19/41ocfs2: Integrate CoW in file write.+0 -01 reply
19/41ocfs2: Integrate CoW in file write.+0 -00 replies
19/41ocfs2: Integrate CoW in file write.fs/ocfs2/aops.c fs/ocfs2/file.c+94 -11 reply
19/41ocfs2: Integrate CoW in file write(add refcount check).fs/ocfs2/aops.c fs/ocfs2/file.c fs/ocfs2/file.h+104 -10 replies
20/41ocfs2: CoW a reflinked cluster when it is truncated.fs/ocfs2/aops.c fs/ocfs2/file.c fs/ocfs2/refcounttree.c +1 more+57 -40 replies
21/41ocfs2: Add normal functions for reflink a normal file's extents.fs/ocfs2/refcounttree.c+286 -00 replies
22/41ocfs2: handle file attributes issue for reflink.fs/ocfs2/refcounttree.c+120 -20 replies
23/41ocfs2: Return extent flags for xattr value tree.fs/ocfs2/extent_map.c fs/ocfs2/extent_map.h fs/ocfs2/xattr.c+11 -50 replies
24/41ocfs2: Abstract duplicate clusters process in CoW.fs/ocfs2/refcounttree.c+71 -560 replies
25/41ocfs2: Add CoW support for xattr.fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h fs/ocfs2/xattr.c+494 -150 replies
26/41ocfs2: Remove inode from ocfs2_xattr_bucket_get_name_value.fs/ocfs2/xattr.c+10 -100 replies
27/41ocfs2: Abstract the creation of xattr block.fs/ocfs2/xattr.c+70 -451 reply
28/41ocfs2: Abstract ocfs2 xattr tree extend rec iteration process.fs/ocfs2/xattr.c+76 -710 replies
29/41ocfs2: Attach xattr clusters to refcount tree.fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h fs/ocfs2/xattr.c +1 more+329 -40 replies
30/41ocfs2: Call refcount tree remove process properly.fs/ocfs2/file.c fs/ocfs2/inode.c fs/ocfs2/refcounttree.c +3 more+73 -00 replies
31/41ocfs2: Create an xattr indexed block if needed.fs/ocfs2/xattr.c+14 -20 replies
32/41ocfs2: Add reflink support for xattr.fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h fs/ocfs2/xattr.c +1 more+945 -120 replies
33/41ocfs2: Modify removing xattr process for refcount.fs/ocfs2/xattr.c+154 -360 replies
34/41ocfs2: Don't merge in 1st refcount ops of reflink.fs/ocfs2/refcounttree.c+36 -200 replies
35/41ocfs2: Make transaction extend more efficient.fs/ocfs2/alloc.c+10 -20 replies
36/41ocfs2: Use proper parameter for some inode operation.fs/ocfs2/namei.c+17 -150 replies
37/41ocfs2: Create reflinked file in orphan dir.fs/ocfs2/namei.c fs/ocfs2/namei.h+274 -00 replies
38/41ocfs2: Add preserve to reflink.fs/ocfs2/refcounttree.c fs/ocfs2/xattr.c fs/ocfs2/xattr.h+119 -220 replies
39/41ocfs2: Implement ocfs2_reflink.fs/ocfs2/namei.c fs/ocfs2/refcounttree.c fs/ocfs2/refcounttree.h+127 -00 replies
40/41ocfs2: Enable refcount tree support.fs/ocfs2/ocfs2_fs.h+2 -10 replies
41/41ocfs2: Add ioctl for reflink.fs/ocfs2/ioctl.c fs/ocfs2/ocfs2_fs.h fs/ocfs2/refcounttree.c +1 more+129 -00 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/41] ocfs2: Add reflink file support. V4

Hi all,
So I have finally finished the v4 of reflink for ocfs2. Great
thanks for Joel's review.

[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 merge-window.

Enjoy it.

Regards,
Tao