HomeFreeBSD

nvme: complete requests when payload DMA mapping fails

Description

nvme: complete requests when payload DMA mapping fails

bus_dmamap_load_mem() reports most mapping failures, including EFBIG,
only through its callback and then returns zero. nvme_payload_map()
logged the error without telling the submission path, so the tracker
stayed on the outstanding list with no command submitted and no
timeout armed, stalling all later I/O on the queue behind it.

Approved by: ngie (co-mentor)
MFC after: 1 week

Reviewed by: ngie, imp
Differential Revision: https://reviews.freebsd.org/D59151

Details

Provenance
seurosAuthored on Sep 3 2026, 3:33 PM
Reviewer
ngie
Differential Revision
D59151: nvme: complete requests when payload DMA mapping fails
Parents
rG8304e68994c8: vm_page_free.9: Remove references to vm_page_try_to_free()
Branches
Unknown
Tags
Unknown