From nobody Sat Aug 19 10:31:16 2023 X-Original-To: freebsd-current@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 4RSZm66xHQz4qXKY for ; Sat, 19 Aug 2023 10:31:34 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RSZm667grz3Kyc; Sat, 19 Aug 2023 10:31:34 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692441094; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Wt1HEfafFTUPwO3C67/GMoqFdtkJUZljyw+UDgROb3o=; b=sc1GpupEGpjV5NC7v/+MIKLEjJ92bB0xavVK5CsThjVwacQDjsy3PW3r81tsY9BFiIzOTw HjWrgCly7GCd4t+2gDUlFeJZ3rjE3spIERvGvTGX5at17avKB0o8pwmVSES8mFmRYUhTN1 NlhbQDp5bFOqCF8lKRMldhKTWm0MAQGAmqRxwxny9gSm+0TLKtBZScvp+eWAFSTJFdc+J5 xaNoEv9kTfRqeOSdirLF5nuEza76oBUhONaSWeN0SlbegpfGr3WqOPORjhoyQ/eZ6LWRYA iPgIsFpLbxrkvSnjlJ1oBnaxvbQS/Wl+5Yn62breh39EMnnA1O4GmvSRKxgtLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692441094; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Wt1HEfafFTUPwO3C67/GMoqFdtkJUZljyw+UDgROb3o=; b=QnubFkjKcqJYcvzhX+laWZQuF6nrOLkJD6r0tlqD+vdGMtMJJzzX4TVO5NkBCgyYHhsZIa PfLaDfuud/0ZGcoEFUN5PmCjSyrEQQShoAFQb8unJrlqKKZgufvlshEXVHqO9JekHchzyv xNGuB93Au+B8v3MqT4Sohn7AjlsebK1AkLuOEld/lVz+/K43HXHWeQj01U8V8mZyOHp7z2 xHFA1dl6P+Y1WFMAgQJDZeC3cINsOFxjVM9vOQX5pT4rYTA3c2x1hAoYV4tIfRC5+cEtvB /ckcPWKcKuiBwY4EY0Gk+VOyHR3HuVupncFZOER4Z4c+phHwZvn6s5j6ZKRd3A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692441094; a=rsa-sha256; cv=none; b=G1sZbIkleJn/RVQM6enRk7YGT4eZ3BPyapDkkg7V+9qsH5X59HphjzPPG5+EytXH7ORTru x7QQSGd3C4SUlXyXrzqVJ17VY5wR/d8kIHeE9T9fwKoDpNN9UemAJEsOol8lM5uP9jUOkH GReSZk4Tsj0jtmTJagE/GL0PgTARPlV5XbKyj9i4tMr/jhzaLinQyZnTdk9vRXExvzm5pi TIgAfGLxHp+76I3itrIVA2xqHl1Sy05L9Q6FHtCcJhkSmo995MRB/WeMXa684PZwE4m3gO BZlzO/nwF1e0oBG2MjZ39wVfnchkH41SCVBgdyt5hQj4asJuIEzMvb+ifft2QA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RSZm64RbFz7GQ; Sat, 19 Aug 2023 10:31:34 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id A909566754; Sat, 19 Aug 2023 12:31:31 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_F9250DE6-F7E7-46B9-B25B-455AC1D20BE3"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: ZFS deadlock in 14: without ZIL From: Dimitry Andric In-Reply-To: <9ba2326b-d5de-5faa-edc8-b1cd7235a51c@gmail.com> Date: Sat, 19 Aug 2023 12:31:16 +0200 Cc: freebsd-current@freebsd.org Message-Id: <23BA44D4-8F35-4A0A-87A2-F765FE6D6865@FreeBSD.org> References: <59FCB309-4A55-4924-98C4-7ACCA70FD299.ref@yahoo.com> <59FCB309-4A55-4924-98C4-7ACCA70FD299@yahoo.com> <9ba2326b-d5de-5faa-edc8-b1cd7235a51c@gmail.com> To: Graham Perrin X-Mailer: Apple Mail (2.3731.700.6) --Apple-Mail=_F9250DE6-F7E7-46B9-B25B-455AC1D20BE3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On 19 Aug 2023, at 09:36, Graham Perrin wrote: >=20 > On 19/08/2023 00:03, Mark Millard wrote: >> I believe the below quoted messages were reports of deadlocks >> based on after the following 2 MFV being in place in their >> environments: >>=20 >> Thu, 10 Aug 2023 >> . . . >> =E2=80=A2 git: cd25b0f740f8 - main - zfs: cherry-pick fix from = openzfs Martin Matuska >> =E2=80=A2 git: 28d2e3b5dedf - main - zfs: cherry-pick fix from = openzfs Martin Matuska >>=20 >>=20 >> =E2=80=A6 >=20 > Both were ZIL-related. >=20 > no = ZIL; I never used the feature. The ZIL always exists, but it can be stored on a separate device for performance reasons. See zpoolconcepts(7), the Intent Log section: By default, the intent log is allocated from blocks within the main = pool. However, it might be possible to get better performance using = separate intent log devices such as NVRAM or a dedicated disk. For example: # zpool create pool sda sdb log sdc -Dimitry --Apple-Mail=_F9250DE6-F7E7-46B9-B25B-455AC1D20BE3 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZOCZ9AAKCRCwXqMKLiCW o5DuAJ9iKc/jfYMo1yAdw3h6jR0VIOc5ZACgjKEoVL6hYH6m8j3NWKWISg89QHU= =jS53 -----END PGP SIGNATURE----- --Apple-Mail=_F9250DE6-F7E7-46B9-B25B-455AC1D20BE3--