cvs commit: src/sbin/newfs_hammer newfs_hammer.c src/sys/vfs/hammer Makefile hammer.h hammer_alist.c hammer_alist.h hammer_disk.h hammer_io.c hammer_object.c hammer_ondisk.c hammer_recover.c hammer_subs.c

Matthew Dillon dillon at
Tue Jan 8 16:47:18 PST 2008

dillon      2008/01/08 16:46:22 PST

DragonFly src repository

  Modified files:
    sbin/newfs_hammer    newfs_hammer.c 
    sys/vfs/hammer       Makefile hammer.h hammer_alist.c 
                         hammer_alist.h hammer_disk.h hammer_io.c 
                         hammer_object.c hammer_ondisk.c 
  Added files:
    sys/vfs/hammer       hammer_recover.c 
  HAMMER 16/many - Recovery infrastructure, misc bug fixes
  * Add A-list recovery and iteration support.  This code fixes up an A-list
    which might have been partially modified or gotten out of sync.
  * Add substantial cluster recovery infrastructure (not yet enabled).  The
    code still needs to go through a few test/debug cycles and does not
    yet handle cluster pushes.
  * Fix a critical section and a bug in the A-list empty-check code (the
    latter not yet used by HAMMER but will be soon).  The wrong base free
    block count was being supplied.
  * Add a synchronizing transaction id field to the cluster header.  This
    field will be used by the recovery code.
  * For the moment add a bitmap of buffers allocated to record arrays.  The
    bitmap is in the cluster header.  This may or may not be temporary.  For
    now it will allow the recovery code to wipe the cluster's A-list's and
    then iterate records to regenerate them.
  Revision  Changes    Path
  1.13      +1 -0      src/sbin/newfs_hammer/newfs_hammer.c
  1.5       +2 -1      src/sys/vfs/hammer/Makefile
  1.20      +4 -0      src/sys/vfs/hammer/hammer.h
  1.7       +417 -6    src/sys/vfs/hammer/hammer_alist.c
  1.4       +16 -0     src/sys/vfs/hammer/hammer_alist.h
  1.15      +22 -3     src/sys/vfs/hammer/hammer_disk.h
  1.13      +7 -5      src/sys/vfs/hammer/hammer_io.c
  1.16      +10 -2     src/sys/vfs/hammer/hammer_object.c
  1.17      +113 -16   src/sys/vfs/hammer/hammer_ondisk.c
  1.11      +3 -1      src/sys/vfs/hammer/hammer_subs.c

More information about the Commits mailing list