HomeFreeBSD

nvme: Replace potentially long DELAY() with pause().

Description

nvme: Replace potentially long DELAY() with pause().

In some cases like broken hardware nvme(4) may wait minutes for
controller response before timeout. Doing so in a tight spin loop
made whole system unresponsive.

Reviewed by: imp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D29309
Sponsored by: iXsystems, Inc.

Details

Provenance
mavAuthored on Mar 17 2021, 2:30 PM
Reviewer
imp
Differential Revision
D29309: nvme: Replace potentially long DELAY()'s with pause()'s
Parents
rGf187d6dfbf63: base: remove if_wg(4) and associated utilities, manpage
Branches
Unknown
Tags
Unknown