DragonFly commits List (threaded) for 2005-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/vfs/ufs ffs_softdep.c softdep.h
dillon 2005/07/31 15:25:46 PDT
DragonFly src repository
Modified files:
sys/vfs/ufs ffs_softdep.c softdep.h
Log:
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
be.
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
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_softdep.c.diff?r1=1.26&r2=1.27&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/softdep.h.diff?r1=1.3&r2=1.4&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]