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

cvs commit: src/sys/kern vfs_bio.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 Jul 2008 10:31:08 -0700 (PDT)

dillon      2008/07/07 10:31:08 PDT

DragonFly src repository

  Modified files:
    sys/kern             vfs_bio.c 
  Log:
  UFS+softupdates can build up thousands of dirty 1K buffers and run out
  of buffers before it even hits the lodirtybufspace point.  The buf_daemon
  is never triggered.  This case occurs rarely but can be triggered e.g.
  by a cvs update.
  
  Add dirtybufcount back in and flush if it exceeds (nbuf / 2) to handle
  this degenerate case.
  
  Reported-by: "Sepherosa Ziehau" <sepherosa@gmail.com>
  
  Revision  Changes    Path
  1.110     +35 -12    src/sys/kern/vfs_bio.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_bio.c.diff?r1=1.109&r2=1.110&f=u



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