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

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

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 4 Dec 2005 22:13:16 -0800 (PST)

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


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