From 456079d48dcc3e1394d1f519a17abae2177c5ffa Mon Sep 17 00:00:00 2001 From: George Melikov Date: Mon, 30 Jan 2017 22:34:36 +0300 Subject: [PATCH] OpenZFS 7502 - ztest should run zdb with -G (debug mode) Authored by: Pavel Zakharov Reviewed by: Matthew Ahrens Reviewed by: Dan Kimmel Approved by: Gordon Ross Reviewed-by: Brian Behlendorf Reviewed-by: Giuseppe Di Natale Ported-by: George Melikov OpenZFS-issue: https://www.illumos.org/issues/7502 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/c3c65d1 Closes #5677 --- cmd/ztest/ztest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c index 1f5afe4af..70a3e206f 100644 --- a/cmd/ztest/ztest.c +++ b/cmd/ztest/ztest.c @@ -5838,7 +5838,7 @@ ztest_run_zdb(char *pool) ztest_get_zdb_bin(bin, len); (void) sprintf(zdb, - "%s -bcc%s%s -d -U %s %s", + "%s -bcc%s%s -G -d -U %s %s", bin, ztest_opts.zo_verbose >= 3 ? "s" : "", ztest_opts.zo_verbose >= 4 ? "v" : "",