mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-29 16:44:03 +00:00
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
This commit is contained in:
parent
cd371ac1a2
commit
cb892a4117
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338288
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user