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
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]