HomeFreeBSD

correct read-ahead calculations in vfs_bio_getpages

Description

correct read-ahead calculations in vfs_bio_getpages

Previously the calculations were done as if the requested region
ended at the start of the last requested page, not its end.
The problem as actually quite minor as it affected only stats and
page prefaulting, not the actual page data, and only with specific
parameters.

Reviewed by: kib (previous version)
MFC after: 2 weeks

Details

Provenance
avgAuthored on
Reviewer
kib
Parents
rS328125: MFC r327822:
Branches
Unknown
Tags
Unknown