[Ocfs2-tools-commits] branch, dups, created. ocfs2-tools-1.4.0-367-g881691c

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Jul 29 16:16:11 PDT 2009


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, dups has been created
        at  881691c8d04608c45c8596a6b17718ce24f702c1 (commit)

- Log -----------------------------------------------------------------
commit 881691c8d04608c45c8596a6b17718ce24f702c1
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Jul 29 11:40:19 2009 -0700

    fsck.ocfs2: When pass1d deletes an inode, update o2fsck state.
    
    When an inode is deleted in pass1d, we need to tell fsck's built-up
    state that the inode is gone.  Otherwise, fsck will try to link it to
    lost+found.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 22f1aa7c91771b36805988ef63ee60b4bd661d89
Author: Joel Becker <joel.becker at oracle.com>
Date:   Fri Jul 24 18:06:42 2009 -0700

    fsck.ocfs2: Clone dup inodes.
    
    Inodes that share multiply-claimed clusters can now be duplicated.  By
    copying the inode data off to other clusters, this removes the multiple
    claims on the original clusters.
    
    We also implement deleting inodes that share multiply claimed clusters,
    but that isn't quite done yet.  It needs to handle the unlink.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit b1e2024f5f3c3300719d2ac98d90cea3c048157d
Author: Joel Becker <joel.becker at oracle.com>
Date:   Wed Jul 22 17:15:50 2009 -0700

    libocfs2: Allow callers to specify the free_clusters routine in ocfs2_truncate
    
    o2fsck wants to call ocfs2_truncate but handle freeing the clusters
    itself.  Rather than reimplementing the truncate code in fsck, we create
    ocfs2_truncate_full() that can take a free_clusters() routine.
    ocfs2_truncate() just calls ocfs2_truncate_full() with a NULL routine
    pointer.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 4de6d2f21cf10cb064edaa1cc10f447cb6f29ac9
Author: Joel Becker <joel.becker at oracle.com>
Date:   Sun Jul 19 01:20:18 2009 -0700

    fsck.ocfs2: Copy a clone of duped inodes
    
    One of the solutions to multiply-claimed clusters is to clone an inode
    claiming them.  Here we create a temporary inode and copy the data to
    it.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit add8552d325fb7a1f6e33a8de2f393bb6a8eb675
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Jun 25 15:12:19 2009 -0700

    fsck.ocfs2: Separate the clone prompts for system files.
    
    We want a separate system file prompt so that we can describe the
    difference between system files and regular files.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 413cd1a0120855bc3b789947bb1cd2120f8fc8e0
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Jun 25 15:04:31 2009 -0700

    fsck.ocfs2: HANDLED, not HANDELED.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit f5d626e6610d9c38cbd71f8846f9d7b72998237b
Author: Joel Becker <joel.becker at oracle.com>
Date:   Sat Jun 13 19:34:47 2009 -0700

    fsck.ocfs2: Prompt for dup fixes
    
    For each inode claiming shared clusters, ask about cloning or deleting
    them.
    
    Chain allocators are skipped, as they are not safe to clone or delete.
    They are very location specific.  If they are sharing with another chain
    allocator, pass0 should have handled it.  If they are sharing with a
    regular inode, that inode can be cloned or deleted.
    
    The other system files can be cloned but not deleted.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 9f2f63fdfaf955184f01f97a1fcd9d7f87242c7e
Author: Joel Becker <joel.becker at oracle.com>
Date:   Sat Jun 13 17:04:54 2009 -0700

    fsck.ocfs2: Flesh out the reporting portion of pass 1D.
    
    If a cluster has more than one owner, print out the files that own
    it.  This is information prior to correction of the problem.
    
    How can a cluster we determined to be multiply-claimed have only one
    owner?  If reconciling a different cluster pass has removed another
    owner, this one may be left with only one.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 7c55b871952b678d3578fd29190841d5a0cd15c3
Author: Joel Becker <joel.becker at oracle.com>
Date:   Sat Jun 13 16:01:35 2009 -0700

    fsck.ocfs2: Reorganize pass1b.c for reading
    
    Highlight the different passes, move the cleanup of the context with
    other operations on the context.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 440641c3a18bca392e1f7a4f4fe8b1dc44205f16
Author: Joel Becker <joel.becker at oracle.com>
Date:   Thu Jun 11 21:22:56 2009 -0700

    fsck.ocfs2: Scan for inode names.
    
    Pass 1C scans the directory tree to provide names for any inode owning
    multiply-claimed clusters.  This allows Pass 1D to print readable names
    when asking questions.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit ff06669467d8e758ce6eec453820f604568b0b4c
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Jun 9 20:27:32 2009 -0700

    fsck.ocfs2: Free the duplicate context.
    
    We have rb trees of all our duplicate cluster cleanups.  Free them
    before we go on to pass 2.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 11a724a8978fa5a1ea1c2f7bbe11bee74c0f0826
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Jun 9 18:52:14 2009 -0700

    fsck.ocfs2: Print '1b' to be consistent with other passes.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 5d9998ccc51010547c35f9e60ddab9f5fd332d77
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Jun 9 18:47:28 2009 -0700

    fsck.ocfs2: Pass 1B scans extended attributes.
    
    Walk the xattr values stored in the inode.  Walk the xattr values stored
    in an xattr block.  Walk the xattr buckets hanging off an xattr block.
    Walk the xattr values stored in those buckets.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 1712ad4f953072cd5680104237d58f239d6e00b0
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Jun 9 17:49:10 2009 -0700

    fsck.ocfs2: Scan chains in Pass 1B.
    
    Add the chain scan to Pass 1B.  This tracks any multiply-claimed
    clusters pointed to by a chain allocator.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 270ffd7f072a3c9619b3160cdb0d5496644d1966
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Jun 9 15:02:56 2009 -0700

    fsck.ocfs2: Start Pass 1B.  Track data extents.
    
    Pass 1B builds up data structures describing every cluster claimed by
    multiple objects.  It knows what inodes own the cluster, and it knows
    what inodes have multiply claimed clusters.
    
    This first cut does data extents.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit e51dc7b69ea9d104a419a503e811909ba2b5a37d
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Jun 9 11:43:20 2009 -0700

    fsck.ocfs2: Add a comment about the cluster bitmaps in pass1.c
    
    Just to update the documentation.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit c94680b7464b028940f9afbfa41f6d762660ea5c
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Jun 9 11:21:59 2009 -0700

    fsck.ocfs2: Remove the unused ost_bad_inodes bitmap.
    
    We allocate a bitmap of bad inodes.  We test it in pass 2.  But we
    never, ever set a bit in it.
    
    It looks to be cloned from e2fsck.  In e2fsck, they don't fix invalid
    inode fields in pass 1.  They just mark the inode in the bad map.
    Later, in pass2, they test the bad map and fix the fields there.  The
    advantage is that they can print a pathname.
    
    That's a major rework for o2fsck, so we're just going to remove the
    unused bad map for now.  If someone wants to add it back later, they
    can.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 0c6b478811492555b3537ec8e7f17616ee7cfb9e
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Jun 9 10:31:47 2009 -0700

    fsck.ocfs2: Better reporting of dups
    
    Put a nice verbosef() in there.  This helps in tracking the dups via
    fsck -n.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit 871724f04843101b7b361a710befe8657b6491ee
Author: Joel Becker <joel.becker at oracle.com>
Date:   Tue Jun 9 10:18:13 2009 -0700

    fsck.ocfs2: Add o2fsck_abort()
    
    When a void function wants to exit o2fsck, it can't just exit(1).  o2fsck
    may have cluster state and locks that need cleaning.  o2fsck_abort()
    will send SIGTERM to fsck, thus triggering a clean abort.
    
    Signed-off-by: Joel Becker <joel.becker at oracle.com>

commit f3f44db5a7545f109152d1fc98d19c69b8e19378
Author: Joel Becker <joel.becker at oracle.com>
Date:   Mon Jun 8 16:55:03 2009 -0700

    allocate and use duplicate clusters bitmap
    
    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