]> git.proxmox.com Git - mirror_zfs.git/commit
Set persistent ztest failure mode
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 5 Feb 2018 20:00:26 +0000 (12:00 -0800)
committerGitHub <noreply@github.com>
Mon, 5 Feb 2018 20:00:26 +0000 (12:00 -0800)
commit60b82074968e8503bedf35bf2d3e975a1867177e
treeedf3696208b05ffba78aaa5c1927cf957c849231
parentf6b58faaa618256bf7e2ac690dbfe5d4cfb5e976
Set persistent ztest failure mode

In order to reliably detect deadlocks in the create and import
path ztest should set the failure mode property.  This ensures
that the pool is always using the correct failmode behavior.

Removed insidious use of local variable in MAXFAULTS macro.

Converted VERIFY() to VERIFY0() where appropriate.

Reviewed-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7111
cmd/ztest/ztest.c