Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2006 16:02:05 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: vn_start_write(9) recursion ?
Message-ID:  <20060428140205.GD864@garage.freebsd.pl>
In-Reply-To: <20060428120855.GB1270@deviant.kiev.zoral.com.ua>
References:  <20060428120855.GB1270@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

--oj4kGyHlBMXGt3Le
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Apr 28, 2006 at 03:08:55PM +0300, Kostik Belousov wrote:
+> vn_start_write(9) shall not be called recursively (at least, not without
+> V_NOWAIT flag). Otherwise, system may deadlock if vn_write_suspend(9)
+> is called between.

Yes, you are right. Nice catch, actually.

I hacked this patch to detect it:

	http://people.freebsd.org/~pjd/patches/vn_start_write_recursion.patch

And it panics on boot.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--oj4kGyHlBMXGt3Le
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFEUiBdForvXbEpPzQRArhaAKC1iepGOeOKxIQi1CUZ4E94pvZ7wgCfUkJR
zeDv3i7W4PvcOzhL4Lgy65Y=
=DMT9
-----END PGP SIGNATURE-----

--oj4kGyHlBMXGt3Le--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060428140205.GD864>