]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sendfile: When all io finished, assert that sfio->pa[] is in expected state.
authorKonstantin Belousov <kib@FreeBSD.org>
Sat, 18 Apr 2020 03:09:25 +0000 (03:09 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Sat, 18 Apr 2020 03:09:25 +0000 (03:09 +0000)
commitacf65eef23ef16b34ce7172b8ffb324a4557cd50
tree81e7a60aad5b16bb11f21bc9f2a29d7c2a31ef23
parente795a04083119a5e0229a676c81f92c828ec747b
sendfile: When all io finished, assert that sfio->pa[] is in expected state.

It must contain fully restored contigous run of the wired pages from
the object, except possible trimmed tail.

Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
sys/kern/kern_sendfile.c