HomeFreeBSD

Free the request page if an I/O error occurs while reading from swap.

Description

Free the request page if an I/O error occurs while reading from swap.

After such a failure, the page is invalid, so there's point in keeping it
around. Moreover, such pages were not being inserted into the active queue,
making them unreclaimable until a subsequent write or delete made them
valid.

Reported by: alc
Reviewed by: alc (previous revision)
MFC after: 1 week

Details

Provenance
markjAuthored on
Reviewer
alc
Parents
rS319932: Fix handling of subpage BIO_WRITE and BIO_DELETE requests on swap MDs.
Branches
Unknown
Tags
Unknown