cvs commit: src/sys/vfs/hammer hammer.h hammer_freemap.c hammer_io.c hammer_ondisk.c hammer_reblock.c hammer_undo.c

Matthew Dillon dillon at
Mon Mar 24 16:52:41 PDT 2008

dillon      2008/03/24 16:50:23 PDT

DragonFly src repository

  Modified files:
    sys/vfs/hammer       hammer.h hammer_freemap.c hammer_io.c 
                         hammer_ondisk.c hammer_reblock.c 
  HAMMER 35/many: Stabilization pass, cleanups
  * Fix a buffer load race which could result in an assertion or panic
    related to a referenced HAMMER buffer with a NULL bp.  The problem was
    that the loading flag must be used when releasing the buffer as well
    as when acquiring the buffer.  Change the loading flag to a loading
  * Do not lose flush requests.  The flush request now stays flagged until
    the buffer is able to be flushed.
  * Fix stale blockmap offsets cached in hammer_buffer.  Clear the cached
    offset when freeing a big block from the blockmap.  NOTE: We do not yet
    try to index buffers based on the blockmap offset but we should.
  * Remove the old write ordering code in preparation for redoing the algorithm.
  * General code cleanups.
  Revision  Changes    Path
  1.43      +6 -6      src/sys/vfs/hammer/hammer.h
  1.5       +1 -0      src/sys/vfs/hammer/hammer_freemap.c
  1.23      +19 -57    src/sys/vfs/hammer/hammer_io.c
  1.35      +63 -33    src/sys/vfs/hammer/hammer_ondisk.c
  1.5       +8 -4      src/sys/vfs/hammer/hammer_reblock.c
  1.3       +1 -4      src/sys/vfs/hammer/hammer_undo.c

More information about the Commits mailing list