HomeFreeBSD

FreeBSD: switch teardown lock to rms

Description

FreeBSD: switch teardown lock to rms

This deserializes otherwise non-contending operations.

The previous scheme of using 17 locks hashed by curthread runs into
conflicts very quickly. Check the pull request for sample results.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matt Macy <mmacy@FreeBSD.org>
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Closes #11153

Details

Provenance
mjgAuthored on Nov 4 2020, 10:28 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 12 2021, 11:51 PM
Parents
rG5ebe425a5bf3: Macroify teardown lock handling
Branches
Unknown
Tags
Unknown

Event Timeline