HomeFreeBSD

ioat(4): Fix 'bogus completion_pending' KASSERT

Description

ioat(4): Fix 'bogus completion_pending' KASSERT

Fix ioat_release to only set is_completion_pending if DMAs were actually
queued. Otherwise, the spurious flag could trigger an assert in the
reset path on INVARIANTS kernels.

Reviewed by: bdrewery, Suraj Raju @ Isilon
Sponsored by: Dell EMC Isilon

Details

Provenance
cemAuthored on
Reviewer
bdrewery
Parents
rS309337: MFC r306577 r306652 306830
Branches
Unknown
Tags
Unknown