From owner-cvs-all Wed Jan 12 23:17:49 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 3B79E14F0C; Wed, 12 Jan 2000 23:17:47 -0800 (PST) (envelope-from mckusick@FreeBSD.org) Received: (from mckusick@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA08252; Wed, 12 Jan 2000 23:17:46 -0800 (PST) (envelope-from mckusick@FreeBSD.org) Message-Id: <200001130717.XAA08252@freefall.freebsd.org> From: Kirk McKusick Date: Wed, 12 Jan 2000 23:17:41 -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:17:41 PST Modified files: sys/contrib/softupdates ffs_softdep.c Log: A panic occurs during an fsync when a dirty block associated with a vnode has not been written (which would clear certain of its dependencies). The problems arises because fsync with MNT_NOWAIT no longer pushes all the dirty blocks associated with a vnode. It skips those that require rollbacks, since they will just get instantly dirty again. Such skipped blocks are marked so that they will not be skipped a second time (otherwise circular dependencies would never clear). So, we fsync twice to ensure that everything will be written at least once. Revision Changes Path 1.48 +8 -5 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