cvs commit: src/sys/vfs/ufs ffs_softdep.c

Matthew Dillon dillon at
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 
  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

More information about the Commits mailing list