HomeFreeBSD

Cancel initialize and TRIM before vdev_metaslab_fini()

Description

Cancel initialize and TRIM before vdev_metaslab_fini()

Any running 'zpool initialize' or TRIM must be cancelled prior
to the vdev_metaslab_fini() call in spa_vdev_remove_log() which
will unload the metaslabs and set ms->ms_group == NULL.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #8602
Closes #9751

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Dec 26 2019, 6:50 PM
GitHub <noreply@github.com>Committed on Dec 26 2019, 6:50 PM
Parents
rG80bde2c4ba37: ZTS: Test case failures
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG635a01aafdd7: Cancel initialize and TRIM before vdev_metaslab_fini() (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Dec 26 2019, 6:50 PM