mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
ea400129c3
- Avoid atomic_add() when updating as_lower_bound/as_upper_bound. Previous code was excessively strong on 64bit systems while not strong enough on 32bit ones. Instead introduce and use real atomic_load() and atomic_store() operations, just an assignments on 64bit machines, but using proper atomics on 32bit ones to avoid torn reads/writes. - Reduce number of buckets on large systems. Extra buckets not as much improve add speed, as hurt reads. Unlike wmsum for aggsum reads are still important. 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 #12145 |
||
---|---|---|
.. | ||
ia32 | ||
os | ||
rpc | ||
sys | ||
util | ||
assert.h | ||
atomic.h | ||
libdevinfo.h | ||
libgen.h | ||
libshare.h | ||
limits.h | ||
locale.h | ||
Makefile.am | ||
statcommon.h | ||
stdio.h | ||
stdlib.h | ||
string.h | ||
stropts.h | ||
thread.h | ||
tzfile.h | ||
ucred.h | ||
umem.h | ||
unistd.h | ||
zone.h |