[Ocfs2-tools-commits] branch, ocfs2-tools-1.2, updated. ocfs2-tools-1.2.7-3-g5a1fbb2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Nov 25 22:33:37 PST 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, ocfs2-tools-1.2 has been updated
       via  5a1fbb28cf8225ca8b730c8bc7782ada41cb7c10 (commit)
      from  09166ad03c83f39f2dcd77c74cd4672c3a371dfa (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 5a1fbb28cf8225ca8b730c8bc7782ada41cb7c10
Author: Tao Ma <tao.ma at oracle.com>
Date:   Thu Nov 20 11:28:06 2008 +0800

    fsck.ocfs2(1.2): Modify e_clusters if it isn't equal to eb contains.
    
    In bug 7553939, we meet with a scenario that the clusters haven't
    been allocated to the extent block(no update) while the inode already
    have the i_clusters and e_clusters updated. The commit
    09166ad03c83f39f2dcd77c74cd4672c3a371dfa has fixed the problem
    of i_clusters corruption, so this one intends to fix e_clusters.
    We calculate the total clusters within the extent block and then
    modify the extent record if it doesn't show the right value.
    
    Please note that to be safe, it only fix the corruption happens in the
    last extent block. If there is any corruption happens in other extent block,
    we don't touch it(actually if we modify it, we may leave a hole there and
    make the system corrupted). The good thing is that in ocfs2-1.2, we don't
    support sparse files, and we only extend files, so if there is one corruption
    like 7553939, it must happen in the last extent block.
    
    One more thing, in ocfs2-1.4, we support sparse files, so it can be handled
    gracefully. So this is only a fix for ocfs2-tools-1.2.
    
    Signed-off-by: Tao Ma <tao.ma at oracle.com>
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

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

Summary of changes:
 fsck.ocfs2/extent.c               |   36 ++++++++++++++++++++++++++++--------
 fsck.ocfs2/fsck.ocfs2.checks.8.in |    7 +++++++
 2 files changed, 35 insertions(+), 8 deletions(-)


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



More information about the Ocfs2-tools-commits mailing list