From nobody Wed Oct 04 23:27:35 2023 X-Original-To: bugs@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 4S19pH5mSkz4wdvM for ; Wed, 4 Oct 2023 23:27:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S19pH3Nctz4fPr for ; Wed, 4 Oct 2023 23:27:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696462055; a=rsa-sha256; cv=none; b=nt5/42jUIdRSXegsYFkeu0Tk3MQKLHcgj3U+TbW5GbvaF85jhI3lJRAqZiNRSPyUkZI3g+ zG+ExCy6urIF7f6jwmDWbQYFPjBMFC4qmvC6ffxeJv0lXk1DCvgg7o8DRjr4brr5aT1kxP z2W1fMK9mQ5xTd8U7h5VVGgrb3YAJu7Pb6wNY+5LhqOVO47ugNKymJr0kaNTQ3pFIS7S3Q 1oaw8xWTkU1IY6eUcQRALvWo3KHTAfI9gmH8ogIGsVaelwqxKQLjB1gUwOK+vxjeAlkihk UBVtKYvR40mNKpOC1BRhoLAi5TdI/ziGrwGYfKdsqcGQ/45TJUy0rrs55ChYlg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696462055; h=from:from: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; bh=utyxl/rmJv+cqFDFo7P6MC0lEUVk/FSqSOTcbp9W6d0=; b=e7QO7aiS+tkoL0E+6kE08bbPvz2Q/aVnQLA5qKSQdGxjQ/PzqIeBER9aNsUyGtHJYeauSz 51e7DRIp/ZXxXEC1D5WAw0O0yzfGkkCzqUs4LS+7/U8hrDt5bCW5A66O+MYsYj98hNXCNC vEcz4h8JctMQIVGdp1+feQAC4MzlrZuhsSPIKsU2fvmSaMgM0GZOJGUnfxhWGF9+cCf3RU emtgobBhB9TxjXpsSXFzo9joleyNxchiRJn8nSLX10v/ayhsH7QYGn5hXaRjLM0UDFMzP2 A0mVj0p204dyvoZz9R8WSPLZQr7CR5VvJ9r1S9VnFUe+wWith5b0NnNKz83eZw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S19pH2V3KzxqY for ; Wed, 4 Oct 2023 23:27:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 394NRZDe092060 for ; Wed, 4 Oct 2023 23:27:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 394NRZTu092059 for bugs@FreeBSD.org; Wed, 4 Oct 2023 23:27:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 274271] zfs deadlock while/after writing files Date: Wed, 04 Oct 2023 23:27:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pmc@citylink.dinoex.sub.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274271 Bug ID: 274271 Summary: zfs deadlock while/after writing files Product: Base System Version: 13.2-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: pmc@citylink.dinoex.sub.org After building ports for 47+ hours, finally the clone of /usr/ports should = be exported; but then zfs was tired and deadlocked: UID PID PPID C PRI NI VSZ RSS MWCHAN STAT TT TIME COMM 0 40329 41971 13 134 0 302596 151632 select IN+ 3 0:05.97= git -C /var/sysup/mnt/tmp.6.41971 checkout-index -a --prefix=3D/var/sysup/mnt/tmp.8.41971/ 0 40678 40329 14 134 0 0 0 - ZN+ 3 0:02.08 0 40679 40329 10 134 0 0 0 - ZN+ 3 0:02.06 0 40680 40329 0 134 0 0 0 - ZN+ 3 0:02.08 0 40681 40329 8 134 0 682132 165796 zfsvfs-> DN+ 3 0:00.99 /usr/local/libexec/git-core/git checkout--worker --prefix=3D/var/sysup/mnt/tmp.8.41971/ 0 40682 40329 11 134 0 0 0 - ZN+ 3 0:02.35 0 40683 40329 0 134 0 0 0 - ZN+ 3 0:02.37 0 40684 40329 8 134 0 0 0 - ZN+ 3 0:03.11 killing of the git process is not possible, umount of the fs is not possibl= e, reboot will also fail (get stuck). scrub of the concerned pool is still possible and shows no errors. Neither = are any errors reported from the disks or the ECC memory. pool: build state: ONLINE scan: scrub repaired 0B in 00:15:11 with 0 errors on Wed Oct 4 23:34:26 = 2023 config: NAME STATE READ WRITE CKSUM build ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 da3p1.eli ONLINE 0 0 0 da4p1.eli ONLINE 0 0 0 da5p1.eli ONLINE 0 0 0 special mirror-1 ONLINE 0 0 0 ada1p9.elip10 ONLINE 0 0 0 ada6p9.elip10 ONLINE 0 0 0 cache ada3p9.elip6 ONLINE 0 0 0 errors: No known data errors The last command in zpool history before the deadlock is 2023-10-04.22:30:58 zfs create -o mountpoint=3Dlegacy build/tmp.7.41971 This was then legacy-mounted to /var/sysup/mnt/tmp.8.41971/ and the git pro= cess started, which didn't complete. The fileset has received most/all of the data (the other git workers have=20 apparently completed): build/tmp.7.41971 970M 63.0G 970M=20 legacy --=20 You are receiving this mail because: You are the assignee for the bug.=