HomeFreeBSD

Fix top(1) support for displaying ZFS Compressed ARC statistics

Description

Fix top(1) support for displaying ZFS Compressed ARC statistics

Broken in r334514

sysctlbyname("vfs.zfs.compressed_arc_enabled", ...) would return ENOMEM
while trying to read the sysctl (a boolean_t) into a bool, which is too small.

Reviewed by: jhb (on irc)
Sponsored by: Klara Systems

Details

Provenance
allanjudeAuthored on
Reviewer
jhb
Parents
rS335098: Fix some things in preparation for a merge into head.
Branches
Unknown
Tags
Unknown