mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-03-14 06:16:17 +03:00
mmp: move "Starting import" log message
Move the "Starting import" log message in to the import block so it's matched with the "Fiinshed importing" debug message. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Olaf Faaland <faaland1@llnl.gov> Reviewed-by: Akash B <akash-b@hpe.com>
This commit is contained in:
parent
a9564b1787
commit
62a1bf7d19
@ -5757,11 +5757,12 @@ spa_load_impl(spa_t *spa, spa_import_type_t type, const char **ereport)
|
|||||||
* pool. If we are importing the pool in read-write mode, a few
|
* pool. If we are importing the pool in read-write mode, a few
|
||||||
* additional steps must be performed to finish the import.
|
* additional steps must be performed to finish the import.
|
||||||
*/
|
*/
|
||||||
spa_import_progress_set_notes(spa, "Starting import");
|
|
||||||
if (spa_writeable(spa) && (spa->spa_load_state == SPA_LOAD_RECOVER ||
|
if (spa_writeable(spa) && (spa->spa_load_state == SPA_LOAD_RECOVER ||
|
||||||
spa->spa_load_max_txg == UINT64_MAX)) {
|
spa->spa_load_max_txg == UINT64_MAX)) {
|
||||||
uint64_t config_cache_txg = spa->spa_config_txg;
|
uint64_t config_cache_txg = spa->spa_config_txg;
|
||||||
|
|
||||||
|
spa_import_progress_set_notes(spa, "Starting import");
|
||||||
|
|
||||||
ASSERT(spa->spa_load_state != SPA_LOAD_TRYIMPORT);
|
ASSERT(spa->spa_load_state != SPA_LOAD_TRYIMPORT);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user