[Bug 248245] arm64 kernel panic under heavy UFS writes (getblk -> ffs_balloc_ufs2)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 24 17:18:04 UTC 2020


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

Mark Johnston <markj at FreeBSD.org> changed:

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

--- Comment #7 from Mark Johnston <markj at FreeBSD.org> ---
I think the problem is in r363415.  It converted some lockmgr code to use
atomic_fcmpset instead of atomic_cmpset.  The former can fail spuriously on
LL/SC platforms, so a tryxlock operation can fail even when the buf is
unlocked.  lockmgr should take care to retry if fcmpset fails but returns the
"expected" value.

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


More information about the freebsd-bugs mailing list