Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jan 2000 11:32:27 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Peter Wemm <peter@netplex.com.au>
Cc:        current@FreeBSD.ORG
Subject:   Update to ffs_softdep.c 1.50 or better (was Re: softupdates still broken!)
Message-ID:  <200001131932.LAA82477@apollo.backplane.com>
References:   <20000113152835.30EA01CA0@overcee.netplex.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

:Your mileage may vary, but the following seems to work for me, for this
:part at least.
:
:Index: sys/contrib/softupdates/ffs_softdep.c
:===================================================================
:RCS file: /home/ncvs/src/sys/contrib/softupdates/ffs_softdep.c,v
:retrieving revision 1.49
:diff -u -r1.49 ffs_softdep.c
:--- sys/contrib/softupdates/ffs_softdep.c	2000/01/13 07:20:01	1.49
:+++ sys/contrib/softupdates/ffs_softdep.c	2000/01/13 15:27:25
:@@ -4563,7 +4563,9 @@
: 			if (waitfor != MNT_WAIT)
: 				return (0);
: 			bp->b_xflags |= BX_BKGRDWAIT;
:+			FREE_LOCK_INTERLOCKED(&lk);
: 			tsleep(&bp->b_xflags, PRIBIO, "getbuf", 0);
:+			ACQUIRE_LOCK_INTERLOCKED(&lk);
: 			if (bp->b_xflags & BX_BKGRDINPROG)
: 				panic("getdirtybuf: still writing");
: 			continue;
:
:
:Cheers,
:-Peter
:--
:Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au

    Kirk has committed this plus the fix to the 'flush 3' panic plus
    the fix to the 'update failed' panic.

    Everyone using softupdates should upgrade to 
    sys/contrib/softupdates/ffs_softdep.c 1.50 or better.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001131932.LAA82477>