git: HAMMER UTIL - Version 4 part 2/many - UNDO FIFO layout work.

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Nov 1 16:54:23 PST 2009


commit 6aec797f8848c312024e9092b0888f7a98dfdf8d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Nov 1 16:51:16 2009 -0800

    HAMMER UTIL - Version 4 part 2/many - UNDO FIFO layout work.
    
    * newfs_hammer now formats the UNDO FIFO space to conform with version 4
      filesystems.
    
    * newfs_hammer now creates a version 3 filesystem by default (instead of 2).
    
    * Fix bug in blockmap lookup code.  The wrong hammer offset was being used
      to validate the freemap zone.  It only effected UNDO zone offsets.
    
    * Add the 'show-undo' directive which dumps the UNDO FIFO space.

Summary of changes:
 sbin/hammer/blockmap.c |    4 +-
 sbin/hammer/cmd_show.c |   71 ++++++++++++++++++++++++++++++++++++++++++++++++
 sbin/hammer/hammer.c   |    5 +++
 sbin/hammer/hammer.h   |    1 +
 sbin/hammer/ondisk.c   |   41 +++++++++++++++++++++++++++
 5 files changed, 120 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6aec797f8848c312024e9092b0888f7a98dfdf8d


-- 
DragonFly BSD source repository





More information about the Commits mailing list