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
GitHub <noreply@github.com>Committed on Apr 9 2024, 11:14 PM
Parents
rG162cc80b8144: etc/init.d: decide which variant to use at build time.
Branches
Unknown
Tags
Unknown