HomeFreeBSD

nvme: Do not rearm timeout for commands without one.

Description

nvme: Do not rearm timeout for commands without one.

Admin queues almost always have several ASYNC_EVENT_REQUEST outstanding.
They have no timeouts, but their presence in qpair->outstanding_tr caused
useless timeout callout rearming twice a second.

While there, relax timeout callout period from 0.5s to 0.5-1s to improve
aggregation. Command timeouts are measured in seconds, so we don't need
to be precise here.

Reviewed by: imp
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D33781

Details

Provenance
mavAuthored on Jan 7 2022, 5:54 PM
Reviewer
imp
Differential Revision
D33781: nvme: Do not rearm timeout for commands without one.
Parents
rG0e5c50bf6072: cam: Relax callouts precisions.
Branches
Unknown
Tags
Unknown