HomeFreeBSD

Formalize NVMe controller consumer life cycle.

Description

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.

MFC after: 2 weeks

Details

Committed
mavAug 21 2019, 2:17 AM
Parents
rS351319: makefs: use `char *` not `void *` for buf b_data, drop casts in msdos
Branches
Unknown
Tags
Unknown