cvs commit: src/sys/vfs/ufs ffs_softdep.c
    Matthew Dillon 
    dillon at crater.dragonflybsd.org
       
    Sun Dec  4 22:17:35 PST 2005
    
    
  
dillon      2005/12/04 22:13:16 PST
DragonFly src repository
  Modified files:
    sys/vfs/ufs          ffs_softdep.c 
  Log:
  Fix a bug in our RB_SCAN calls.  A critical section is required to
  protect the RB tree against I/O completions.  Also do not abort a scan
  if an I/O completion moves a buffer off the dirty list and onto the clean
  list while we are trying to lock it.
  
  There is a small chance that this bug could have resulted in dirty buffers
  being left intact after being freed from the filesystem bitmap, which in
  turn can cause filesystem corruption (dirbad and other panics).
  
  Note that this was a DragonFly-only bug.
  
  Revision  Changes    Path
  1.32      +30 -8     src/sys/vfs/ufs/ffs_softdep.c
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_softdep.c.diff?r1=1.31&r2=1.32&f=u
    
    
More information about the Commits
mailing list