From nobody Thu Aug 10 12:14:42 2023 X-Original-To: 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 4RM5TJ57FGz4mB8p for ; Thu, 10 Aug 2023 12:14:44 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (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) by mx1.freebsd.org (Postfix) with ESMTPS id 4RM5TH5Hwlz3F1K for ; Thu, 10 Aug 2023 12:14:43 +0000 (UTC) (envelope-from pi@freebsd.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 2001:14f8:200::1 is neither permitted nor denied by domain of pi@freebsd.org) smtp.mailfrom=pi@freebsd.org; dmarc=none Received: from pi by home.opsec.eu with local (Exim 4.95 (FreeBSD)) (envelope-from ) id 1qU4Ys-00083N-F2 for current@freebsd.org; Thu, 10 Aug 2023 14:14:42 +0200 Date: Thu, 10 Aug 2023 14:14:42 +0200 From: Kurt Jaeger To: current@freebsd.org Subject: Re: ZFS deadlock in 14 Message-ID: <20230810121442.GC11506@home.opsec.eu> References: <86leeltqcb.fsf@ltc.des.no> <20230810102733.GB11506@home.opsec.eu> 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230810102733.GB11506@home.opsec.eu> X-Spamd-Result: default: False [-2.58 / 15.00]; NEURAL_HAM_LONG(-0.98)[-0.983]; NEURAL_HAM_SHORT(-0.96)[-0.961]; NEURAL_HAM_MEDIUM(-0.63)[-0.632]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[current@freebsd.org]; ASN(0.00)[asn:12502, ipnet:2001:14f8::/32, country:DE]; ARC_NA(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all:c]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[pi]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[freebsd.org]; TO_DN_NONE(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[] X-Spamd-Bar: -- X-Rspamd-Queue-Id: 4RM5TH5Hwlz3F1K Hi! > > At some point between 42d088299c (4 May) and f0c9703301 (26 June), a > > deadlock was introduced in ZFS. It is still present as of 9c2823bae9 (4 > > August) and is 100% reproducable just by starting poudriere bulk in a > > 16-core VM and waiting a few hours until deadlkres kicks in. > > I have a amd based builder, 32 cores, run 437e1e37dfca from > Thu Jul 27 01:26:39 CEST 2023 and do not see those crashes. > > zpool get feature@block_cloning zroot > NAME PROPERTY VALUE SOURCE > zroot feature@block_cloning enabled local se@ told me about yet another tunable 8-) sysctl vfs.zfs.bclone_enabled vfs.zfs.bclone_enabled: 0 So while it's enabled in ZFS itself, it's not really active in my system. -- pi@opsec.eu +49 171 3101372 Now what ?