[Ocfs2-tools-commits] branch, master, updated. ocfs2-tools-1.4.0-711-g9092c22

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Nov 10 13:55:06 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  9092c2225f8ed3e62016d52d8ef2c0fdc0986556 (commit)
       via  146afccd2f2fa102657d30cd2879c7660727b311 (commit)
       via  9e0055d37093e4db50d29061e8482d720582155d (commit)
       via  d2429e11e9da60c8a233753eacdda1b1e36deaab (commit)
       via  a0d84d2bb5abf0eb87b9c50e05be61c0c2ab1e03 (commit)
       via  fd10e390e3c5a5981b53fab06f95d1e1ff981b7a (commit)
      from  d45856e4a75348c1e3b44dc510c6b7f07b88a36f (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 9092c2225f8ed3e62016d52d8ef2c0fdc0986556
Author: Goldwyn Rodrigues <rgoldwyn at gmail.com>
Date:   Wed Nov 9 11:33:45 2011 -0800

    fswreck: Remove duplicate functions
    
    mess_up_dir_ent, mess_up_dir_dot and mess_up_dir_dotdot are
    the same. Remove the duplicates mess_up_dir_dot and mess_up_dir_dotdot
    
    Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 146afccd2f2fa102657d30cd2879c7660727b311
Author: Goldwyn Rodrigues <rgoldwyn at gmail.com>
Date:   Wed Nov 9 11:33:40 2011 -0800

    fsck.ocfs2: Fix EXTENT_OVERLAP errors
    
    Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit 9e0055d37093e4db50d29061e8482d720582155d
Author: Goldwyn Rodrigues <rgoldwyn at gmail.com>
Date:   Wed Nov 9 11:33:15 2011 -0800

    fswreck: Add EXTENT_OVERLAP and EXTENT_HOLE
    
    EXTENT_OVERLAP creates a file with extents overlapped, so that there
    could be multiple extents for a given extent.
    
    EXTENT_HOLE creates a file with a hole. This is not a corruption.
    I added it to check that DIR_HOLE does not correct files with holes.
    This can also be used to check sparse files in nosparse filesystem
    option.
    
    Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit d2429e11e9da60c8a233753eacdda1b1e36deaab
Author: Goldwyn Rodrigues <rgoldwyn at gmail.com>
Date:   Wed Nov 9 11:31:38 2011 -0800

    fsck.ocfs2: Fix index of directories
    
    In case the i_size of the directory changes, reset the dx_root of the
    inode, so it may be later detected for index directory rebuilds. In
    pass2, if the filesystem supports directory indexing, rebuild directory
    indexes.
    
    I used this method because otherwise we will have to bounce
    dirblock_data struct between passes. The dirblock_data is used only in
    pass1.
    
    This also helps the patchset - avoiding EROFS on index dir corruptions.
    http://oss.oracle.com/pipermail/ocfs2-devel/2011-August/008312.html
    
    Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit a0d84d2bb5abf0eb87b9c50e05be61c0c2ab1e03
Author: Goldwyn Rodrigues <rgoldwyn at gmail.com>
Date:   Wed Nov 9 10:52:15 2011 -0800

    fsck.ocfs2: Fix holes in directories
    
    Calculate the expected offset as the extent tree is traversed and
    compare with the offset in the extent record. If the file is not
    supposed to have holes, such as directories, prompt and correct it.
    
    Currently no_holes is set for directories only.
    
    I agree this is an ugly hack which bounces variables to the extent
    traversal functions, but it gets the job done.
    
    Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit fd10e390e3c5a5981b53fab06f95d1e1ff981b7a
Author: Goldwyn Rodrigues <rgoldwyn at gmail.com>
Date:   Wed Nov 9 10:51:21 2011 -0800

    fswreck: Create holes in directories
    
    Create two directories and add files alternatively in both directories.
    Increment the cpos of the [0]th and [1]th extent record and increase
    the filesize. This creates the hole in the starting, middle and end of
    the directory.
    
    Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

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

Summary of changes:
 fsck.ocfs2/extent.c               |   84 ++++++++++++++++++++++++++++++++----
 fsck.ocfs2/fsck.ocfs2.checks.8.in |   12 +++++
 fsck.ocfs2/include/extent.h       |    7 +++-
 fsck.ocfs2/pass1.c                |    2 +-
 fsck.ocfs2/pass2.c                |   13 ++++-
 fsck.ocfs2/refcount.c             |   16 ++++---
 fsck.ocfs2/xattr.c                |    5 +-
 fswreck/corrupt.c                 |   21 ++++++---
 fswreck/dir.c                     |   86 ++++++++++++++++++++-----------------
 fswreck/extent.c                  |   26 +++++++++++
 fswreck/include/corrupt.h         |    1 +
 fswreck/include/fsck_type.h       |    3 +
 fswreck/main.c                    |    6 +++
 13 files changed, 215 insertions(+), 67 deletions(-)


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



More information about the Ocfs2-tools-commits mailing list