HomeFreeBSD

Upstream: dmu_zfetch_stream_fini leaks refcount

Description

Upstream: dmu_zfetch_stream_fini leaks refcount

dmu_zfetch_stream_fini() is missing calls to destroy the refcounts,
leaking them and the mutex inside.

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Jorgen Lundman <lundman@lundman.net>
Closes #12294

Details

Provenance
Jorgen Lundman <lundman@lundman.net>Authored on Jul 1 2021, 3:22 PM
GitHub <noreply@github.com>Committed on Jul 1 2021, 3:22 PM
Parents
rG50e09eddd0c5: Optimize txg_kick() process (#12274)
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGeca174527e0b: Upstream: dmu_zfetch_stream_fini leaks refcount (authored by Jorgen Lundman <lundman@lundman.net>).Jul 1 2021, 3:22 PM