aboutsummaryrefslogtreecommitdiffstats
path: root/module/lua
diff options
context:
space:
mode:
authorAlexander Motin <[email protected]>2024-11-19 10:00:16 -0500
committerGitHub <[email protected]>2024-11-19 07:00:16 -0800
commit534688948c395619af328c60ba3b863bfcf2ef20 (patch)
treeacb8b81d492f5be89b2632591732430ce1f3f759 /module/lua
parentffe211279556f34a1a555173bc0fe8ff53244be2 (diff)
Remove hash_elements_max accounting from DBUF and ARC
Those values require global atomics to get current hash_elements values in few of the hottest code paths, while in all the years I never cared about it. If somebody wants, it should be easy to get it by periodic sampling, since neither ARC header nor DBUF counts change so fast that it would be difficult to catch. For now I've left hash_elements_max kstat for ARC, since it was used/reported by arc_summary and it would break older versions, but now it just reports the current value. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Alexander Motin <[email protected]> Sponsored by: iXsystems, Inc. Closes #16759
Diffstat (limited to 'module/lua')
0 files changed, 0 insertions, 0 deletions