From owner-freebsd-fs@freebsd.org Sun Dec 17 10:26:13 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45790E853CF for ; Sun, 17 Dec 2017 10:26:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1B1B66BB79 for ; Sun, 17 Dec 2017 10:26:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vBHAQBdN092119 for ; Sun, 17 Dec 2017 10:26:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 224292] processes are hanging in state ufs / possible deadlock in file system Date: Sun, 17 Dec 2017 10:26:12 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: wosch@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Dec 2017 10:26:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224292 --- Comment #9 from Wolfram Schneider --- Right after boot I see this messages lock order reversal: 1st 0xfffffe0000cbf2c0 bufwait (bufwait) @ /home/projects/freebsd/sys/kern/vfs_bio.c:3564 2nd 0xfffff8001c445800 dirhash (dirhash) @ /home/projects/freebsd/sys/ufs/ufs/ufs_dirhash.c:289 stack backtrace: #0 0xffffffff80ac5a23 at witness_debugger+0x73 #1 0xffffffff80ac58a2 at witness_checkorder+0xe02 #2 0xffffffff80a6a5f8 at _sx_xlock+0x68 #3 0xffffffff80d6056d at ufsdirhash_add+0x3d #4 0xffffffff80d633f9 at ufs_direnter+0x459 #5 0xffffffff80d6b7a7 at ufs_mkdir+0x8d7 #6 0xffffffff8108a889 at VOP_MKDIR_APV+0xd9 #7 0xffffffff80b3ddc2 at kern_mkdirat+0x1e2 #8 0xffffffff80f0dd0b at amd64_syscall+0x79b #9 0xffffffff80eec33b at Xfast_syscall+0xfb and hours later: lock order reversal: 1st 0xfffff80017613068 ufs (ufs) @ /home/projects/freebsd/sys/kern/vfs_subr.c:2608 2nd 0xfffffe0000f01100 bufwait (bufwait) @ /home/projects/freebsd/sys/ufs/ffs/ffs_vnops.c:282 3rd 0xfffff8001c9985f0 ufs (ufs) @ /home/projects/freebsd/sys/kern/vfs_subr.c:2608 stack backtrace: #0 0xffffffff80ac5a23 at witness_debugger+0x73 #1 0xffffffff80ac58a2 at witness_checkorder+0xe02 #2 0xffffffff80a37f63 at __lockmgr_args+0x883 #3 0xffffffff80d5b295 at ffs_lock+0xa5 #4 0xffffffff8108b309 at VOP_LOCK1_APV+0xd9 #5 0xffffffff80b40c86 at _vn_lock+0x66 #6 0xffffffff80b2f6f2 at vget+0x82 #7 0xffffffff80b21651 at vfs_hash_get+0xd1 #8 0xffffffff80d56f5f at ffs_vgetf+0x3f #9 0xffffffff80d4ce3f at softdep_sync_buf+0x54f #10 0xffffffff80d5c0f4 at ffs_syncvnode+0x324 #11 0xffffffff80d4c0d8 at softdep_fsync+0x4c8 #12 0xffffffff80d5b16c at ffs_fsync+0x7c #13 0xffffffff8108a279 at VOP_FSYNC_APV+0xd9 #14 0xffffffff80b3d5d6 at kern_fsync+0x1b6 #15 0xffffffff80f0dd0b at amd64_syscall+0x79b #16 0xffffffff80eec33b at Xfast_syscall+0xfb --=20 You are receiving this mail because: You are the assignee for the bug.=