HomeFreeBSD

spa: Let spa_taskq_param_get()'s addition of a newline be optional

Description

spa: Let spa_taskq_param_get()'s addition of a newline be optional

For FreeBSD sysctls, we don't want the extra newline, since the
sysctl(8) utility will format strings appropriately.

Reviewed-by: Rob Norris <robn@despairlabs.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reported-by: Peter Holm <pho@FreeBSD.org>
Signed-off-by: Mark Johnston <markj@FreeBSD.org>
Closes #15719

Details

Provenance
markjAuthored on Dec 29 2023, 5:56 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jan 16 2024, 7:34 PM
Parents
rGb4481996bdd0: spa: Fix FreeBSD sysctl handlers
Branches
Unknown
Tags
Unknown