]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sendfile: When all io finished, assert that sfio->pa[] is in expected state.
authorkib <kib@FreeBSD.org>
Sat, 18 Apr 2020 03:09:25 +0000 (03:09 +0000)
committerkib <kib@FreeBSD.org>
Sat, 18 Apr 2020 03:09:25 +0000 (03:09 +0000)
commitead9e897221682ef465e5684b83040b459b8a0df
tree81e7a60aad5b16bb11f21bc9f2a29d7c2a31ef23
parent85c7ef14f7aa3aa6c339db9b4bf406e1a0beb0c1
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