HomeFreeBSD

BRT: Clear bv_entcount_dirty on destroy

Description

BRT: Clear bv_entcount_dirty on destroy

This fixes assertion in brt_sync_table() on debug builds when last
cloned block on the vdev is freed and bv_meta_dirty is cleared,
while bv_entcount_dirty is not. Should not matter in production.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #16791

Details

Provenance
mavAuthored on Nov 21 2024, 4:20 PM
GitHub <noreply@github.com>Committed on Nov 21 2024, 4:20 PM
Parents
rG225e76cd7d43: Linux 6.12 compat: META
Branches
Unknown
Tags
Unknown