diff options
author | Brian Behlendorf <[email protected]> | 2021-04-08 14:33:15 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-08 14:33:15 -0700 |
commit | 600a1dc54cadded39ce56cb5a0fa99737abdbbe9 (patch) | |
tree | e3da401dc9049d1278b0f9fd168ce2f2bbd520f1 /tests | |
parent | 9c3b926b0ed7ed906be6c0e38f86e2f52b48da98 (diff) |
Use dsl_scan_setup_check() to setup a scrub
When a rebuild completes it will automatically schedule a follow up
scrub to verify all of the block checksums. Before setting up the
scrub execute the counterpart dsl_scan_setup_check() function to
confirm the scrub can be started. Prior to this change we'd only
check vdev_rebuild_active() which isn't as comprehensive, and using
the check function keeps all of this logic in one place.
Reviewed-by: Mark Maybee <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #11849
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions