[Bug 224176] Lock Order Reversals somewhere in VFS/UFS

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 17 10:16:49 UTC 2017


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

Wolfram Schneider <wosch at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wosch at FreeBSD.org

--- Comment #5 from Wolfram Schneider <wosch at FreeBSD.org> ---
I must admit that these LOR kernel message looks scary if you see them for the
first time.

But if these messages are mostly harmless, why doesn't we say this?

My proposed change request:

instead:

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:

we display

lock order reversal (mostly harmless, see
https://www.freebsd.org/doc/handbook/freebsd-glossary.html#lor-glossary )
 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:

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


More information about the freebsd-fs mailing list