9434 Speculative prefetch is blocked by device removal code.
Device removal code does not set spa_indirect_vdevs_loaded for pools that never experienced device removal. At least one visual consequence of it is completely blocked speculative prefetcher. This patch sets the variable in such situations.
This commit is contained in:
parent
2f0aaeb453
commit
81d2de3787
@ -368,6 +368,7 @@ spa_remove_init(spa_t *spa)
|
||||
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;
|
||||
return (0);
|
||||
} else if (error != 0) {
|
||||
return (error);
|
||||
|
Loading…
Reference in New Issue
Block a user