]> git.proxmox.com Git - mirror_zfs.git/commit
zil: Relax assertion in zil_parse
authorRyan Moeller <ryan@iXsystems.com>
Tue, 1 Nov 2022 19:19:32 +0000 (15:19 -0400)
committerGitHub <noreply@github.com>
Tue, 1 Nov 2022 19:19:32 +0000 (12:19 -0700)
commit748b9d5bda935d126eeb62acab86c95e8b2ccac3
treecc0a1b23d3297ced1c4a1e16b36703f872329d55
parent95055c2ce2a51b5285091d928c8481d02796ea72
zil: Relax assertion in zil_parse

Rather than panic debug builds when we fail to parse a whole ZIL, let's
instead improve the logging of errors and continue like in a release
build.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #14116
module/zfs/zil.c