[Ocfs2-tools-commits] branch, master, updated. ocfs2-tools-1.4.0-187-gecf7ad3

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Oct 16 14:25:11 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  ecf7ad3f79f809ca5c6d1d8aa43ae48c4ae5df8a (commit)
       via  11c8b5f214a4dc0b71c6f14f5f12cf53f3dd2741 (commit)
       via  4589598f5f89aff1843fc1ca24f642f0ff2788c9 (commit)
       via  247d4944a96b2f66227416aab05a88d0612d94b0 (commit)
       via  e3812adde6eb0eb33df5f20e2ba0c9b27e41ffe1 (commit)
       via  639838f03eba297782aeb8248cf725163d686887 (commit)
       via  42e50ad1267693b2c502fb0e9781c09440039817 (commit)
       via  688fb1ad9152249e271bb2ea0a4cb1201343ec26 (commit)
       via  c46403f308be07f9a12c49cc415c5d46bc166156 (commit)
       via  33b091a025d5cf596f7db6ee8c2fec6a19f8ea1d (commit)
      from  fba06d158641379a30a1adf49721c2c7c602a7ee (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 ecf7ad3f79f809ca5c6d1d8aa43ae48c4ae5df8a
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Sep 9 16:57:00 2008 -0700

    mkfs.ocfs2: Add 64bit journal support.
    
    The [no]block32 and [no]block64 journal options are added to mkfs -J.
    noblock32 and block64 will create 64bit-capable journals.
    
    With block64 enabled journals, the filesystem can be created larger than
    2^32 blocks.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 11c8b5f214a4dc0b71c6f14f5f12cf53f3dd2741
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Sep 9 17:13:53 2008 -0700

    libocfs2: Support 64bit journals.
    
    libocfs2 is ensured to check the journal feature bits before continuing
    via the COMPAT_JBD2_SB filesystem feature.  fsck.ocfs2 can replay and
    recover 64bit journals.  tunefs.ocfs2 copies journal feature bits when
    creating new slots.  We are now safe to mark the feature bit supported.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 4589598f5f89aff1843fc1ca24f642f0ff2788c9
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Sep 9 16:54:59 2008 -0700

    fsck.ocfs2: Fix feature bits, handle bad first journal.
    
    fsck.ocfs2 needs to make the feature bits consistent across all
    journals.
    
    While we're there, we can fix the fact that fsck.ocfs2 implicitly trusts
    the first journal file.  If the first journal is corrupt, it exits and
    refuses to repair the filesystem.
    
    Instead, we create a two-pass journal check scheme.  In the first pass,
    all journals are checked.  If we can find a sane disposition from one of
    them, we can then go about fixing all of them.
    
    Included in this patch is fixing journal superblock feature bits.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 247d4944a96b2f66227416aab05a88d0612d94b0
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Sep 8 22:19:12 2008 -0700

    mkfs.ocfs2: Add FEATURE_COMPAT_JBD2_SB.
    
    All filesystems that support FEATURE_COMPAT_JBD2_SB can handle journal
    superblock features.  We use this feature to prevent older fsck/tunefs
    from loading journal features they don't understand (since they never
    checked).  The code at this point will check for unknown features, and
    it doesn't know any.  Thus it can safely fsck/tune JBD2_SB filesystems
    it creates.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit e3812adde6eb0eb33df5f20e2ba0c9b27e41ffe1
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Sep 9 16:38:52 2008 -0700

    libocfs2: Add features to ocfs2_make_journal()
    
    When we create/modify journals, we basically rewrite them.  The
    ocfs2_make_journal() function now takes the set of features we want in
    the journal.
    
    mkfs.ocfs2 and fsck.ocfs2 are updated but only sets an empty feature
    set.
    
    tunefs.ocfs2 now checks the feature bits and is smart enough to copy the
    feature set from other journals.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 639838f03eba297782aeb8248cf725163d686887
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Sep 9 16:56:25 2008 -0700

    libocfs2: Set and clear journal features.
    
    This adds functions to set and clear feature bits in the journal
    superblock.  Features are checked against the known feature set.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 42e50ad1267693b2c502fb0e9781c09440039817
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri Sep 5 15:47:44 2008 -0700

    fsck.ocfs2: Replay 64bit journals.
    
    Properly handle the new 64bit journal_block_tag_t.  This includes
    fsck.ocfs2's replay and debugfs.ocfs2's display.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 688fb1ad9152249e271bb2ea0a4cb1201343ec26
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Sep 8 16:53:13 2008 -0700

    libocfs2: Check for unsupported features in the journal superblock.
    
    ocfs2_read_journal_superblock() should fail if it finds unsupported
    features.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit c46403f308be07f9a12c49cc415c5d46bc166156
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri Sep 5 15:22:20 2008 -0700

    fsck.ocfs2: Move to JBD2 header and structures.
    
    Change all defines and structures to JBD2 structures.  This is backwards
    compatible with the JBD journals, and is capable of handling even the
    oldest ocfs2 filesystems.
    
    The only major functional change is to use journal_tag_size() instead of
    sizeof(journal_block_tag_t) when walking the descriptor block.
    fsck.ocfs2 and debugfs.ocfs2 are updated.
    
    We deliberately put JBD2_FEATURE_INCOMPAT_REVOKE in the set of known
    features.  We've never checked the feature set (we're about to), but
    we've always supported revoke.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>

commit 33b091a025d5cf596f7db6ee8c2fec6a19f8ea1d
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Sep 9 18:31:30 2008 -0700

    mkfs.ocfs2: Fix a bug in COMPAT_BACKUP_SUPER handling.
    
    The backup superblock handling tried to clear the backup super bit with
    
        opt_compat &= !OCFS2_FEATURE_COMPAT_BACKUP_SUPER
    
    However, ! is not the same as ~.  Fix it.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>
    Signed-off-by: Tao Ma <tao.ma at oracle.com>

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

Summary of changes:
 debugfs.ocfs2/dump.c            |   24 ++-
 debugfs.ocfs2/include/dump.h    |    3 +-
 debugfs.ocfs2/journal.c         |   26 ++-
 debugfs.ocfs2/utils.c           |   36 ++--
 fsck.ocfs2/journal.c            |  392 +++++++++++++++++++++++++++++++--------
 include/ocfs2-kernel/ocfs2_fs.h |    8 +-
 include/ocfs2/jbd.h             |  124 ------------
 include/ocfs2/jbd2.h            |  180 ++++++++++++++++++
 include/ocfs2/ocfs2.h           |   11 +-
 libocfs2/feature_string.c       |   10 +-
 libocfs2/mkjournal.c            |  101 ++++++++++-
 mkfs.ocfs2/mkfs.c               |   61 +++++-
 mkfs.ocfs2/mkfs.h               |    1 +
 mkfs.ocfs2/mkfs.ocfs2.8.in      |   18 ++
 tunefs.ocfs2/libocfs2ne.c       |   54 ++++--
 15 files changed, 774 insertions(+), 275 deletions(-)
 delete mode 100644 include/ocfs2/jbd.h
 create mode 100644 include/ocfs2/jbd2.h


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



More information about the Ocfs2-tools-commits mailing list