Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FreeBSD: Skip RAW kstat sysctls by default
These kstats are often expensive to compute so we want to avoid them unless specifically requested. The following kstats are affected by this change: kstat.zfs.${pool}.multihost kstat.zfs.${pool}.misc.state kstat.zfs.${pool}.txgs kstat.zfs.misc.fletcher_4_bench kstat.zfs.misc.vdev_raidz_bench kstat.zfs.misc.dbufs kstat.zfs.misc.dbgmsg In FreeBSD 13, sysctl(8) has been updated to still list the names/description/type of skipped sysctls so they are still discoverable. Reviewed-by: Allan Jude <allan@klarasystems.com> Reviewed-by: Mateusz Guzik <mjguzik@gmail.com> Signed-off-by: Ryan Moeller <ryan@iXsystems.com> Closes openzfs#11099
- Loading branch information