search for: refcounttree

Displaying 20 results from an estimated 22 matches for "refcounttree".

2010 Jul 12
1
[PATCH] ocfs2: Don't duplicate page passes i_size during CoW.
During CoW, actually all the pages after i_size contains garbage data, so don't read and duplicate them. Signed-off-by: Tao Ma <tao.ma at oracle.com> --- fs/ocfs2/refcounttree.c | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/fs/ocfs2/refcounttree.c b/fs/ocfs2/refcounttree.c index 1cf9cda..e082623 100644 --- a/fs/ocfs2/refcounttree.c +++ b/fs/ocfs2/refcounttree.c @@ -2921,7 +2921,7 @@ static int ocfs2_duplicate_clusters_by_page(handle_t...
2010 Apr 21
2
[PATCH] ocfs2: Update VFS inode's id info after reflink.
...eflink we update the id info in the disk but forget to update the corresponding information in the VFS inode. So update them accordingly in case we want to preserve the attributes. Reported-by: Jeff Liu <jeff.liu at oracle.com> Signed-off-by: Tao Ma <tao.ma at oracle.com> --- fs/ocfs2/refcounttree.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/fs/ocfs2/refcounttree.c b/fs/ocfs2/refcounttree.c index 8ae65c9..a8e8572 100644 --- a/fs/ocfs2/refcounttree.c +++ b/fs/ocfs2/refcounttree.c @@ -4083,6 +4083,9 @@ static int ocfs2_complete_reflink(struct inode *s_inode, d...
2009 Mar 27
42
[PATCH 00/42] ocfs2: Add reflink file support. V1
...#39;d like to send it out first for review. And Tristan and I will continue to work on the stability of the code. 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 Apr 03
42
[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/2...
2009 Apr 30
42
[PATCH 00/39] ocfs2: Add reflink file support. V3
...racle.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/2...
2023 Mar 07
1
[PATCH 2/3] ocfs2: don't use write_one_page in ocfs2_duplicate_clusters_by_page
...ange of the dirty page instead of write_one_page in preparation of removing write_one_page and eventually ->writepage. Signed-off-by: Christoph Hellwig <hch at lst.de> Reviewed-by: Jan Kara <jack at suse.cz> Reviewed-by: Joseph Qi <joseph.qi at linux.alibaba.com> --- fs/ocfs2/refcounttree.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/fs/ocfs2/refcounttree.c b/fs/ocfs2/refcounttree.c index 5a656dc683f108..564ab48d03effa 100644 --- a/fs/ocfs2/refcounttree.c +++ b/fs/ocfs2/refcounttree.c @@ -2952,10 +2952,11 @@ int ocfs2_duplicate_clusters_by_page(handl...
2010 Nov 15
2
[PATCH 00/44] remove unnecessary semicolons
...| 2 +- fs/9p/xattr.c | 2 +- fs/ceph/mds_client.c | 2 +- fs/logfs/readwrite.c | 2 +- fs/nfs/getroot.c | 2 +- fs/ocfs2/refcounttree.c | 2 +- fs/ubifs/scan.c | 2 +- include/linux/if_macvlan.h | 2 +- include/net/caif/cfctrl.h | 2 +- mm/hugetlb.c | 2 +- net/ipv6/mc...
2010 Nov 15
2
[PATCH 00/44] remove unnecessary semicolons
...| 2 +- fs/9p/xattr.c | 2 +- fs/ceph/mds_client.c | 2 +- fs/logfs/readwrite.c | 2 +- fs/nfs/getroot.c | 2 +- fs/ocfs2/refcounttree.c | 2 +- fs/ubifs/scan.c | 2 +- include/linux/if_macvlan.h | 2 +- include/net/caif/cfctrl.h | 2 +- mm/hugetlb.c | 2 +- net/ipv6/mc...
2010 Nov 15
2
[PATCH 00/44] remove unnecessary semicolons
...| 2 +- fs/9p/xattr.c | 2 +- fs/ceph/mds_client.c | 2 +- fs/logfs/readwrite.c | 2 +- fs/nfs/getroot.c | 2 +- fs/ocfs2/refcounttree.c | 2 +- fs/ubifs/scan.c | 2 +- include/linux/if_macvlan.h | 2 +- include/net/caif/cfctrl.h | 2 +- mm/hugetlb.c | 2 +- net/ipv6/mc...
2010 Nov 15
2
[PATCH 00/44] remove unnecessary semicolons
...| 2 +- fs/9p/xattr.c | 2 +- fs/ceph/mds_client.c | 2 +- fs/logfs/readwrite.c | 2 +- fs/nfs/getroot.c | 2 +- fs/ocfs2/refcounttree.c | 2 +- fs/ubifs/scan.c | 2 +- include/linux/if_macvlan.h | 2 +- include/net/caif/cfctrl.h | 2 +- mm/hugetlb.c | 2 +- net/ipv6/mc...
2023 Mar 07
3
remove most callers of write_one_page v4
...nges since v1: - drop the btrfs changes (queue up in the btrfs tree) - drop the finaly move to jfs (can't be done without the btrfs patches) - fix the existing minix code to properly propagate errors Diffstat: fs/jfs/jfs_metapage.c | 39 ++++++++++++++++++++++++++++++++++----- fs/ocfs2/refcounttree.c | 9 +++++---- fs/ufs/dir.c | 29 +++++++++++++++++++---------- include/linux/pagemap.h | 6 ------ mm/page-writeback.c | 40 ---------------------------------------- 5 files changed, 58 insertions(+), 65 deletions(-)
2023 Mar 07
0
+ ocfs2-dont-use-write_one_page-in-ocfs2_duplicate_clusters_by_page.patch added to mm-unstable branch
...angqi903 at gmail.com> Cc: Jun Piao <piaojun at huawei.com> Cc: Junxiao Bi <junxiao.bi at oracle.com> Cc: Mark Fasheh <mark at fasheh.com> Cc: Matthew Wilcox (Oracle) <willy at infradead.org> Signed-off-by: Andrew Morton <akpm at linux-foundation.org> --- fs/ocfs2/refcounttree.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) --- a/fs/ocfs2/refcounttree.c~ocfs2-dont-use-write_one_page-in-ocfs2_duplicate_clusters_by_page +++ a/fs/ocfs2/refcounttree.c @@ -2952,10 +2952,11 @@ retry: */ if (PAGE_SIZE <= OCFS2_SB(sb)->s_clustersize) { if (P...
2023 Jan 18
9
remove most callers of write_one_page v3
...ove to jfs (can't be done without the btrfs patches) - fix the existing minix code to properly propagate errors Diffstat: minix/dir.c | 62 +++++++++++++++++++++++++++------------------------ minix/minix.h | 3 +- minix/namei.c | 27 ++++++++++++---------- ocfs2/refcounttree.c | 9 ++++--- sysv/dir.c | 30 +++++++++++++++--------- ufs/dir.c | 29 +++++++++++++++-------- 6 files changed, 94 insertions(+), 66 deletions(-)
2010 Aug 19
0
[GIT PULL] ocfs2 changes for 2.6.36, part 2.
...ode.h | 11 +- fs/ocfs2/ioctl.c | 356 +++++++++++++++++++++++++++++++++++++++++++++++ fs/ocfs2/journal.c | 9 +- fs/ocfs2/journal.h | 3 +- fs/ocfs2/mmap.c | 7 +- fs/ocfs2/ocfs2.h | 23 ++- fs/ocfs2/ocfs2_ioctl.h | 95 +++++++++++++ fs/ocfs2/refcounttree.c | 43 ++++++- fs/ocfs2/refcounttree.h | 7 +- fs/ocfs2/super.c | 51 ++++++- include/linux/fs.h | 2 + 20 files changed, 645 insertions(+), 78 deletions(-)
2010 Oct 22
0
[GIT PULL] ocfs2 changes for 2.6.37
...s2/journal.h | 3 +- fs/ocfs2/mmap.c | 7 +- fs/ocfs2/namei.c | 3 +- fs/ocfs2/ocfs2.h | 63 ++++- fs/ocfs2/ocfs2_fs.h | 46 +++- fs/ocfs2/ocfs2_ioctl.h | 95 ++++++ fs/ocfs2/refcounttree.c | 43 +++- fs/ocfs2/refcounttree.h | 7 +- fs/ocfs2/slot_map.c | 2 +- fs/ocfs2/stack_o2cb.c | 2 + fs/ocfs2/suballoc.c | 16 + fs/ocfs2/super.c | 163 +++++++++-- fs/ocfs2/sysfile.c...
2010 May 20
0
[GIT PULL] ocfs2 updates for 2.6.35
...fs/ocfs2/mmap.c | 48 +-- fs/ocfs2/namei.c | 91 ++--- fs/ocfs2/ocfs2.h | 22 + fs/ocfs2/ocfs2_fs.h | 144 +++++- fs/ocfs2/quota_global.c | 4 +- fs/ocfs2/quota_local.c | 50 +-- fs/ocfs2/refcounttree.c | 74 ++-- fs/ocfs2/refcounttree.h | 4 +- fs/ocfs2/reservations.c | 847 ++++++++++++++++++++++++++++++++ fs/ocfs2/reservations.h | 159 ++++++ fs/ocfs2/resize.c | 19 +- fs/ocfs2/suballoc.c | 688 +++++++...
2010 Jul 16
0
[GIT PULL] Important ocfs2 fixes for 2.6.35
...covery.c | 2 +- fs/ocfs2/file.c | 309 +++++++++++++++++++++++++++++++++++--------- fs/ocfs2/file.h | 6 +- fs/ocfs2/journal.c | 30 ++-- fs/ocfs2/localalloc.c | 7 + fs/ocfs2/quota_global.c | 2 +- fs/ocfs2/quota_local.c | 4 +- fs/ocfs2/refcounttree.c | 12 ++ fs/ocfs2/suballoc.c | 2 +- fs/ocfs2/xattr.c | 200 +++++++++++++++++++--------- include/linux/jbd2.h | 11 +- 16 files changed, 504 insertions(+), 224 deletions(-)
2013 Nov 26
3
[PATCH] Remove versioning information
...uper.c index c414929..a4382d1 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c @@ -68,7 +68,6 @@ #include "super.h" #include "sysfile.h" #include "uptodate.h" -#include "ver.h" #include "xattr.h" #include "quota.h" #include "refcounttree.h" @@ -1618,8 +1617,6 @@ static int __init ocfs2_init(void) { int status, i; - ocfs2_print_version(); - for (i = 0; i < OCFS2_IOEND_WQ_HASH_SZ; i++) init_waitqueue_head(&ocfs2__ioend_wq[i]); diff --git a/fs/ocfs2/ver.c b/fs/ocfs2/ver.c deleted file mode 100644 index e2488f4....
2010 Sep 07
1
[GIT PULL] ocfs2 fixes for 2.6.36.
...1a2f3118082c455eef25f9b1ac7b45). fs/ocfs2/alloc.c | 2 +- fs/ocfs2/blockcheck.c | 4 +- fs/ocfs2/file.c | 15 ++- fs/ocfs2/inode.c | 6 +- fs/ocfs2/mmap.c | 8 +- fs/ocfs2/namei.c | 302 ++++++++++++++++++++++++++++++++++++----------- fs/ocfs2/refcounttree.c | 5 +- fs/ocfs2/suballoc.c | 219 ++++++++++++++++++++++++++++++---- fs/ocfs2/suballoc.h | 21 ++++ 9 files changed, 475 insertions(+), 107 deletions(-)
2010 Nov 03
2
[PATCH 1/2] Ocfs2: Add a new code 'OCFS2_INFO_FREEINODE' for o2info ioctl.
...cfs2_ioctl.h | 11 ++++++ 2 files changed, 106 insertions(+), 0 deletions(-) diff --git a/fs/ocfs2/ioctl.c b/fs/ocfs2/ioctl.c index 7a48681..a60eaec 100644 --- a/fs/ocfs2/ioctl.c +++ b/fs/ocfs2/ioctl.c @@ -23,6 +23,7 @@ #include "ioctl.h" #include "resize.h" #include "refcounttree.h" +#include "sysfile.h" #include <linux/ext2_fs.h> @@ -299,6 +300,96 @@ bail: return status; } +int ocfs2_info_scan_inode_alloc(struct inode *inode_alloc, + struct ocfs2_info_freeinode *fi, __u32 slot) +{ + int status = 0, unlock = 0; + + struct buffer_head *bh =...