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

Provenance
mavAuthored on
Parents
rS351587: Install all bzip2.1 MLINKs from the same place.
Branches
Unknown
Tags
Unknown