LORs in -CURRENT

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Sat, 27 Feb 2021 17:07:16 +0100
I’ve got some LORs:

lock order reversal:
 1st 0xfffff8008c4f4af0 nfs (nfs, lockmgr) _at_ /usr/src/sys/kern/vfs_mount.c:1071
 2nd 0xfffff8008c51a930 zfs (zfs, lockmgr) _at_ /usr/src/sys/kern/vfs_mount.c:1083
lock order zfs -> nfs established at:
#0 0xffffffff80c7bb7d at witness_checkorder+0x46d
#1 0xffffffff80bdcf18 at lockmgr_lock_flags+0x188
#2 0xffffffff80af1b9c at nfs_lock+0x2c
#3 0xffffffff80ce485f at vop_sigdefer+0x2f
#4 0xffffffff80d0e5e4 at _vn_lock+0x54
#5 0xffffffff80ced6a5 at vfs_domount+0xef5
#6 0xffffffff80cebb02 at vfs_donmount+0x872
#7 0xffffffff80ceb259 at sys_nmount+0x69
#8 0xffffffff810bd00e at amd64_syscall+0x12e
#9 0xffffffff8108fdfe at fast_syscall_common+0xf8
lock order nfs -> zfs attempted at:
#0 0xffffffff80c7c4dc at witness_checkorder+0xdcc
#1 0xffffffff80bde955 at lockmgr_xlock+0x55
#2 0xffffffff80d0e5e4 at _vn_lock+0x54
#3 0xffffffff80ced6a5 at vfs_domount+0xef5
#4 0xffffffff80cebb02 at vfs_donmount+0x872
#5 0xffffffff80ceb259 at sys_nmount+0x69
#6 0xffffffff810bd00e at amd64_syscall+0x12e
#7 0xffffffff8108fdfe at fast_syscall_common+0xf8
lock order reversal:
 1st 0xfffff8008c6473f0 zfs (zfs, lockmgr) _at_ /usr/src/sys/kern/vfs_mount.c:1071
 2nd 0xfffff80035f4dcb0 devfs (devfs, lockmgr) _at_ /usr/src/sys/kern/vfs_mount.c:1083
lock order devfs -> zfs established at:
#0 0xffffffff80c7bb7d at witness_checkorder+0x46d
#1 0xffffffff80bde955 at lockmgr_xlock+0x55
#2 0xffffffff80d0e5e4 at _vn_lock+0x54
#3 0xffffffff80ced6a5 at vfs_domount+0xef5
#4 0xffffffff80cebb02 at vfs_donmount+0x872
#5 0xffffffff80cf01f7 at kernel_mount+0x57
#6 0xffffffff80cf2bc1 at parse_mount+0x4a1
#7 0xffffffff80cf1027 at vfs_mountroot+0x587
#8 0xffffffff80b9a4ff at start_init+0x1f
#9 0xffffffff80bc7470 at fork_exit+0x80
#10 0xffffffff8109055e at fork_trampoline+0xe
lock order zfs -> devfs attempted at:
#0 0xffffffff80c7c4dc at witness_checkorder+0xdcc
#1 0xffffffff80bde955 at lockmgr_xlock+0x55
#2 0xffffffff80d0e5e4 at _vn_lock+0x54
#3 0xffffffff80ced6a5 at vfs_domount+0xef5
#4 0xffffffff80cebb02 at vfs_donmount+0x872
#5 0xffffffff80ceb259 at sys_nmount+0x69
#6 0xffffffff810bd00e at amd64_syscall+0x12e
#7 0xffffffff8108fdfe at fast_syscall_common+0xf8
lock order reversal:
 1st 0xfffff8008c6f7230 nfs (nfs, lockmgr) _at_ /usr/src/sys/kern/vfs_syscalls.c:4135
 2nd 0xfffffe000ee1dc50 bufwait (bufwait, lockmgr) _at_ /usr/src/sys/kern/vfs_bio.c:1674
 3rd 0xfffff8008c6f73f0 nfs (nfs, lockmgr) _at_ /usr/src/sys/kern/vfs_subr.c:2915
lock order nfs -> bufwait established at:
#0 0xffffffff80c7bb7d at witness_checkorder+0x46d
#1 0xffffffff80bdd5ec at lockmgr_xlock_hard+0x6c
#2 0xffffffff80bde303 at __lockmgr_args+0x613
#3 0xffffffff80ccf504 at getnewbuf+0x334
#4 0xffffffff80ccc839 at getblkx+0x359
#5 0xffffffff80ccf1b2 at getblk+0x22
#6 0xffffffff80afd3b6 at nfs_getcacheblk+0x46
#7 0xffffffff80afcd4b at ncl_bioread+0x58b
#8 0xffffffff80af1aff at nfs_readdir+0x18f
#9 0xffffffff80ce485f at vop_sigdefer+0x2f
#10 0xffffffff81181f38 at VOP_READDIR_APV+0x38
#11 0xffffffff80d0b18b at kern_getdirentries+0x1fb
#12 0xffffffff80d0b399 at sys_getdirentries+0x29
#13 0xffffffff810bd00e at amd64_syscall+0x12e
#14 0xffffffff8108fdfe at fast_syscall_common+0xf8
lock order bufwait -> nfs attempted at:
#0 0xffffffff80c7c4dc at witness_checkorder+0xdcc
#1 0xffffffff80bdcf18 at lockmgr_lock_flags+0x188
#2 0xffffffff80af1b9c at nfs_lock+0x2c
#3 0xffffffff80ce485f at vop_sigdefer+0x2f
#4 0xffffffff80d0e5e4 at _vn_lock+0x54
#5 0xffffffff80cf6e0f at vget_finish+0x4f
#6 0xffffffff80ce6b3c at vfs_hash_get+0xbc
#7 0xffffffff80af9d09 at nfscl_nget+0x119
#8 0xffffffff80ae291a at nfsrpc_readdirplus+0xaaa
#9 0xffffffff80aed43c at ncl_readdirplusrpc+0xdc
#10 0xffffffff80afdbe3 at ncl_doio+0x423
#11 0xffffffff80afcd8c at ncl_bioread+0x5cc
#12 0xffffffff80af1aff at nfs_readdir+0x18f
#13 0xffffffff80ce485f at vop_sigdefer+0x2f
#14 0xffffffff81181f38 at VOP_READDIR_APV+0x38
#15 0xffffffff80d0b18b at kern_getdirentries+0x1fb
#16 0xffffffff80d0b399 at sys_getdirentries+0x29
#17 0xffffffff810bd00e at amd64_syscall+0x12e

kernel is GENERIC, stock config.

otis

—
Juraj Lutter
XMPP: juraj (at) lutter.sk
GSM: +421907986576
Received on Sat Feb 27 2021 - 15:07:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:27 UTC