From nobody Thu Nov 25 10:17:39 2021 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8CC5718AE710; Thu, 25 Nov 2021 10:18:00 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "vtr.rulingia.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J0DN80589z4khk; Thu, 25 Nov 2021 10:17:59 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (2001-44b8-31fc-0d00-b5cd-709e-0e8b-19ef.static.ipv6.internode.on.net [IPv6:2001:44b8:31fc:d00:b5cd:709e:e8b:19ef]) by vtr.rulingia.com (8.16.1/8.16.1) with ESMTPS id 1APAHjKo073859 (version=TLSv1.3 cipher=AEAD-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 25 Nov 2021 21:17:50 +1100 (AEDT) (envelope-from peter@rulingia.com) DKIM-Filter: OpenDKIM Filter v2.10.3 vtr.rulingia.com 1APAHjKo073859 X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.16.1/8.16.1) with ESMTPS id 1APAHd0o008101 (version=TLSv1.3 cipher=AEAD-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 25 Nov 2021 21:17:39 +1100 (AEDT) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.16.1/8.16.1/Submit) id 1APAHd0w008100; Thu, 25 Nov 2021 21:17:39 +1100 (AEDT) (envelope-from peter) Date: Thu, 25 Nov 2021 21:17:39 +1100 From: Peter Jeremy To: Konstantin Belousov Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 8ef0c11e7ce7 - main - nfsclient: upgrade vnode lock in VOP_OPEN()/VOP_CLOSE() if we need to flush buffers Message-ID: References: <202111161714.1AGHEtBA084291@gitrepo.freebsd.org> List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="N3wcggWsInNfpQts" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.rulingia.com/keys/peter.pgp X-Rspamd-Queue-Id: 4J0DN80589z4khk X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --N3wcggWsInNfpQts Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2021-Nov-24 13:30:25 +0200, Konstantin Belousov wr= ote: >Please try this, but it may require more work. In particular, watch out >for deadlock: the swapped out pages are busied before swap vnode is locked. >By itself it is fine, but if some other io happens to the swap vnode, it >might become problematic. I've built a few non-trivial ports and run a quick hack where several processes are making the system thrash for about 4 hours without problems. --=20 Peter Jeremy --N3wcggWsInNfpQts Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAmGfYr1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzQcEg//QxHQ8YXNjsViLZyElmiWh+Mz0JTGAyvcA9oqDeonPg9dQjgqAuFYyIGG TK2iPRvcjlXxc0M2hM7LnxYhuf90HJ0wNqOMI3ZH1z9HryIvfinCcndBOKNEM8cg 5P03C00u6n0u+mWO1g50DrhXL/GIALH/nuj/uujz1Y/LJ4QtsVkcOzStgT9vNlWc 0yFS54gPXW+q1SNYtoIu+ZK7pbPl6wJH6gqfCSZl9W7YdrL+TMzVexho2dp+u1BH CFKF/SG3XIYnGL6imZxNPXqp3vMKaIxLUvolEEEULQ0WdAUzhFFHIqCoxZPt83E7 vCGv9Be9wlNqqDq11E1dmeuW33UT54/zhcyn5vDQHgEtA8RrvSlrCInj3+3kfJ2a IsqJhrdbk7SY+tfEQt2Akb+V07lv8+Tr5gnN8R0nciYr5pT4vc/NQwn7dKyMr/OA ZBZGzaF0fA+1IwqaH1GJ+lOTH299xPkXNwO1GM87fja+oziTSVMJ+UcI7kWH2wPu JNBpKzSqAoOkja/WB47COdvnsAdoiAhWQy+59T6Ie+CS/ad9k10O3FsYYjPEdWgM qCf9Sa6enHT9aw3IiOnDpYfrD3eJ+Y8yiOwnr2WKWNhwWK/03hoK66KVp0ieB75U onDmb01QdlQQh9CmCbtDvxpvL0Dp2Bt0YLLZh7lhHzD/b7kWAfo= =1UIU -----END PGP SIGNATURE----- --N3wcggWsInNfpQts--