HomeFreeBSD

Parallelize vdev_validate

Description

Parallelize vdev_validate

The runtime of vdev_validate is dominated by the disk accesses in
vdev_label_read_config. Speed it up by validating all vdevs in
parallel using a taskq.

Sponsored by: Axcient
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alan Somers <asomers@gmail.com>
Closes #11470

Details

Provenance
asomersAuthored on Jan 12 2021, 10:25 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jan 27 2021, 3:36 AM
Parents
rG67874d5487f7: Read all disk labels concurrently in vdev_label_read_config
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGcf0977ad72e9: Parallelize vdev_validate (authored by asomers).Jan 27 2021, 3:36 AM