cvs commit: src/sys/kern vfs_bio.c
    Matthew Dillon 
    dillon at crater.dragonflybsd.org
       
    Thu Jul 17 17:01:28 PDT 2008
    
    
  
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
    
    
More information about the Commits
mailing list