]> granicus.if.org Git - zfs/commit
Fix dirtying vdev config on with RO spa
authorTom Caputi <tcaputi@datto.com>
Wed, 7 Nov 2018 23:44:14 +0000 (18:44 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 7 Nov 2018 23:44:14 +0000 (15:44 -0800)
commitfde25c0a87ea7e2d4438485cd55646a91b99c4b4
treedb6bed0578058ad2b872c6b702e7828d74ebff14
parentf44ad9297da6e638482232636e9d63302b96f7e9
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
module/zfs/vdev.c