[Bug 224292] processes are hanging in state ufs / possible deadlock in file system

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 17 10:26:13 UTC 2017


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

--- Comment #9 from Wolfram Schneider <wosch at FreeBSD.org> ---
Right after boot I see this messages

lock order reversal:
 1st 0xfffffe0000cbf2c0 bufwait (bufwait) @
/home/projects/freebsd/sys/kern/vfs_bio.c:3564
 2nd 0xfffff8001c445800 dirhash (dirhash) @
/home/projects/freebsd/sys/ufs/ufs/ufs_dirhash.c:289
stack backtrace:
#0 0xffffffff80ac5a23 at witness_debugger+0x73
#1 0xffffffff80ac58a2 at witness_checkorder+0xe02
#2 0xffffffff80a6a5f8 at _sx_xlock+0x68
#3 0xffffffff80d6056d at ufsdirhash_add+0x3d
#4 0xffffffff80d633f9 at ufs_direnter+0x459
#5 0xffffffff80d6b7a7 at ufs_mkdir+0x8d7
#6 0xffffffff8108a889 at VOP_MKDIR_APV+0xd9
#7 0xffffffff80b3ddc2 at kern_mkdirat+0x1e2
#8 0xffffffff80f0dd0b at amd64_syscall+0x79b
#9 0xffffffff80eec33b at Xfast_syscall+0xfb

and hours later:
lock order reversal:
 1st 0xfffff80017613068 ufs (ufs) @
/home/projects/freebsd/sys/kern/vfs_subr.c:2608
 2nd 0xfffffe0000f01100 bufwait (bufwait) @
/home/projects/freebsd/sys/ufs/ffs/ffs_vnops.c:282
 3rd 0xfffff8001c9985f0 ufs (ufs) @
/home/projects/freebsd/sys/kern/vfs_subr.c:2608
stack backtrace:
#0 0xffffffff80ac5a23 at witness_debugger+0x73
#1 0xffffffff80ac58a2 at witness_checkorder+0xe02
#2 0xffffffff80a37f63 at __lockmgr_args+0x883
#3 0xffffffff80d5b295 at ffs_lock+0xa5
#4 0xffffffff8108b309 at VOP_LOCK1_APV+0xd9
#5 0xffffffff80b40c86 at _vn_lock+0x66
#6 0xffffffff80b2f6f2 at vget+0x82
#7 0xffffffff80b21651 at vfs_hash_get+0xd1
#8 0xffffffff80d56f5f at ffs_vgetf+0x3f
#9 0xffffffff80d4ce3f at softdep_sync_buf+0x54f
#10 0xffffffff80d5c0f4 at ffs_syncvnode+0x324
#11 0xffffffff80d4c0d8 at softdep_fsync+0x4c8
#12 0xffffffff80d5b16c at ffs_fsync+0x7c
#13 0xffffffff8108a279 at VOP_FSYNC_APV+0xd9
#14 0xffffffff80b3d5d6 at kern_fsync+0x1b6
#15 0xffffffff80f0dd0b at amd64_syscall+0x79b
#16 0xffffffff80eec33b 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