HomeFreeBSD

sendfile: Clear page pointers when handling a pager error

Description

sendfile: Clear page pointers when handling a pager error

When INVARIANTS is configred, the sendfile_iodone() callback verifies
that pages attached to the sendfile header are wired, but we unwire all
such pages after a synchronous pager error, before calling
sendfile_iodone().

Reported by: pho
Tested by: pho
Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on Jan 3 2021, 4:35 PM
Parents
rG2ce5eef6e23a: cam: Remove Giant handling from cam_sim_alloc()
Branches
Unknown
Tags
Unknown