[Bug 269608] [lor] Lock order reversal ufs/defs/nullfs
Date: Fri, 17 Feb 2023 01:17:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269608 Bug ID: 269608 Summary: [lor] Lock order reversal ufs/defs/nullfs Product: Base System Version: 13.1-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: artem@artem.ru Created attachment 240195 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=240195&action=edit startup lor Running 13-stable. gmirror, SU, SU journaling On every boot i get LOR and on shutdown too startup lor is in the attachement (between ufs/nullfs/devfs) the shutdown lor is this: Feb 17 03:55:36 omni kernel: lock order reversal: Feb 17 03:55:36 omni kernel: 1st 0xfffffe0107607040 struct mount mtx (struct mount mtx, sleep mutex) @ /usr/src/sys/ufs/ffs/ffs_softdep.c:2150 Feb 17 03:55:36 omni kernel: 2nd 0xfffff80006a0a898 FFS (FFS Lock, sleep mutex) @ /usr/src/sys/ufs/ffs/ffs_softdep.c:2153 Feb 17 03:55:36 omni kernel: lock order FFS Lock -> struct mount mtx established at: Feb 17 03:55:36 omni kernel: #0 0xffffffff80cab8cd at witness_checkorder+0x32d Feb 17 03:55:36 omni kernel: #1 0xffffffff80c194e4 at __mtx_lock_flags+0x94 Feb 17 03:55:36 omni kernel: #2 0xffffffff80fb56ed at quotaoff_inchange+0xbd Feb 17 03:55:36 omni kernel: #3 0xffffffff80fa4e3a at ffs_flushfiles+0x12a Feb 17 03:55:36 omni kernel: #4 0xffffffff80f8455d at softdep_flushfiles+0xad Feb 17 03:55:36 omni kernel: #5 0xffffffff80fa675a at ffs_unmount+0x6a Feb 17 03:55:36 omni kernel: #6 0xffffffff80d1a221 at dounmount+0x391 Feb 17 03:55:36 omni kernel: #7 0xffffffff80d2699a at vfs_unmountall+0x6a Feb 17 03:55:36 omni kernel: #8 0xffffffff80cf946c at bufshutdown+0x31c Feb 17 03:55:36 omni kernel: #9 0xffffffff80c3e733 at kern_reboot+0x203 Feb 17 03:55:36 omni kernel: #10 0xffffffff80c3e4d0 at sys_reboot+0x390 Feb 17 03:55:36 omni kernel: #11 0xffffffff8113752e at amd64_syscall+0x12e Feb 17 03:55:36 omni kernel: #12 0xffffffff8110b7cb at fast_syscall_common+0xf8 Feb 17 03:55:36 omni kernel: lock order struct mount mtx -> FFS Lock attempted at: Feb 17 03:55:36 omni kernel: #0 0xffffffff80cac19d at witness_checkorder+0xbfd Feb 17 03:55:36 omni kernel: #1 0xffffffff80c194e4 at __mtx_lock_flags+0x94 Feb 17 03:55:36 omni kernel: #2 0xffffffff80f84844 at softdep_flushfiles+0x394 Feb 17 03:55:36 omni kernel: #3 0xffffffff80fa675a at ffs_unmount+0x6a Feb 17 03:55:36 omni kernel: #4 0xffffffff80d1a221 at dounmount+0x391 Feb 17 03:55:36 omni kernel: #5 0xffffffff80d2699a at vfs_unmountall+0x6a Feb 17 03:55:36 omni kernel: #6 0xffffffff80cf946c at bufshutdown+0x31c Feb 17 03:55:36 omni kernel: #7 0xffffffff80c3e733 at kern_reboot+0x203 Feb 17 03:55:36 omni kernel: #8 0xffffffff80c3e4d0 at sys_reboot+0x390 Feb 17 03:55:36 omni kernel: #9 0xffffffff8113752e at amd64_syscall+0x12e Feb 17 03:55:36 omni kernel: #10 0xffffffff8110b7cb at fast_syscall_common+0xf8 -- You are receiving this mail because: You are the assignee for the bug.