aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2018-08-24 01:59:25 +0000
committerAlexander Motin <mav@FreeBSD.org>2018-08-24 01:59:25 +0000
commitcb892a4117dcabbf1e6b192242162ba65e500a7f (patch)
tree0e69d2a12b79101148e0dfcd6ea0f5d03b7f2633 /sys
parentcd371ac1a218c3629a8bed218363410bb279e46b (diff)
downloadsrc-cb892a4117dcabbf1e6b192242162ba65e500a7f.tar.gz
src-cb892a4117dcabbf1e6b192242162ba65e500a7f.zip
Unblock speculative prefetcher also on pool creation.
Fix at r331950 appeared to be incomplete, fixing only case of pool import, but not pool creation, leaving prefetcher still blocked for newly created pools. Approved by: re (gjb) MFC after: 1 week
Notes
Notes: svn path=/head/; revision=338288
Diffstat (limited to 'sys')
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c
index a6f19a607d86..2b5547ce5986 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c
+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c
@@ -4793,6 +4793,7 @@ spa_create(const char *pool, nvlist_t *nvroot, nvlist_t *props,
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;
/*
* Create "The Godfather" zio to hold all async IOs