HomeFreeBSD

Fix dirtying vdev config on with RO spa

Description

Fix dirtying vdev config on with RO spa

This patch simply corrects an issue where vdev_dtl_reassess()
could attempt to dirty the vdev config even when the spa was
not elligable for writing.

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #8085

Details

Provenance
Tom Caputi <tcaputi@datto.com>Authored on Nov 7 2018, 11:44 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Nov 7 2018, 11:44 PM
Parents
rGf44ad9297da6: Replay logs before starting ztest workers
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGfde25c0a87ea: Fix dirtying vdev config on with RO spa (authored by Tom Caputi <tcaputi@datto.com>).Nov 7 2018, 11:44 PM