DragonFly commits List (threaded) for 2008-04
DragonFly BSD
DragonFly commits List (threaded) for 2008-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 22 Apr 2008 12:00:15 -0700 (PDT)

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 
  Log:
  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


http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/Makefile.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer.h.diff?r1=1.46&r2=1.47&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_disk.h.diff?r1=1.27&r2=1.28&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_inode.c.diff?r1=1.33&r2=1.34&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_io.c.diff?r1=1.23&r2=1.24&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_object.c.diff?r1=1.39&r2=1.40&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_undo.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_vfsops.c.diff?r1=1.24&r2=1.25&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_vnops.c.diff?r1=1.36&r2=1.37&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]