HomeFreeBSD

Fix vnode_pager handling of read ahead/behind pages when a disk read fails.

Description

Fix vnode_pager handling of read ahead/behind pages when a disk read fails.
Rather than marking the read ahead/behind pages valid even though they were
not initialized, free them using the new function vm_page_free_invalid().

Reviewed by: markj, kib
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D25430

Details

Provenance
chsAuthored on
Reviewer
markj
Differential Revision
D25430: Fix one more case of vnode_pager I/O errors
Parents
rS363295: Add a new function vm_page_free_invalid() for freeing invalid pages
Branches
Unknown
Tags
Unknown