[Ocfs2-tools-commits] branch, master, updated. ocfs2-tools-1.4.0-89-g2bc32db

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Jul 8 17:32:29 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  2bc32dbf370bc97deff18a5c42cf2cda64888593 (commit)
      from  5e25ead5975fa8fbd0629eeb818684e21e9a2804 (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 2bc32dbf370bc97deff18a5c42cf2cda64888593
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Jul 8 16:49:04 2008 -0700

    libocfs2: Prevent journals from being truncated below their minimum size.
    
    The function ocfs2_make_journal() is the major API for sizing a journal.
    It is used both to grow and shrink journals.
    
    When shrinking a journal, it currently truncates the file before calling
    ocfs2_format_journal().  Only then is the new size checked against the
    miniumum.  If it is too small, ocfs2_make_journal() aborts.  This leaves
    the journal with too small an allocation.
    
    The fix is to have ocfs2_make_journal() do a quick size check up front.
    This prevents a journal from being left in an invalid state.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

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

Summary of changes:
 libocfs2/mkjournal.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)


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



More information about the Ocfs2-tools-commits mailing list