HomeFreeBSD

MFC r333130: Improve nvme(4) attach/detach sequences.

Description

MFC r333130: Improve nvme(4) attach/detach sequences.

This change allows clean device detach on attach failures and driver unload,
while previous code tried to talk to already shut down controller, or even
accessed resources failed to allocate.

Details

Provenance
mavAuthored on
Parents
rS335152: MFC r333127: Fix use-after-free in nvme_qpair_destroy().
Branches
Unknown
Tags
Unknown