diff options
author | Tom Caputi <[email protected]> | 2018-11-07 18:40:24 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-11-07 15:40:24 -0800 |
commit | f44ad9297da6e638482232636e9d63302b96f7e9 (patch) | |
tree | 2f1c1417ec38b3b54a0f977fd864c9005ad57c67 /module/zfs/dsl_synctask.c | |
parent | ac53e50f799b39d9cd04e5ecc0a6552c9490c84a (diff) |
Replay logs before starting ztest workers
This patch ensures that logs are replayed on all datasets prior
to starting ztest workers. This ensures that the call to
vdev_offline() a log device in ztest_fault_inject() will not fail
due to the log device being required for replay.
This patch also fixes a small issue found during testing where
spa_keystore_load_wkey() does not check that the dataset specified
is an encryption root. This check was present in libzfs, however.
Reviewed-by: Matthew Ahrens <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tom Caputi <[email protected]>
Closes #8084
Diffstat (limited to 'module/zfs/dsl_synctask.c')
0 files changed, 0 insertions, 0 deletions