mirror_zfs/lib/libspl/include/sys/Makefile.am
Alexander Motin 85c43508f3 Introduce write-mostly sums
wmsum counters are a reduced version of aggsum counters, optimized for
write-mostly scenarios.  They do not provide optimized read functions,
but instead allow much cheaper add function.  The primary usage is
infrequently read statistic counters, not requiring exact precision.

The Linux implementation is directly mapped into percpu_counter KPI.
The FreeBSD implementation is directly mapped into counter(9) KPI.
In user-space due to lack of better implementation mapped to aggsum.

Unfortunately neither Linux percpu_counter nor FreeBSD counter(9)
provide sufficient functionality to completelly replace aggsum, so
it still remains to be used for several hot counters.

Reviewed-by: Paul Dagnelie <pcd@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored-By: iXsystems, Inc.
Closes #12114
2021-06-09 13:05:34 -07:00

49 lines
604 B
Makefile

SUBDIRS = dktp
libspldir = $(includedir)/libspl/sys
libspl_HEADERS = \
acl.h \
acl_impl.h \
callb.h \
cmn_err.h \
cred.h \
debug.h \
dkio.h \
dklabel.h \
feature_tests.h \
int_limits.h \
int_types.h \
inttypes.h \
isa_defs.h \
kmem.h \
kstat.h \
list.h \
list_impl.h \
mhd.h \
mkdev.h \
policy.h \
poll.h \
priv.h \
processor.h \
sha2.h \
simd.h \
stack.h \
stdtypes.h \
strings.h \
stropts.h \
sunddi.h \
systeminfo.h \
time.h \
trace_spl.h \
trace_zfs.h \
types32.h \
types.h \
tzfile.h \
uio.h \
va_list.h \
varargs.h \
vnode.h \
vtoc.h \
wmsum.h \
zone.h