From owner-freebsd-stable@FreeBSD.ORG Sun Jul 27 14:50:17 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C1C862F0 for ; Sun, 27 Jul 2014 14:50:17 +0000 (UTC) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 535FA22DB for ; Sun, 27 Jul 2014 14:50:17 +0000 (UTC) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [78.138.80.135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id s6REoFxY097773; Sun, 27 Jul 2014 16:50:15 +0200 (CEST) (envelope-from h.schmalzbauer@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 2B6CA3C7D; Sun, 27 Jul 2014 16:50:15 +0200 (CEST) Message-ID: <53D511A6.4010102@omnilan.de> Date: Sun, 27 Jul 2014 16:50:14 +0200 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Konstantin Belousov Subject: Re: panic/lock on 9.3-RELEASE with nullfs/nfs/zfs combination References: <53D12973.3010805@omnilan.de> <20140724165917.GT93733@kib.kiev.ua> <53D1503B.2030200@omnilan.de> <20140724193048.GU93733@kib.kiev.ua> <53D2006C.7090207@omnilan.de> <20140725151448.GY93733@kib.kiev.ua> <53D380B2.2080700@omnilan.de> <20140726114839.GF93733@kib.kiev.ua> <53D5105A.6040204@omnilan.de> In-Reply-To: <53D5105A.6040204@omnilan.de> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5758C921C65484B103C64573" X-Greylist: ACL 119 matched, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [78.138.80.130]); Sun, 27 Jul 2014 16:50:15 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: 78.138.80.135; Sender-helo: mh0.gentlemail.de; ) Cc: FreeBSD Stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jul 2014 14:50:17 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5758C921C65484B103C64573 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Bez=C3=BCglich Harald Schmalzbauer's Nachricht vom 27.07.2014 16:44 (localtime): > =E2=80=A6 >> After that, you could try the patch which I posted at winter, but whic= h >> was not tested. I do not know whether it is of any help, and I do need= >> the debugging information with the patch above before I can make any >> conclusions. >> >> diff --git a/sys/fs/nullfs/null_subr.c b/sys/fs/nullfs/null_subr.c >> index fa6c4af..3f74579 100644 >> --- a/sys/fs/nullfs/null_subr.c >> +++ b/sys/fs/nullfs/null_subr.c >> @@ -251,6 +251,7 @@ null_nodeget(mp, lowervp, vpp) >> vp->v_type =3D lowervp->v_type; >> vp->v_data =3D xp; >> vp->v_vnlock =3D lowervp->v_vnlock; >> + vp->v_vflag =3D lowervp->v_vflag & VV_ROOT; >> error =3D insmntque1(vp, mp, null_insmntque_dtr, xp); >> if (error !=3D 0) >> return (error); > I tested this without the ldvp-debug patch and besides the same > ufs/devds LOR nothing else happens with my usual simple end limited tes= t. One thing to note: With the first rw-open on the nullfs-mount, there's always a almost 1 second dely on an otherwise incredibly responsive machine. That delay happens always after a reboot, and never after first rw-opened any file, regardless if I rw-open the same or a different file on the nullfs-mount. Is that something to worry about? Or a simple reason I can understand? Thanks, -Harry --------------enig5758C921C65484B103C64573 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAlPVEaYACgkQLDqVQ9VXb8joEQCcC2bwmlpd7+ZeywOGbKwgNfuf n2EAoKCaK4kDFUHZik8LxyZffE+9YfYs =iArG -----END PGP SIGNATURE----- --------------enig5758C921C65484B103C64573--