From nobody Sat Jan 13 11:26:36 2024 X-Original-To: freebsd-fs@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 4TBx1s0b0kz57NM0; Sat, 13 Jan 2024 11:26:41 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 4TBx1r6nngz416M; Sat, 13 Jan 2024 11:26:40 +0000 (UTC) (envelope-from lev@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705145201; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0Fdr4uzjf7C7zyO5OUqhOQezm/awGUebrNwjg9w/yv4=; b=E0DbIk/kJFtBS8Dgix8ZZSrbtP+X6EbpRLN+OUfZ8cjKK7a4DsyUJe3wJoR86zP3cZ62N9 R+cAf/D6iFawSBK+T91DHQsRWgnsW7oixLCsa1x8KArO7tNd17QRX1sBLZjt2bMFre+/8K tGhGczuaMoAzK0WmrFkG8xATh3yB4yH0pDOCfZN0bZOd8fKkculrYhA78WLKM1xrqUsEzL Q9WFY8WIl6aCRNRXTcpme4t4GfOO//tzlqsKLZf/V5c+GafAngG/0+KOpPUzL9OQ+RYTEh aS38ldngoUceo9Mu6u9jMCbERBKUoutlwahqSLZFaihiEuD6XZ6RBj6Yxof/6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705145200; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0Fdr4uzjf7C7zyO5OUqhOQezm/awGUebrNwjg9w/yv4=; b=h2X5rxIf2vdQel3ijBwMxu776U4o0Zs97oVVdY/cl9gHYt3MsaiJezCaTCrRaFP+kiQ7or mLAEEZEXbsYN8XuAmfFUSazQq+mGreZiwtwR0Byd3EErBu16M0chEWasFWgNPyN95vmwKW 9dijG9EovtecU9imw+p+u51G0484V3xJ97G8tyOmWr16ub0HR/3LdWW0dx5ZL8tKM1wovs 2lLBkmfLZztVMBwnWiqPK8p5yS59xexNpw3vhrPFTedwEAE8+E30iwADeuBBwovxIZpDaE d6IFoWNDdDX2W6+1/ogFJd1pGoEXjFgq+LX2JqW8sWj7nVwPn9PeyT0DP2nRzg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705145201; a=rsa-sha256; cv=none; b=KLeQRfQrrRUlge7tbTic6gri6lwfP89IEHR/KrijJW/cYU9zEunHOJU4ER4a/bVTj7V9yT p1toMgTL02J7yORaCvTZweBnpQDOYtLfUY87DaPWRQsYoz+VxWlp5KWvBc9OlItuMG8vM4 UiZyi6f2XbW3p6kziRa6qPiGvUqctaJl3c040l3qrRpdfnoRpk7e/Uj7PcJDIeyHg6h4d3 lGCzv3GeLpXKQ2+E6QblFxuiJ65PYG73CHmslDb1/gmQMQ4g8Ei1RnEoAvq+c1X1H6tpsm FWjxfO7ayIndMPWtDII3L7nrbJizLwyTzlS4WtNGvXYKoRB6W1jWnG59of6QcA== Received: from onlyone.not-for.work (onlyone.not-for.work [IPv6:2a01:4f8:201:6350::2]) (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 did not present a certificate) (Authenticated sender: lev/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TBx1r561LzGTn; Sat, 13 Jan 2024 11:26:40 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [IPV6:2001:470:923f:3:4829:e77e:ddf2:a093] (unknown [IPv6:2001:470:923f:3:4829:e77e:ddf2:a093]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id 9B3C3642; Sat, 13 Jan 2024 14:26:36 +0300 (MSK) Message-ID: Date: Sat, 13 Jan 2024 12:26:36 +0100 List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: vfs.zfs.compressed_arc_enabled=0 is INCOMPATIBLE with L2ARC at least in FreeBSD 13 (Was: Crash on adding L2ARC to raidz1 pool) From: Lev Serebryakov To: freebsd-fs , freebsd-stable , Warner Losh , Dimitry Andric Reply-To: lev@FreeBSD.org References: <22167ed4-887d-4fe0-b0a6-36312ae38fea@FreeBSD.org> Content-Language: en-US Organization: FreeBSD In-Reply-To: <22167ed4-887d-4fe0-b0a6-36312ae38fea@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 08.01.2024 18:34, Lev Serebryakov wrote: I've found that all my L2ARC problems (live-locks and crashes) are result of OpenZFS bug which can not support L2ARC with un-compressed ARC (vfs.zfs.compressed_arc_enabled=0). It is NOT hardware-depended (and my NVMe is perfectly Ok and healthy) and could be easily reproduced under VM with all-virtual disks. I've opened the ticket in OpenZFS project (https://github.com/openzfs/zfs/issues/15764). Maybe, FreeBSD need ERRATA entry? Previous threads: [1] ZFS pool hangs (live-locks?) after adding L2ARC [2] Crash on adding L2ARC to raidz1 pool -- // Lev Serebryakov