HomeFreeBSD

Use wmsum for arc, abd, dbuf and zfetch statistics. (#12172)

Description

Use wmsum for arc, abd, dbuf and zfetch statistics. (#12172)

wmsum was designed exactly for cases like these with many updates
and rare reads. It allows to completely avoid atomic operations on
congested global variables.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Mark Maybee <mark.maybee@delphix.com>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored-By: iXsystems, Inc.
Closes #12172

Details

Provenance
mavAuthored on Jun 17 2021, 12:19 AM
GitHub <noreply@github.com>Committed on Jun 17 2021, 12:19 AM
Parents
rG9ffcaa370aee: Avoid deadlock when removing L2ARC devices under I/O
Branches
Unknown
Tags
Unknown