mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-08-06 15:07:39 +03:00
spa: clear checkpoint information during retry
Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Mariusz Zaborski <oshogbo@FreeBSD.org>
Closes #17319
(cherry picked from commit 8b9c4e643b
)
This commit is contained in:
parent
db988fabfb
commit
1c11d3a54f
@ -2194,6 +2194,7 @@ spa_unload(spa_t *spa)
|
|||||||
}
|
}
|
||||||
|
|
||||||
spa->spa_raidz_expand = NULL;
|
spa->spa_raidz_expand = NULL;
|
||||||
|
spa->spa_checkpoint_txg = 0;
|
||||||
|
|
||||||
spa_config_exit(spa, SCL_ALL, spa);
|
spa_config_exit(spa, SCL_ALL, spa);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user