Files
mirror_zfs/module
Brian Behlendorf f17d146ca6 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 <mark.maybee@delphix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #11849
2021-04-14 13:19:49 -07:00
..
2021-04-07 13:27:11 -07:00
2021-01-26 16:12:26 -08:00
2020-09-02 09:42:12 -07:00
2021-04-07 13:27:11 -07:00
2020-06-10 09:24:15 -07:00
2021-04-07 13:27:11 -07:00
2021-04-07 13:27:11 -07:00
2021-04-07 13:27:11 -07:00
2020-06-10 09:24:15 -07:00
2020-08-20 10:30:06 -07:00