From nobody Fri Sep 08 14:49:25 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 4RhzXm6G4dz4s9xq for ; Fri, 8 Sep 2023 14:49:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-20.consmr.mail.gq1.yahoo.com (sonic305-20.consmr.mail.gq1.yahoo.com [98.137.64.83]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 4RhzXm38srz3NkP for ; Fri, 8 Sep 2023 14:49:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1694184581; bh=2Z4xapkPfoaIRV02NEk0K2X6SgdAMsAIQZ6OJIiM1WA=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=IErHXnYm6XEnxviScSqdDRkm9XU5fGQacR6HQD+i7ushtz3x2c367v7HTthEboOq0BywLZhgzjeMRtdy+fq63ddbGlDG3ug5TidE/ckhZ16VnDJ6G9d96zfFC1cN93NXRVLKYIEkINGAQO60BFFsSUHn1sfmOGZDStd7QBw84izabmAgnadM/qacB2Scx29OFgDmFwnUti9RZ5Ra5oW/x6KDWtXHSsfQe5x66sXpJx77vlqfewDWVaeL1Y7lhDsDmP8uL5UGy/hTgUELFsh/Sgpol6HUj9soUF9iCGDV063xnFAT91/xPowl1fyRMKcFZzuTojyU7Xm0CD/SrY5j+A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1694184581; bh=9mtiyNMeT39N1n22jvLUUl8KGnGKHr+AxXpis9329qC=;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A9FyJtvvVPMcXRbCPXMCnEvUyClIbnBScSPcRMjYX53mOLn2 QvuGDkZG.0XfPt0KPd8YENNdCMs0RLfHXqPJbmQtrbdygfKSlhzuftjnyFmjJ9RFJaxKfj3Jg0HX UqOf8IONNfVKb0jyT_t_7.2Gw2keBdzHLFRo9dQu5WYlQHhV9swZbZW_S4zIEkRPigsuCUQvgd_S qePwnWIE2VH3fASsWDunME3E0ezP34MAxOUEmCX3u55pBg1K2sc_zP0ZeW0fc1GZ.0JPvCMI3FF8 p1duezu74V.hX23ggItL9BdYZtdmsXlSHrxhs85.EmEglugsPEIE20o37gs9QLn3Zjd_MLcHkgvq 93Jv3z00oMZI9ZAroSGKAGf1xk7LSbIbRn2rqH7bRIDGYZ22W6hqnfwApr9TzWknGwGC5OfyVLNq PhpSW_XMK8_CdvDQyZfGrfOR8xgi_9Lkp1rc_LZh.5aUoPDG5nYAgCoZsUIQNaMIga7L2dx8fRUD gM6LfXem6W8SieiRo4l6Thx1DQiLcy5W.sVQe3BdZOfYhoJMPwa91EkLcyI.PQZY1MgofxUq45Fj Zk_HE X-Sonic-MF: X-Sonic-ID: 14158615-367d-4d7b-b367-50df115f91d5 Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Fri, 8 Sep 2023 14:49:41 +0000 Received: by hermes--production-bf1-865889d799-xc84r (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e09beb3c2fbe6fee8a89eb4f2216e9d4; Fri, 08 Sep 2023 14:49:38 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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: main [and, likely, stable/14]: do not set vfs.zfs.bclone_enabled=1 with that zpool feature enabled because it still leads to panics From: Mark Millard In-Reply-To: <15df58d3-4603-132f-112e-d10a6d4419bf@FreeBSD.org> Date: Fri, 8 Sep 2023 07:49:25 -0700 Cc: Alexander Motin , Glen Barber , Current FreeBSD , FreeBSD-STABLE Mailing List , Pawel Jakub Dawidek Content-Transfer-Encoding: quoted-printable Message-Id: <62BE6390-3893-4909-B5A0-A98015FF5083@yahoo.com> References: <7CE2CAAF-8BB0-4422-B194-4A6B0A4BC12C@yahoo.com> <08B7E72B-78F1-4ACA-B09D-E8C34BCE2335@yahoo.com> <20230907184823.GC4090@FreeBSD.org> <4f4e2b68-57e0-a475-e2bd-1f2b8844ebfe@FreeBSD.org> <354C5B8C-4216-4171-B8C2-8E827817F8E5@yahoo.com> <8B8B3707-4B37-4621-8124-D6A77CAF6879@yahoo.com> <15df58d3-4603-132f-112e-d10a6d4419bf@FreeBSD.org> To: Martin Matuska X-Mailer: Apple Mail (2.3731.700.6) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4RhzXm38srz3NkP On Sep 8, 2023, at 06:52, Martin Matuska wrote: > I digged a little and was able to reproduce the panic without = poudriere with a shell script. >=20 > You may want to increase "repeats". > The script causes the panic in dmu_buf_hold_array_by_dnode() on my = VirtualBox with the cat command on 9th iteration. >=20 > Here is the script: >=20 > #!/bin/sh > nl=3D' > ' > = sed_script=3Ds/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbb= bbbbbbbbbb/ > for ac_i in 1 2 3 4 5 6 7; do > sed_script=3D"$sed_script$nl$sed_script" > done > echo "$sed_script" 2>/dev/null | sed 99q >conftest.sed >=20 > repeats=3D8 > count=3D0 > echo -n 0123456789 >"conftest.in" > while : > do > cat "conftest.in" "conftest.in" >"conftest.tmp" > mv "conftest.tmp" "conftest.in" > cp "conftest.in" "conftest.nl" > echo '' >> "conftest.nl" > sed -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || = break > diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break > count=3D$(($count + 1)) > echo "count: $count" > # 10*(2^10) chars as input seems more than enough > test $count -gt $repeats && break > done > rm -f conftest.in conftest.tmp conftest.nl conftest.out . . . (history removed) . . . # uname -apKU FreeBSD amd64-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT amd64 1500000 #0 = main-n265205-03a7c36ddbc0: Thu Sep 7 03:10:34 UTC 2023 = root@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC = amd64 amd64 1500000 1500000 In my test environment with yesterday's snapshot kernel in use and with vfs.zfs.bclone_enabled=3D1 : # ~/bclone_panic.sh count: 1 count: 2 count: 3 count: 4 count: 5 count: 6 count: 7 count: 8 then panic: no 9. =3D=3D=3D Mark Millard marklmi at yahoo.com