From owner-cvs-all Sun Jan 9 15:15: 1 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 D493F14D49; Sun, 9 Jan 2000 15:14:59 -0800 (PST) (envelope-from mckusick@FreeBSD.org) Received: (from mckusick@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA33223; Sun, 9 Jan 2000 15:14:59 -0800 (PST) (envelope-from mckusick@FreeBSD.org) Message-Id: <200001092314.PAA33223@freefall.freebsd.org> From: Kirk McKusick Date: Sun, 9 Jan 2000 15:14:58 -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/09 15:14:58 PST Modified files: sys/contrib/softupdates ffs_softdep.c Log: Reorganize softdep_fsync so that it only does the inode-is-flushed check before the inode is unlocked while grabbing its parent directory. Once it is unlocked, other operations may slip in that could make the inode-is-flushed check fail. Allowing other writes to the inode before returning from fsync does not break the semantics of fsync since we have flushed everything that was dirty at the time of the fsync call. Revision Changes Path 1.42 +23 -27 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