HomeFreeBSD

libzpool: tunable-based option interface for zdb/ztest

Description

libzpool: tunable-based option interface for zdb/ztest

Removes the old dlsym() based option setter and adds a new
function handle_tunable_option() that can set, get and list all the
tunables in the system. And then wire it up to zdb and ztest.

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #17537

Details

Provenance
rob.norris_klarasystems.comAuthored on Jul 12 2025, 1:33 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 15 2025, 10:47 PM
Parents
rGcb9742e5328c: libspl: add API for manipulating tunables
Branches
Unknown
Tags
Unknown