[Bug 192923] Lock order reversal in vfs_bio.c bufwait

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat May 28 20:13:08 UTC 2016


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

--- Comment #3 from Marcus von Appen <mva at FreeBSD.org> ---
And a third one. It often occurs on heavy disk access (e.g. running synth
upgrade-system)

FreeBSD ... 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r300409M: Wed May 25 22:39:21
CEST 2016 ...:/usr/obj/usr/src/sys/GENERIC  amd64

lock order reversal:
 1st 0xfffffe03d06bc900 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3512
 2nd 0xfffff800142ac400 dirhash (dirhash) @
/usr/src/sys/ufs/ufs/ufs_dirhash.c:281
stack backtrace:
#0 0xffffffff80a9b7c0 at witness_debugger+0x70
#1 0xffffffff80a9b6b4 at witness_checkorder+0xe54
#2 0xffffffff80a452c2 at _sx_xlock+0x72
#3 0xffffffff80cfd74e at ufsdirhash_add+0x3e
#4 0xffffffff80d004fa at ufs_direnter+0x4da
#5 0xffffffff80d07b80 at ufs_rename+0xf60
#6 0xffffffff81002420 at VOP_RENAME_APV+0x100
#7 0xffffffff80b08928 at kern_renameat+0x4a8
#8 0xffffffff80ea6a2b at amd64_syscall+0x2db
#9 0xffffffff80e86d9b at Xfast_syscall+0xfb
lock order reversal:
 1st 0xfffff80014d35240 ufs (ufs) @ /usr/src/sys/ufs/ufs/ufs_vnops.c:1157
 2nd 0xfffffe03d06ce790 bufwait (bufwait) @
/usr/src/sys/ufs/ffs/ffs_vnops.c:263
 3rd 0xfffff80014f7c9a0 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2498
stack backtrace:
#0 0xffffffff80a9b7c0 at witness_debugger+0x70
#1 0xffffffff80a9b6b4 at witness_checkorder+0xe54
#2 0xffffffff80a155c6 at __lockmgr_args+0x4d6
#3 0xffffffff80cf8466 at ffs_lock+0xa6
#4 0xffffffff81002f30 at VOP_LOCK1_APV+0x100
#5 0xffffffff80b0b73a at _vn_lock+0x9a
#6 0xffffffff80afbbb3 at vget+0x63
#7 0xffffffff80aee68c at vfs_hash_get+0xcc
#8 0xffffffff80cf4200 at ffs_vgetf+0x40
#9 0xffffffff80cebcea at softdep_sync_buf+0xb3a
#10 0xffffffff80cf9056 at ffs_syncvnode+0x256
#11 0xffffffff80cd05e7 at ffs_truncate+0x8a7
#12 0xffffffff80d08030 at ufs_rename+0x1410
#13 0xffffffff81002420 at VOP_RENAME_APV+0x100
#14 0xffffffff80b08928 at kern_renameat+0x4a8
#15 0xffffffff80ea6a2b at amd64_syscall+0x2db
#16 0xffffffff80e86d9b at Xfast_syscall+0xfb

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


More information about the freebsd-bugs mailing list