From owner-cvs-src@FreeBSD.ORG Fri Mar 10 08:18:34 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 597D216A420; Fri, 10 Mar 2006 08:18:34 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id A874943D45; Fri, 10 Mar 2006 08:18:33 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 84233519C4; Fri, 10 Mar 2006 09:18:31 +0100 (CET) Received: from localhost (dkm195.neoplus.adsl.tpnet.pl [83.24.16.195]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id CFBA2509F1; Fri, 10 Mar 2006 09:18:24 +0100 (CET) Date: Fri, 10 Mar 2006 09:17:52 +0100 From: Pawel Jakub Dawidek To: Tor Egge Message-ID: <20060310081752.GC12357@garage.freebsd.pl> References: <200603082343.k28Nhd7T053744@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5G06lTa6Jq83wMTw" Content-Disposition: inline In-Reply-To: <200603082343.k28Nhd7T053744@repoman.freebsd.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern vfs_mount.c vfs_subr.c vfs_vnops.c src/sys/sys mount.h vnode.h src/sys/ufs/ffs ffs_extern.h ffs_softdep.c ffs_vfsops.c src/sys/ufs/ufs ufs_inode.c ufs_quota.c ufsmount.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2006 08:18:34 -0000 --5G06lTa6Jq83wMTw Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 08, 2006 at 11:43:39PM +0000, Tor Egge wrote: +> tegge 2006-03-08 23:43:39 UTC +>=20 +> FreeBSD src repository +>=20 +> Modified files: +> sys/kern vfs_mount.c vfs_vnops.c vfs_subr.c=20 +> sys/sys vnode.h mount.h=20 +> sys/ufs/ffs ffs_extern.h ffs_softdep.c ffs_vfsops.c=20 +> sys/ufs/ufs ufs_inode.c ufs_quota.c ufsmount.h=20 +> Log: +> Use vn_start_secondary_write() and vn_finished_secondary_write() as a +> replacement for vn_write_suspend_wait() to better account for secondar= y write +> processing. +> =20 +> Close race where secondary writes could be started after ffs_sync() re= turned +> but before the file system was marked as suspended. +> =20 +> Detect if secondary writes or softdep processing occurred during vnode= sync +> loop in ffs_sync() and retry the loop if needed. When exactly new 'suspended' argument for ffs_sbupdate() should be set to 1? When I call ffs_sbupdate() after calling vfs_write_suspend(), should I set it to 1? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --5G06lTa6Jq83wMTw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEETYwForvXbEpPzQRAqutAJ96Vnizw4HDwgEP2+aV7hbNimhL1wCgnI2y Tt1oCAyBjR1I7x3AzL3cdfg= =En6A -----END PGP SIGNATURE----- --5G06lTa6Jq83wMTw--