From owner-cvs-src@FreeBSD.ORG Fri Jun 2 23:58:15 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 1BADC16A422; Fri, 2 Jun 2006 23:58:15 +0000 (UTC) (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 7413C43D45; Fri, 2 Jun 2006 23:58:13 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 1FD6351389; Sat, 3 Jun 2006 01:58:12 +0200 (CEST) Received: from localhost (unknown [10.1.0.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 3E07D51387; Sat, 3 Jun 2006 01:58:06 +0200 (CEST) Date: Sat, 3 Jun 2006 01:55:55 +0200 From: Pawel Jakub Dawidek To: Craig Rodrigues Message-ID: <20060602235555.GA55243@garage.freebsd.pl> References: <200606022029.k52KT2el024554@repoman.freebsd.org> <20060602222536.GA45547@crodrigues.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: <20060602222536.GA45547@crodrigues.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=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham 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 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, 02 Jun 2006 23:58:15 -0000 --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 02, 2006 at 06:25:36PM -0400, Craig Rodrigues wrote: +> On Fri, Jun 02, 2006 at 08:29:02PM +0000, Pawel Jakub Dawidek wrote: +> > pjd 2006-06-02 20:29:02 UTC +> >=20 +> > FreeBSD src repository +> >=20 +> > Modified files: +> > sys/kern vfs_mount.c=20 +> > Log: +> > Fix a problem introduced in revision 1.220. On mount(2) failure, don= 't +> > forget to unbusy file system before its destruction. +> > =20 +> > This fixes the following warning on mount failure: +> > =20 +> > Mount point had 1 dangling refs +> > =20 +> > Tested by: wkoszek +> > =20 +> > Revision Changes Path +> > 1.226 +6 -5 src/sys/kern/vfs_mount.c +>=20 +>=20 +> Does this problem fix the slight delay that you get when +> doing a mount or update mount with a bad mount option? +>=20 +> For example: +>=20 +> mount -u -o nonexistentopt /mymount Yes, vfs_mount_destroy() waits 3 seconds if there is a dangling reference. Now there is no such reference when the function is called. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEgNALForvXbEpPzQRAupyAKDXXTCFmPE0syUVzT7F5+/iVvNZcgCgj6wh WjxNns7KoFDETtqH0q30RLY= =8/Z2 -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF--