HomeFreeBSD

ztest: propagate -o to the zdb child process

Description

ztest: propagate -o to the zdb child process

I think this is the behavior that most users expect.

Future work: have a separate flag, e.g., -O, to specify separate
set_global_vars for the zdb child than for the ztest children.

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Pavel Zakharov <pavel.zakharov@delphix.com>
Signed-off-by: Christian Schwarz <me@cschwarz.com>
Closes #11602

Details

Provenance
me_cschwarz.comAuthored on Feb 18 2021, 11:20 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Feb 20 2021, 6:45 AM
Parents
rG2801e68d1bed: ztest: fix -o by calling set_global_var in child processes
Branches
Unknown
Tags
Unknown