]> git.proxmox.com Git - mirror_zfs.git/commit
MMP should not suspend pool in ztest
authorOlaf Faaland <faaland1@llnl.gov>
Mon, 13 Aug 2018 15:12:25 +0000 (08:12 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 13 Aug 2018 15:12:25 +0000 (08:12 -0700)
commit5200237711cf17d7da41dd3a89330328eafb5e87
treed748659e4a4faa51733a374bd3e2acd9e5e8c359
parent94b197a0a503d0153babe155fe3f099af662c626
MMP should not suspend pool in ztest

When running ztest, never suspend the pool due to failed or delayed
MMP writes.

There are many sources of long delays within ztest, such as device
opens, closes, etc. which in combination, may delay MMP writes too
long and cause MMP to suspend the pool.

Some of these delays also affect real pools, and should be fixed.
That is being worked separately.

Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Olaf Faaland <faaland1@llnl.gov>
Closes #7776
cmd/ztest/ztest.c