[Bug 224176] Lock Order Reversals somewhere in VFS/UFS

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 8 22:39:50 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224176

--- Comment #2 from lankfordandrew at charter.net ---
Some more after a reboot.  I'm probably getting one or several right at
shutdown , but I'm unsure if I can capture them.

[70] lock order reversal:
[70]  1st 0xfffffe007b886f80 bufwait (bufwait) @
/usr/src/sys/kern/vfs_bio.c:3550
[70]  2nd 0xfffff80002aa9400 dirhash (dirhash) @
/usr/src/sys/ufs/ufs/ufs_dirhash.c:281
[70] stack backtrace:
[70] #0 0xffffffff80580bf0 at witness_debugger+0x70
[70] #1 0xffffffff80580a72 at witness_checkorder+0xe02
[70] #2 0xffffffff80527908 at _sx_xlock+0x68
[70] #3 0xffffffff807d75b7 at ufsdirhash_remove+0x37
[70] #4 0xffffffff807da779 at ufs_dirremove+0x129
[70] #5 0xffffffff807dfe95 at ufs_remove+0x75
[70] #6 0xffffffff808b60e0 at VOP_REMOVE_APV+0xe0
[70] #7 0xffffffff805ee708 at kern_unlinkat+0x1e8
[70] #8 0xffffffff8083fd08 at amd64_syscall+0x798
[70] #9 0xffffffff8081ea6b at Xfast_syscall+0xfb
[218] lock order reversal:
[218]  1st 0xfffff800638f89a0 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2537
[218]  2nd 0xfffffe007b900a60 bufwait (bufwait) @
/usr/src/sys/ufs/ffs/ffs_vnops.c:277
[218]  3rd 0xfffff800638f87c8 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2537
[218] stack backtrace:
[218] #0 0xffffffff80580bf0 at witness_debugger+0x70
[218] #1 0xffffffff80580a72 at witness_checkorder+0xe02
[218] #2 0xffffffff804fcd83 at __lockmgr_args+0x883
[218] #3 0xffffffff807d1ea5 at ffs_lock+0xa5
[218] #4 0xffffffff808b6f30 at VOP_LOCK1_APV+0xe0
[218] #5 0xffffffff805f4546 at _vn_lock+0x66
[218] #6 0xffffffff805e4dc2 at vget+0x82
[218] #7 0xffffffff805d6fb1 at vfs_hash_get+0xd1
[218] #8 0xffffffff807cdb4e at ffs_vgetf+0x3e
[218] #9 0xffffffff807c3da9 at softdep_sync_buf+0x7d9
[218] #10 0xffffffff807d2dc1 at ffs_syncvnode+0x321
[218] #11 0xffffffff807c2dc7 at softdep_fsync+0x4b7
[218] #12 0xffffffff807d1d7c at ffs_fsync+0x7c
[218] #13 0xffffffff808b5f80 at VOP_FSYNC_APV+0xe0
[218] #14 0xffffffff805f112c at kern_fsync+0x1bc
[218] #15 0xffffffff8083fd08 at amd64_syscall+0x798
[218] #16 0xffffffff8081ea6b at Xfast_syscall+0xfb

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list