[Ocfs2-tools-commits] branch, master, updated. ocfs2-tools-1.4.0-196-ga93731c

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Sun Oct 26 19:08:30 PDT 2008


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  a93731c164d024e0016520a1f4cd8f9007d7c05e (commit)
       via  be97d03c04f7290bfbcda1653acfeb8742764649 (commit)
       via  c3c87098c17d29a7ac3a03a3815be6482139f670 (commit)
       via  a312842dd7b91264a8cc2cff1f07e2be6b8dce8a (commit)
       via  e2a34b40d0ac0da13c1559648eece8768c75ef03 (commit)
       via  ce0e3f93f91f5c7d886d0f617db5d22006161715 (commit)
      from  800923a8071e4bc519c41871ba03e7310b6a79b3 (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 a93731c164d024e0016520a1f4cd8f9007d7c05e
Author: Tao Ma <tao.ma at oracle.com>
Date:   Mon Oct 27 01:10:50 2008 +0800

    fsck.ocfs2: Do slot recovery.
    
    In fsck.ocfs2, add the ability of slot recovery in fsck.ocfs2.
    The whole process will work like this:
    1. Replay journal for all slots.
    2. Apply the truncate log and local alloc bits. Look for inconsistency.
       If any inconsistency, force a full fsck.
    3. If non-force fsck, replay orphan dirs. If error, force a full fsck.
       If not, go to step 6.
    4. If force fsck, fsck the entire fs.
    5. Remove the entries in orphan dirs.
    6. Reset the slot map and the journal dirty flags.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit be97d03c04f7290bfbcda1653acfeb8742764649
Author: Tao Ma <tao.ma at oracle.com>
Date:   Tue Oct 7 12:51:31 2008 +0800

    fsck.ocfs2: Add replay orphan dir in slot recovery.
    
    In o2fsck_pass4, we replay orphan dir. Now in slot recovery, we also
    want to replay it, so export it from pass4. There is only one diffrence.
    In slot recovery, we should exit the replay process if we meet with any
    error, while in pass4, we should go on the process.
    We also need to clear the link count of these dirs in the end during
    slot recovery.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit c3c87098c17d29a7ac3a03a3815be6482139f670
Author: Tao Ma <tao.ma at oracle.com>
Date:   Tue Oct 7 12:53:38 2008 +0800

    fsck.ocfs2: Add the clear journal flag function.
    
    Add the clear journal flag function in fsck.ocfs2.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit a312842dd7b91264a8cc2cff1f07e2be6b8dce8a
Author: Tao Ma <tao.ma at oracle.com>
Date:   Tue Oct 7 12:50:32 2008 +0800

    fsck.ocfs2: Add local alloc free process.
    
    Add local alloc free process in fsck.ocfs2.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit e2a34b40d0ac0da13c1559648eece8768c75ef03
Author: Tao Ma <tao.ma at oracle.com>
Date:   Thu Oct 9 12:18:58 2008 +0800

    fsck.ocfs2: Add truncate_log clear process.
    
    Add functions in fsck.ocfs2 to clear the truncate_log
    for all the nodes.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

commit ce0e3f93f91f5c7d886d0f617db5d22006161715
Author: Tao Ma <tao.ma at oracle.com>
Date:   Thu Sep 18 22:54:28 2008 +0800

    libocfs2: Add ocfs2_test_clusters.
    
    Add ocfs2_test_clusters in libocfs2 which test the allocation
    status of clusters in the global_bitmap.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

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

Summary of changes:
 fsck.ocfs2/Makefile                |    2 +
 fsck.ocfs2/fsck.c                  |   80 ++++++++++++++-
 fsck.ocfs2/include/fsck.h          |    4 +-
 fsck.ocfs2/include/journal.h       |    4 +-
 fsck.ocfs2/include/pass4.h         |    1 +
 fsck.ocfs2/include/slot_recovery.h |   30 +++++
 fsck.ocfs2/include/util.h          |    5 +
 fsck.ocfs2/journal.c               |   38 +++++++-
 fsck.ocfs2/pass4.c                 |   68 +++++++++----
 fsck.ocfs2/slot_recovery.c         |  205 ++++++++++++++++++++++++++++++++++++
 fsck.ocfs2/util.c                  |   45 ++++++++
 include/ocfs2/ocfs2.h              |    5 +
 libocfs2/alloc.c                   |   42 ++++++++
 13 files changed, 503 insertions(+), 26 deletions(-)
 create mode 100644 fsck.ocfs2/include/slot_recovery.h
 create mode 100644 fsck.ocfs2/slot_recovery.c


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



More information about the Ocfs2-tools-commits mailing list