From owner-cvs-all Wed Jan 12 23:20: 5 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 44CBB1551B; Wed, 12 Jan 2000 23:20:03 -0800 (PST) (envelope-from mckusick@FreeBSD.org) Received: (from mckusick@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA08441; Wed, 12 Jan 2000 23:20:03 -0800 (PST) (envelope-from mckusick@FreeBSD.org) Message-Id: <200001130720.XAA08441@freefall.freebsd.org> From: Kirk McKusick Date: Wed, 12 Jan 2000 23:20:02 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/contrib/softupdates ffs_softdep.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk mckusick 2000/01/12 23:20:02 PST Modified files: sys/contrib/softupdates ffs_softdep.c Log: Because cylinder group blocks are now written in background, it is no longer sufficient to get a lock on a buffer to know that its write has been completed. We have to first get the lock on the buffer, then check to see if it is doing a background write. If it is doing background write, we have to wait for the background write to finish, then check to see if that fullfilled our dependency, and if not to start another write. Luckily the explanation is longer than the fix. Revision Changes Path 1.49 +14 -4 src/sys/contrib/softupdates/ffs_softdep.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message