]> git.proxmox.com Git - mirror_zfs.git/commit
Extend import_progress kstat with a notes field
authorDon Brady <don.brady@delphix.com>
Tue, 5 Dec 2023 22:27:56 +0000 (15:27 -0700)
committerGitHub <noreply@github.com>
Tue, 5 Dec 2023 22:27:56 +0000 (14:27 -0800)
commit687e4d7f9cadc17a4b8ebb67bc156b7b0a699192
tree847316ee4ef592de2da270ee817802797a7e1db8
parent727497ccdfcccc26517a596ec75e8db400b62932
Extend import_progress kstat with a notes field

Detail the import progress of log spacemaps as they can take a very
long time.  Also grab the spa_note() messages to, as they provide
insight into what is happening

Sponsored-By: OpenDrives Inc.
Sponsored-By: Klara Inc.
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Don Brady <don.brady@klarasystems.com>
Co-authored-by: Allan Jude <allan@klarasystems.com>
Closes #15539
include/sys/spa.h
module/zfs/spa.c
module/zfs/spa_log_spacemap.c
module/zfs/spa_misc.c
tests/runfiles/common.run
tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_status.ksh [new file with mode: 0755]