]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Free the request page if an I/O error occurs while reading from swap.
authormarkj <markj@FreeBSD.org>
Wed, 14 Jun 2017 03:50:02 +0000 (03:50 +0000)
committermarkj <markj@FreeBSD.org>
Wed, 14 Jun 2017 03:50:02 +0000 (03:50 +0000)
commitb4afb1c6675bd99e03baf5edf6577e3009bb6375
tree3752b61b1e3102941a8d968e7b7535c6aed825ac
parent565727a0638a0c0851ddcc54ef7eea7228a94520
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
sys/dev/md/md.c