Alexander Motin c4c162c1e8
Use wmsum for arc, abd, dbuf and zfetch statistics. ()
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 
2021-06-16 18:19:34 -06:00
..
2021-06-10 08:27:33 -07:00