summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2018-04-27 11:37:42 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2018-04-27 11:37:42 +0000
commiteded17e46e9527a7564301e8e191c9a67587d6c9 (patch)
tree75cbb68bf77788c6f96afabfd51581b818505a5d
parentf6a4295b4ca5561f79d2e0cf3798708b61385adc (diff)
parent47b8d4b884f2dab4e4c6952b40fd740a8fc4ab32 (diff)
downloadillumos-joyent-eded17e46e9527a7564301e8e191c9a67587d6c9.tar.gz
[illumos-gate merge]
commit 47b8d4b884f2dab4e4c6952b40fd740a8fc4ab32 9434 Speculative prefetch is blocked by device removal code
-rw-r--r--usr/src/uts/common/fs/zfs/vdev_removal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/uts/common/fs/zfs/vdev_removal.c b/usr/src/uts/common/fs/zfs/vdev_removal.c
index f913432bd0..06e25a59ad 100644
--- a/usr/src/uts/common/fs/zfs/vdev_removal.c
+++ b/usr/src/uts/common/fs/zfs/vdev_removal.c
@@ -364,6 +364,7 @@ spa_remove_init(spa_t *spa)
spa->spa_removing_phys.sr_state = DSS_NONE;
spa->spa_removing_phys.sr_removing_vdev = -1;
spa->spa_removing_phys.sr_prev_indirect_vdev = -1;
+ spa->spa_indirect_vdevs_loaded = B_TRUE;
return (0);
} else if (error != 0) {
return (error);