ztest: propagate -o to the zdb child process
commit52cb284f7b7e2e8eb389c2f62d133ca4e4d38832
authorChristian Schwarz <me@cschwarz.com>
Thu, 18 Feb 2021 11:20:09 +0000 (18 12:20 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 20 Feb 2021 06:45:16 +0000 (19 22:45 -0800)
tree1f50b0172fcecab507008b9a1ec7b4f90875158e
parent2801e68d1bedaedd76c433a7cf6eafd304bc7ccf
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
cmd/ztest/ztest.c