Date: Sat, 3 Jun 2006 01:55:55 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Craig Rodrigues <rodrigc@crodrigues.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern vfs_mount.c Message-ID: <20060602235555.GA55243@garage.freebsd.pl> In-Reply-To: <20060602222536.GA45547@crodrigues.org> References: <200606022029.k52KT2el024554@repoman.freebsd.org> <20060602222536.GA45547@crodrigues.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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 +> > +> > FreeBSD src repository +> > +> > Modified files: +> > sys/kern vfs_mount.c +> > Log: +> > Fix a problem introduced in revision 1.220. On mount(2) failure, don't +> > forget to unbusy file system before its destruction. +> > +> > This fixes the following warning on mount failure: +> > +> > Mount point <X> had 1 dangling refs +> > +> > Tested by: wkoszek +> > +> > Revision Changes Path +> > 1.226 +6 -5 src/sys/kern/vfs_mount.c +> +> +> Does this problem fix the slight delay that you get when +> doing a mount or update mount with a bad mount option? +> +> For example: +> +> 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. -- Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEgNALForvXbEpPzQRAupyAKDXXTCFmPE0syUVzT7F5+/iVvNZcgCgj6wh WjxNns7KoFDETtqH0q30RLY= =8/Z2 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060602235555.GA55243>
