[Ocfs2-tools-commits] branch, master, updated. ocfs2-tools-1.4.0-670-g7260225

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Jul 15 11:14:41 PDT 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  72602256a621e6454b9c640663779f8416e007e8 (commit)
       via  5c8a58b5875b9140efd44c078120650f30795910 (commit)
       via  a0f42289fabf28d2822ad6688a400a435fbad13f (commit)
      from  9bab4bd296e47dd30080671ef8106c4cdc4ff25d (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 72602256a621e6454b9c640663779f8416e007e8
Author: Goldwyn Rodrigues <rgoldwyn at gmail.com>
Date:   Fri Jul 15 11:10:51 2011 -0700

    debugfs.ocfs2: Correct range check of ocfs2_read_backup_super()
    
    debugfs.ocfs2 is unable to access the backup at block[0] of the offset array.
    This is because of the incorrect range check and evaluation of block offset.
    Correct the range check and usage of the function.
    
    Not sure if I am changing the convention on how you perceive the block indexes
    here though. In any case, I am following the fsck.ocfs2 user interface
    [1,sbnum], and internally [0,sbnum).
    
    Signed-off-by: Goldwyn Rodrigues  <rgoldwyn at suse.de>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 5c8a58b5875b9140efd44c078120650f30795910
Author: Goldwyn Rodrigues <rgoldwyn at suse.de>
Date:   Fri Jul 15 11:10:50 2011 -0700

    debugfs.ocfs2: Swap to little-endian before computing metaecc
    
    debugfs.ocfs2 disables metaecc checks while reading the blocks so as to allow
    it to show blocks that have incorrect metaecc. Such blocks are shown with their
    current and expected metaecc values.
    
    To do that, it has to compute it manually. But it encounters a problem in that
    the metadata blocks have already been swapped to the cpu format in the read
    routine. The metaecc compute only works in the little-endian format.
    
    This patch teaches debugfs to detect all metadata blocks and swap their
    elements to the little endian format before computing the metaecc.
    
    Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit a0f42289fabf28d2822ad6688a400a435fbad13f
Author: Sunil Mushran <sunil.mushran at oracle.com>
Date:   Fri Jul 15 11:10:32 2011 -0700

    libocfs2: Define FS_IOC_FIEMAP
    
    Add definition of FS_IOC_FIEMAP to allow it to build on older build environments.
    
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

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

Summary of changes:
 debugfs.ocfs2/commands.c      |    2 +-
 debugfs.ocfs2/dump.c          |   64 ++++++++++++++++++++++++++++++++++
 debugfs.ocfs2/include/utils.h |    1 +
 debugfs.ocfs2/journal.c       |   77 -----------------------------------------
 debugfs.ocfs2/utils.c         |   77 +++++++++++++++++++++++++++++++++++++++++
 include/ocfs2-kernel/fiemap.h |    4 ++
 include/ocfs2/ocfs2.h         |    3 ++
 libocfs2/backup_super.c       |    2 +-
 libocfs2/dirblock.c           |    4 +-
 9 files changed, 153 insertions(+), 81 deletions(-)


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



More information about the Ocfs2-tools-commits mailing list