From owner-freebsd-bugs@freebsd.org Tue Jan 12 13:10:48 2021 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 467B54D7963 for ; Tue, 12 Jan 2021 13:10:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DFWCr1LqXz3FKm for ; Tue, 12 Jan 2021 13:10:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2E4834D7B25; Tue, 12 Jan 2021 13:10:48 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2E09F4D7B24 for ; Tue, 12 Jan 2021 13:10:48 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFWCr0lc9z3FT3 for ; Tue, 12 Jan 2021 13:10:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 0D02C2CEF6 for ; Tue, 12 Jan 2021 13:10:48 +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 10CDAl3k080888 for ; Tue, 12 Jan 2021 13:10:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 10CDAlTn080887 for bugs@FreeBSD.org; Tue, 12 Jan 2021 13:10:47 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 136944] [ffs] [lor] bufwait/snaplk (fsync) Date: Tue, 12 Jan 2021 13:10:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 8.0-BETA2 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ml@netfence.it X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 13:10:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D136944 ml@netfence.it changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ml@netfence.it --- Comment #5 from ml@netfence.it --- Just encountered this on a 12.2/amd64 vm while investigating #244048 (not s= ure wether this might be part of the cause for that). Of course, after so many years, the stack trace is slightly different. Jan 12 14:05:13 mksnap kernel: lock order reversal: Jan 12 14:05:13 mksnap kernel: 1st 0xfffffe0000827230 bufwait (bufwait) @ /usr/src/sys/ufs/ffs/ffs_vnops.c:283 Jan 12 14:05:13 mksnap kernel: 2nd 0xfffff800049661b0 snaplk (snaplk) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:2314 Jan 12 14:05:13 mksnap kernel: stack backtrace: Jan 12 14:05:13 mksnap kernel: #0 0xffffffff80604bb3 at witness_debugger+0x= 73 Jan 12 14:05:13 mksnap kernel: #1 0xffffffff806048fe at witness_checkorder+0xa9e Jan 12 14:05:13 mksnap kernel: #2 0xffffffff8056c0ed at lockmgr_xlock_hard+= 0x6d Jan 12 14:05:13 mksnap kernel: #3 0xffffffff8056d0d0 at __lockmgr_args+0x7a0 Jan 12 14:05:13 mksnap kernel: #4 0xffffffff807a0df6 at ffs_copyonwrite+0x1= 76 Jan 12 14:05:13 mksnap kernel: #5 0xffffffff807c223c at ffs_geom_strategy+0= x8c Jan 12 14:05:13 mksnap kernel: #6 0xffffffff807d39c3 at ufs_strategy+0x83 Jan 12 14:05:13 mksnap kernel: #7 0xffffffff808b9911 at VOP_STRATEGY_APV+0x= f1 Jan 12 14:05:13 mksnap kernel: #8 0xffffffff80647114 at bufstrategy+0x44 Jan 12 14:05:13 mksnap kernel: #9 0xffffffff80646fb0 at bufwrite+0x230 Jan 12 14:05:13 mksnap kernel: #10 0xffffffff807c406e at ffs_syncvnode+0x2be Jan 12 14:05:13 mksnap kernel: #11 0xffffffff8079bd04 at ffs_snapshot+0x914 Jan 12 14:05:13 mksnap kernel: #12 0xffffffff807bfe5a at ffs_mount+0xb3a Jan 12 14:05:13 mksnap kernel: #13 0xffffffff80661a54 at vfs_domount+0x8d4 Jan 12 14:05:13 mksnap kernel: #14 0xffffffff80660b27 at vfs_donmount+0x7e7 Jan 12 14:05:13 mksnap kernel: #15 0xffffffff80660312 at sys_nmount+0xf2 Jan 12 14:05:13 mksnap kernel: #16 0xffffffff808418b7 at amd64_syscall+0x2e7 Jan 12 14:05:13 mksnap kernel: #17 0xffffffff808193de at fast_syscall_common+0xf8 --=20 You are receiving this mail because: You are the assignee for the bug.=