From 47b8d4b884f2dab4e4c6952b40fd740a8fc4ab32 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Tue, 3 Apr 2018 14:57:15 -0400 Subject: 9434 Speculative prefetch is blocked by device removal code Reviewed by: Matthew Ahrens Reviewed by: Prashanth Sreenivasa Approved by: Matt Ahrens --- usr/src/uts/common/fs/zfs/vdev_removal.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3