Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2018 01:50:40 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r338403 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <201808310150.w7V1oesX032617@repo.freebsd.org>

index | next in thread | raw e-mail

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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808310150.w7V1oesX032617>