ZTS: update existing kstat users to new helper
commit4acce93fdee969143502f5c7db1ddfe6dafd29b5
authorRob Norris <rob.norris@klarasystems.com>
Wed, 15 Jan 2025 03:40:31 +0000 (15 14:40 +1100)
committerTony Hutter <hutter2@llnl.gov>
Tue, 21 Jan 2025 18:12:42 +0000 (21 10:12 -0800)
tree74d80864417abc84b54ad9b5cda6cc5107be6809
parent722cf7bfd5ed9675758c076b961b5ea85a7f0dcf
ZTS: update existing kstat users to new helper

Removes other custom helpers and direct accesses to /proc.

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>
16 files changed:
tests/zfs-tests/tests/functional/arc/dbufstats_001_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zdb/zdb_objset_id.ksh
tests/zfs-tests/tests/functional/deadman/deadman_sync.ksh
tests/zfs-tests/tests/functional/direct/dio.kshlib
tests/zfs-tests/tests/functional/direct/dio_read_verify.ksh
tests/zfs-tests/tests/functional/direct/dio_unaligned_filesize.ksh
tests/zfs-tests/tests/functional/direct/dio_write_stable_pages.ksh
tests/zfs-tests/tests/functional/direct/dio_write_verify.ksh
tests/zfs-tests/tests/functional/fadvise/fadvise_sequential.ksh
tests/zfs-tests/tests/functional/fault/suspend_on_probe_errors.ksh
tests/zfs-tests/tests/functional/fault/suspend_resume_single.ksh
tests/zfs-tests/tests/functional/l2arc/persist_l2arc_003_neg.ksh
tests/zfs-tests/tests/functional/mmp/mmp.kshlib
tests/zfs-tests/tests/functional/mmp/mmp_write_distribution.ksh
tests/zfs-tests/tests/functional/mmp/mmp_write_slow_disk.ksh
tests/zfs-tests/tests/functional/mount/umount_unlinked_drain.ksh