HomeFreeBSD

If vm_pager_get_pages_async() returns an error synchronously we leak wired

Description

If vm_pager_get_pages_async() returns an error synchronously we leak wired
and busy pages. Add code that would carefully cleanups the state in case
of synchronous error return. Cover a case when a first I/O went on
asynchronously, but second or N-th returned error synchronously.

In collaboration with: chs
Reviewed by: jtl, kib

Details

Provenance
glebiusAuthored on
Parents
rS354418: clang: Enable unwind tables on !amd64
Branches
Unknown
Tags
Unknown