From nobody Sat Jan 13 22:16:38 2024 X-Original-To: freebsd-stable@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 4TCCTq1wMdz56nvr for ; Sat, 13 Jan 2024 22:18:23 +0000 (UTC) (envelope-from li-fbsd@citylink.dinoex.sub.org) Received: from uucp.dinoex.org (uucp.dinoex.org [IPv6:2a0b:f840::12]) (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 "uucp.dinoex.sub.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TCCTn3wmNz4WJy for ; Sat, 13 Jan 2024 22:18:21 +0000 (UTC) (envelope-from li-fbsd@citylink.dinoex.sub.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of li-fbsd@citylink.dinoex.sub.org designates 2a0b:f840::12 as permitted sender) smtp.mailfrom=li-fbsd@citylink.dinoex.sub.org; arc=pass ("uucp.dinoex.org:s=M20221114:i=1") Received: from uucp.dinoex.org (uucp.dinoex.org [IPv6:2a0b:f840:0:0:0:0:0:12]) by uucp.dinoex.org (8.18.0.2/8.17.2) with ESMTPS id 40DMI6SC064068 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 13 Jan 2024 23:18:06 +0100 (CET) (envelope-from li-fbsd@citylink.dinoex.sub.org) ARC-Seal: i=1; a=rsa-sha256; d=uucp.dinoex.org; s=M20221114; t=1705184289; cv=none; b=SmFMlEB+CDXFRLRiJUr2/Ns4e8A4UoAKrHLLuT0hR1dkWjKamS7krgAWZ8vo0Z8V8hDiVqAtJZTWzwjZXdWww1kORN4MCIm6tNwnQdWeHGgVJBMcA0b2SXUf6NIA4aY84DDIoZWm4ClEgQVDgCuZqAl/hedPd+cZInoFydh4CBE= ARC-Message-Signature: i=1; a=rsa-sha256; d=uucp.dinoex.org; s=M20221114; t=1705184289; c=relaxed/simple; bh=y4zmz3Ahy9c43FHPrspoLkvyUMX6owRAlitSBngI3UU=; h=Received:Received:Received:X-Authentication-Warning:From: X-Newsgroups:Subject:Date:Message-ID:References:MIME-Version: Content-Type:Content-Transfer-Encoding:Injection-Date: Injection-Info:User-Agent:To:X-Milter:X-Greylist; b=IDM1KsC+XZJqLbz0k4ltZd7bldBPH/L+naxBHhtxz5N5J8mKof2QLp/OcivzS+H03/6jnL7fBdNJqS65X5rKbWiI3SD96vrrGoYxnxtijmxI1aEha89Jgaap494cAd3A1d4gH3r9JWfHCZzlYaoV4BIcNqy6LYGvFCNDxoYNUVY= ARC-Authentication-Results: i=1; uucp.dinoex.org X-MDaemon-Deliver-To: Received: (from uucp@localhost) by uucp.dinoex.org (8.18.0.2/8.17.2/Submit) with UUCP id 40DMI6vg064067 for freebsd-stable@freebsd.org; Sat, 13 Jan 2024 23:18:06 +0100 (CET) (envelope-from li-fbsd@citylink.dinoex.sub.org) Received: from admn.intra.daemon.contact (localhost [127.0.0.1]) by admn.intra.daemon.contact (8.17.1/8.17.1) with ESMTPS id 40DMGkMN055437 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 13 Jan 2024 23:16:47 +0100 (CET) (envelope-from li-fbsd@citylink.dinoex.sub.org) Received: from intra.daemon.contact (news@localhost) by admn.intra.daemon.contact (8.17.1/8.17.1/Submit) with NNTP id 40DMGco5055369 for freebsd-stable@freebsd.org; Sat, 13 Jan 2024 23:16:38 +0100 (CET) (envelope-from li-fbsd@citylink.dinoex.sub.org) X-Authentication-Warning: admn.intra.daemon.contact: news set sender to li-fbsd@citylink.dinoex.sub.org using -f From: "Peter 'PMc' Much" X-Newsgroups: m2n.fbsd.stable Subject: Re: vfs.zfs.compressed_arc_enabled=0 is INCOMPATIBLE with L2ARC at least in FreeBSD 13 (Was: Crash on adding L2ARC to raidz1 pool) Date: Sat, 13 Jan 2024 22:16:38 -0000 (UTC) Message-ID: References: <22167ed4-887d-4fe0-b0a6-36312ae38fea@FreeBSD.org> List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 13 Jan 2024 22:16:38 -0000 (UTC) Injection-Info: admn.intra.daemon.contact; logging-data="48704"; mail-complaints-to="usenet@citylink.dinoex.sub.org" User-Agent: slrn/1.0.3 (FreeBSD) To: freebsd-stable@freebsd.org X-Milter: Spamilter (Reciever: uucp.dinoex.org; Sender-ip: 0:0:2a0b:f840::; Sender-helo: uucp.dinoex.org;) X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (uucp.dinoex.org [IPv6:2a0b:f840:0:0:0:0:0:12]); Sat, 13 Jan 2024 23:18:09 +0100 (CET) X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; ARC_ALLOW(-1.00)[uucp.dinoex.org:s=M20221114:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[pmc@citylink.dinoex.sub.org,li-fbsd@citylink.dinoex.sub.org]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_XAW(0.00)[]; ASN(0.00)[asn:205376, ipnet:2a0b:f840::/32, country:DE]; FROM_NEQ_ENVFROM(0.00)[pmc@citylink.dinoex.sub.org,li-fbsd@citylink.dinoex.sub.org]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[sub.org]; RCVD_TLS_LAST(0.00)[]; TO_DN_NONE(0.00)[] X-Rspamd-Queue-Id: 4TCCTn3wmNz4WJy On 2024-01-13, Alexander Burke wrote: > Hello, > > It looks like the issue is fixed in OpenZFS 2.2 (and thus in FreeBSD 14-RELEASE): > > https://github.com/openzfs/zfs/issues/15764#issuecomment-1890491789 > > Cheers, > Alex > ---------------------------------------- > > Jan 13, 2024 12:26:50 Lev Serebryakov : > >> 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 > > Just for the records, there is a note in my loader.conf: > vfs.zfs.compressed_arc_enabled="1" # 27.7.17: since R11.1 l2_cksum_errs if 0 Apparently I didn't bother to open a ticket, since the general stance was that one shouldn't mess with the defaults. The more interesting question might be how we managed to improve from checksum-errors (that were otherwise harmless) to "live-locks and crashes" ;)