cvs commit: src/sys/kern vfs_bio.c src/sys/sys buf.h src/usr.bin/systat vmstat.c

Matthew Dillon dillon at
Sat Jun 28 16:47:19 PDT 2008

dillon      2008/06/28 16:45:20 PDT

DragonFly src repository

  Modified files:
    sys/kern             vfs_bio.c 
    sys/sys              buf.h 
    usr.bin/systat       vmstat.c 
  Fix hopefully all possible deadlocks that can occur when mixed block sizes
  are used with the buffer cache.  The fix is simply to base the limiting
  and flushing code on a byte count rather then a buffer count.
  This will allow UFS to utilizes a greater number of dirty buffers and
  will cause HAMMER to use fewer.  This also makes tuning the buffer cache
  a whole lot easier.
  Revision  Changes    Path
  1.107     +87 -124   src/sys/kern/vfs_bio.c
  1.50      +1 -1      src/sys/sys/buf.h
  1.10      +4 -4      src/usr.bin/systat/vmstat.c

More information about the Commits mailing list