diff options
author | Alexander Motin <mav@FreeBSD.org> | 2018-04-03 14:57:15 -0400 |
---|---|---|
committer | Prakash Surya <prakash.surya@delphix.com> | 2018-04-26 14:39:13 -0700 |
commit | 47b8d4b884f2dab4e4c6952b40fd740a8fc4ab32 (patch) | |
tree | 97b4413fb1e911639c3347f63025606daec1100a | |
parent | 094e47e980b0796b94b1b8f51f462a64d246e516 (diff) | |
download | illumos-joyent-47b8d4b884f2dab4e4c6952b40fd740a8fc4ab32.tar.gz |
9434 Speculative prefetch is blocked by device removal code
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Prashanth Sreenivasa <pks@delphix.com>
Approved by: Matt Ahrens <mahrens@delphix.com>
-rw-r--r-- | usr/src/uts/common/fs/zfs/vdev_removal.c | 1 |
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); |