summaryrefslogtreecommitdiffstats
path: root/module/zfs/zfs_log.c
diff options
context:
space:
mode:
authorTom Caputi <[email protected]>2018-11-07 18:40:24 -0500
committerBrian Behlendorf <[email protected]>2018-11-07 15:40:24 -0800
commitf44ad9297da6e638482232636e9d63302b96f7e9 (patch)
tree2f1c1417ec38b3b54a0f977fd864c9005ad57c67 /module/zfs/zfs_log.c
parentac53e50f799b39d9cd04e5ecc0a6552c9490c84a (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/zfs_log.c')
0 files changed, 0 insertions, 0 deletions