HomeFreeBSD

Fix memory leak in zil_parse().

Description

Fix memory leak in zil_parse().

482da24e2 missed arc_buf_destroy() calls on log parse errors, possibly
leaking up to 128KB of memory per dataset during ZIL replay.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Paul Dagnelie <pcd@delphix.com>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #14987

Details

Provenance
mavAuthored on Jun 18 2023, 2:51 AM
GitHub <noreply@github.com>Committed on Jun 18 2023, 2:51 AM
Parents
rG10e36e17612b: Shorten arcstat_quiescence sleep time
Branches
Unknown
Tags
Unknown