: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 - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]

    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 
                                        <[EMAIL PROTECTED]>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to