HomeFreeBSD

MFC r351320: Formalize NVMe controller consumer life cycle.

Description

MFC r351320: Formalize NVMe controller consumer life cycle.

This fixes possible double call of fail_fn, for example on hot removal.
It also allows ctrlr_fn to safely return NULL cookie in case of failure
and not get useless ns_fn or fail_fn call with NULL cookie later.

Details

Provenance
mavAuthored on
Parents
rS351533: MFC r351038: Print few more useful identify fields.
Branches
Unknown
Tags
Unknown