svn commit: r338403 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Alexander Motin
mav at FreeBSD.org
Fri Aug 31 01:50:41 UTC 2018
Author: mav
Date: Fri Aug 31 01:50:40 2018
New Revision: 338403
URL: https://svnweb.freebsd.org/changeset/base/338403
Log:
MFV r338288: 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.
Modified:
stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c
==============================================================================
--- stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c Fri Aug 31 01:01:16 2018 (r338402)
+++ stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c Fri Aug 31 01:50:40 2018 (r338403)
@@ -4727,6 +4727,7 @@ spa_create(const char *pool, nvlist_t *nvroot, nvlist_
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
More information about the svn-src-stable
mailing list