[Ocfs2-tools-commits] branch, jbd2, created. ocfs2-tools-1.4.0-181-g68f9596

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Sep 9 17:48:00 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, jbd2 has been created
        at  68f9596b88f3abb3b2e565c7b5e885d00591ad51 (commit)

- Log -----------------------------------------------------------------
commit 68f9596b88f3abb3b2e565c7b5e885d00591ad51
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>

commit 0583bfc11ef5e6030c3e5e8dc175610ea945335f
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>

commit ffa517638690894137db6fc758a3234b8f9f43ec
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>

commit 95981aa6ce19221bda057e6594965d4073b0b242
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>

commit ef54404bfda59eefe67043757f5fbcb773f3a0c6
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>

commit 2ba804c6e29b2b35f583e27b9e21369f7e994119
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>

commit a888443d5f1e767cbbfc32bf5a4ac4802d9dbe51
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>

commit aba8206d3a26c1dd9f539690393a57bdc7496ffd
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>

commit 3aa333891a41b7746e81c9f457c184e48d2a4712
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>

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


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



More information about the Ocfs2-tools-commits mailing list