DragonFly commits List (threaded) for 2005-07
cvs commit: src/sys/vfs/ufs ffs_softdep.c softdep.h
dillon 2005/07/31 15:25:46 PDT
DragonFly src repository
sys/vfs/ufs ffs_softdep.c softdep.h
Stephan believes that this patch, just committed to FreeBSD, may fix
softupdates deadlocks reported by Tomaz Borstnar. Symptoms were basically
that the syncer would block in getblk() after approximately 1 weeks operation
under moderate filesystem load due to a softupdates-locked indirect block
buffer which was never being released. This would prevent file blocks
from being freed and cause the filesystem to appear to fill up. The problem
was originally believed to be a bug in the IPS driver, but turns out not to
This will be MFCd to RELEASE once testing is complete.
FreeBSD commit msg:
Delay freeing disk space for file system blocks until all dirty buffers
are safely released. This fixes softdep problems on truncation
(deletion) of files with dirty buffers.
Testing-by: =?ISO-8859-2?Q?Toma=BE_Bor=B9tnar?= <tomaz.borstnar@xxxxxxxx>
Taken-from: FreeBSD / ffs_softdep.c 1.182.
Original-Author: Stephan Uphoff <ups@xxxxxxxx> (FreeBSD)
Revision Changes Path
1.27 +19 -0 src/sys/vfs/ufs/ffs_softdep.c
1.4 +1 -0 src/sys/vfs/ufs/softdep.h