ZTS: remove get_arcstat
commit59a77512ca7382993108bce7c574c6a8ffabb0a2
authorRob Norris <rob.norris@klarasystems.com>
Wed, 15 Jan 2025 04:11:33 +0000 (15 15:11 +1100)
committerTony Hutter <hutter2@llnl.gov>
Tue, 21 Jan 2025 18:13:12 +0000 (21 10:13 -0800)
tree1ec893fbf37f0e36ace6b0b8fa99e137eccf1ca0
parent4acce93fdee969143502f5c7db1ddfe6dafd29b5
ZTS: remove get_arcstat

It's now a simple wrapper, so lets just call kstat direct.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
15 files changed:
tests/zfs-tests/include/libtest.shlib
tests/zfs-tests/tests/functional/cache/cache_012_pos.ksh
tests/zfs-tests/tests/functional/compression/l2arc_compressed_arc.ksh
tests/zfs-tests/tests/functional/compression/l2arc_compressed_arc_disabled.ksh
tests/zfs-tests/tests/functional/compression/l2arc_encrypted.ksh
tests/zfs-tests/tests/functional/compression/l2arc_encrypted_no_compressed_arc.ksh
tests/zfs-tests/tests/functional/l2arc/l2arc_arcstats_pos.ksh
tests/zfs-tests/tests/functional/l2arc/l2arc_l2miss_pos.ksh
tests/zfs-tests/tests/functional/l2arc/l2arc_mfuonly_pos.ksh
tests/zfs-tests/tests/functional/l2arc/persist_l2arc_001_pos.ksh
tests/zfs-tests/tests/functional/l2arc/persist_l2arc_002_pos.ksh
tests/zfs-tests/tests/functional/l2arc/persist_l2arc_003_neg.ksh
tests/zfs-tests/tests/functional/l2arc/persist_l2arc_004_pos.ksh
tests/zfs-tests/tests/functional/l2arc/persist_l2arc_005_pos.ksh
tests/zfs-tests/tests/functional/trim/trim_l2arc.ksh