HomeFreeBSD

MFC r351352: Improve NVMe hot unplug handling.

Description

MFC r351352: Improve NVMe hot unplug handling.

If device is unplugged from the system (CSTS register reads return
0xffffffff), it makes no sense to send any more recovery requests or
expect any responses back. If there is a detach call in such state,
just stop all activity and free resources. If there is no detach
call (hot-plug is not supported), rely on normal timeout handling,
but when it trigger controller reset, do not wait for impossible and
quickly report failure.

Sponsored by: iXsystems, Inc.

Details

Committed
mavAug 27 2019, 4:04 AM
Parents
rS351534: MFC r351320: Formalize NVMe controller consumer life cycle.
Branches
Unknown
Tags
Unknown