[Ocfs2-tools-commits] branch, master, updated. ocfs2-tools-1.4.0-605-ga348e45

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Jan 19 00:19:18 PST 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Tools to manage the ocfs2 filesystem.".

The branch, master has been updated
       via  a348e455cc8633d08e6e45ebb4cceb3824570368 (commit)
       via  8bd579552923cc00d5325fdc532d2980aec8cf0c (commit)
       via  56e34ec288ae6d276688502ab3b9937ba970c95b (commit)
       via  af0e1d10addc278663b7a5a021e5c42a026e2655 (commit)
      from  bc448f7919eefd2a46d30b795d5a24f8172c44fe (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a348e455cc8633d08e6e45ebb4cceb3824570368
Author: Tao Ma <tao.ma at oracle.com>
Date:   Tue Sep 21 16:55:38 2010 +0800

    libocfs2: add ocfs2_block_to_cluster_start and use it.
    
    In kernel, we use ocfs2_block_to_cluster_start in
    ocfs2_dx_dir_rebalance to rebalance the dx entries.
    The libocfs2 uses the wrong ocfs2_blocks_to_clusters
    which cause error in the following ocfs2_read_dx_leaves.
    
    So add ocfs2_block_to_cluster_start and use it.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 8bd579552923cc00d5325fdc532d2980aec8cf0c
Author: Tao Ma <tao.ma at oracle.com>
Date:   Tue Sep 21 16:55:37 2010 +0800

    libocfs2: Fix return value of ocfs2_dx_dir_insert.
    
    ocfs2_dx_dir_insert is used to add the correponding info
    to the indexed dir. It has 2 callers by now and these 2
    callers have different problems.
    1. The callback function used in ocfs2_dir_iterate. In
       case we find an error in this callback, we should set
       OCFS2_DIRENT_ABORT, so that ocfs2_process_dir_entry
       can test it and return immediately.
    2. In ocfs2_dx_dir_insert_entry. When we find the return
       value is wrong, the right error is stored in ctxt.err.
    
    So fix these 2 problems.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 56e34ec288ae6d276688502ab3b9937ba970c95b
Author: Tao Ma <tao.ma at oracle.com>
Date:   Tue Sep 21 16:55:36 2010 +0800

    tunefs.ocfs2: Skip add dir trailer in some cases.
    
    We should skip inlined dir when either the dir is inlined
    or it already has one(in case of metaecc enabled).
    
    The old solution causes a segfault in tunefs_install_dir_trailer
    because we don't setup our_tc while returning success in
    tunefs_prepare_dir_trailer.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit af0e1d10addc278663b7a5a021e5c42a026e2655
Author: Tao Ma <tao.ma at oracle.com>
Date:   Tue Sep 21 16:55:35 2010 +0800

    libocfs2: Return error if we find an inline file in extent_iterate_inode.
    
    In ocfs2_extent_iterate_inode, we should check whether the
    caller gives us an inlined file, if yes, we should return
    error to it.
    
    The old indexed dir func did call it when it is inlined. So
    we should return error earilier. This bug will be fixed later.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

-----------------------------------------------------------------------

Summary of changes:
 include/ocfs2/ocfs2.h     |   12 ++++++++++++
 libocfs2/dir_indexed.c    |    6 ++++--
 libocfs2/extents.c        |    3 +++
 tunefs.ocfs2/libocfs2ne.c |    4 ++++
 4 files changed, 23 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Tools to manage the ocfs2 filesystem.



More information about the Ocfs2-tools-commits mailing list