cvs commit: src/sys/vfs/hammer Makefile hammer.h hammer_disk.h hammer_flusher.c hammer_inode.c hammer_io.c hammer_object.c hammer_undo.c hammer_vfsops.c hammer_vnops.c

Matthew Dillon dillon at
Tue Apr 22 12:01:29 PDT 2008

dillon      2008/04/22 12:00:15 PDT

DragonFly src repository

  Modified files:
    sys/vfs/hammer       Makefile hammer.h hammer_disk.h 
                         hammer_inode.c hammer_io.c 
                         hammer_object.c hammer_undo.c 
                         hammer_vfsops.c hammer_vnops.c 
  Added files:
    sys/vfs/hammer       hammer_flusher.c 
  HAMMER 37/Many: Add a flush helper thread, clean up some inconsistencies.
  This patch generally cleans up transaction id inconsistencies betwen data
  and meta-data by syncing the data and inode in a single transaction.
  * Change the I/O path for write strategy calls.  Queue the BIO's to the
    flush helper thread instead of directly updating the media.
  * We no longer try to sync individual buffers.  If the kernel wants to
    sync a dirty buffer, we sync the whole file to minimize inode updates.
  Revision  Changes    Path
  1.11      +1 -1      src/sys/vfs/hammer/Makefile
  1.47      +21 -3     src/sys/vfs/hammer/hammer.h
  1.28      +9 -8      src/sys/vfs/hammer/hammer_disk.h
  1.34      +15 -3     src/sys/vfs/hammer/hammer_inode.c
  1.24      +2 -2      src/sys/vfs/hammer/hammer_io.c
  1.40      +2 -1      src/sys/vfs/hammer/hammer_object.c
  1.4       +9 -2      src/sys/vfs/hammer/hammer_undo.c
  1.25      +6 -0      src/sys/vfs/hammer/hammer_vfsops.c
  1.37      +87 -58    src/sys/vfs/hammer/hammer_vnops.c

More information about the Commits mailing list