svn commit: r338288 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

Alexander Motin mav at FreeBSD.org
Fri Aug 24 01:59:26 UTC 2018


Author: mav
Date: Fri Aug 24 01:59:25 2018
New Revision: 338288
URL: https://svnweb.freebsd.org/changeset/base/338288

Log:
  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

Modified:
  head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c

Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c	Fri Aug 24 00:25:25 2018	(r338287)
+++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c	Fri Aug 24 01:59:25 2018	(r338288)
@@ -4793,6 +4793,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-head mailing list