LOR with bufwait (bufwait) _at_ /usr/src/sys/ufs/ffs/ffs_vnops.c:263

From: Willem Jan Withagen <wjw_at_digiware.nl>
Date: Wed, 21 Jan 2015 14:40:14 +0100
Hoi,

Looked at:
http://sources.zabbadoz.net/freebsd/lor.html#howtoreportalor

But did not find any reference to ffs_vnops, so it might be a new one?

I got this from running 'make installworld' of todays HEAD IN a bhyveVM 
which was already running thismornings kernel.
So it was not the Dom0 server, but the actual version running in the VM

FreeBSD-11 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r277423: Wed Jan 21 
09:38:40 UTC 2015     wjw_at_FreeBSD-11:/usr/obj/usr/src/sys/GENERIC  amd64

--WjW

lock order reversal:
  1st 0xfffff80009aa2240 ufs (ufs) _at_ /usr/src/sys/kern/vfs_subr.c:2164
  2nd 0xfffffe01ea244770 bufwait (bufwait) _at_ 
/usr/src/sys/ufs/ffs/ffs_vnops.c:263
  3rd 0xfffff801685dc418 ufs (ufs) _at_ /usr/src/sys/kern/vfs_subr.c:2164

KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 
0xfffffe02332ecd60
witness_checkorder() at witness_checkorder+0xe50/frame 0xfffffe02332ecdf0
__lockmgr_args() at __lockmgr_args+0xacf/frame 0xfffffe02332ecf20
ffs_lock() at ffs_lock+0x84/frame 0xfffffe02332ecf70
VOP_LOCK1_APV() at VOP_LOCK1_APV+0xfc/frame 0xfffffe02332ecfa0
_vn_lock() at _vn_lock+0x8a/frame 0xfffffe02332ed010
vget() at vget+0x67/frame 0xfffffe02332ed050
vfs_hash_get() at vfs_hash_get+0xdc/frame 0xfffffe02332ed0a0
ffs_vgetf() at ffs_vgetf+0x40/frame 0xfffffe02332ed130
softdep_sync_buf() at softdep_sync_buf+0xa90/frame 0xfffffe02332ed210
ffs_syncvnode() at ffs_syncvnode+0x259/frame 0xfffffe02332ed290
ffs_truncate() at ffs_truncate+0x671/frame 0xfffffe02332ed470
ufs_direnter() at ufs_direnter+0x7d2/frame 0xfffffe02332ed530
ufs_makeinode() at ufs_makeinode+0x5bf/frame 0xfffffe02332ed6f0
ufs_symlink() at ufs_symlink+0x32/frame 0xfffffe02332ed740
VOP_SYMLINK_APV() at VOP_SYMLINK_APV+0xf7/frame 0xfffffe02332ed770
kern_symlinkat() at kern_symlinkat+0x245/frame 0xfffffe02332ed9a0
amd64_syscall() at amd64_syscall+0x25a/frame 0xfffffe02332edab0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe02332edab0
--- syscall (57, FreeBSD ELF64, sys_symlink), rip = 0x4101ba, rsp = 
0x7ffffffec3d8, rbp = 0x7ffffffec800 ---
Received on Wed Jan 21 2015 - 12:40:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:55 UTC