Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 2020 17:18:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 248245] arm64 kernel panic under heavy UFS writes (getblk -> ffs_balloc_ufs2)
Message-ID:  <bug-248245-227-jAMF8O896z@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-248245-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-248245-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248245

Mark Johnston <markj@FreeBSD.org> changed:

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

--- Comment #7 from Mark Johnston <markj@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 t=
he
"expected" value.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248245-227-jAMF8O896z>