HomeFreeBSD

Small fix to prefetch ranges aggregation

Description

Small fix to prefetch ranges aggregation

When after #16022 adding new range we aggregate more than two
existing ranges, that should be very rare, only if several streams
overlap, we may need to zero not the last range, but some earlier.

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

Details

Provenance
mavAuthored on Apr 9 2024, 11:14 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Apr 19 2024, 5:13 PM
Parents
rG97d7228f4272: Remove db_state DB_NOFILL checks from syncing context
Branches
Unknown
Tags
Unknown