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: Thu, 17 Jul 2008 17:01:12 -0700 (PDT)

dillon      2008/07/17 17:01:11 PDT

DragonFly src repository

  Modified files:
    sys/kern             vfs_bio.c 
  Log:
  Make some adjustments to the buffer cache:
  
  * Retain B_ERROR instead of clearing it.
  
  * Change B_ERROR's behavior.  It no longer causes the buffer to be
    invalidated on write.
  
  * Change B_NOCACHE's behavior.  It no longer causes the buffer to be
    invalidated while the buffer is marked dirty.
  
  * Code that was supposed to re-dirty a failed write buffer in brelse()
    was not running because biodone() cleared the fields brelse() was
    testing.  Move the code to biodone().
  
  * When attempting to reflush B_DELWRI|B_ERROR'd buffers, sleep a tick
    to try to avoid a live-lock.
  
  Revision  Changes    Path
  1.113     +41 -27    src/sys/kern/vfs_bio.c


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



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