]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't print all the I/O we abort on a reset, unless we're out of
authorimp <imp@FreeBSD.org>
Sat, 9 Mar 2019 01:18:16 +0000 (01:18 +0000)
committerimp <imp@FreeBSD.org>
Sat, 9 Mar 2019 01:18:16 +0000 (01:18 +0000)
commit103d9e698af59fb647f457826ef114b5e1e8ca61
tree8d6338c4a95795838c3c1b3f10eadec0863399f5
parent886b55fe42b1fd37bf2102d5f3bd94419e1a45d4
Don't print all the I/O we abort on a reset, unless we're out of
retries.

When resetting the controller, we abort I/O. Prior to this fix, we
printed a ton of abort messages for I/O that we're going to
retry. This imparts no useful information. Stop printing them unless
our retry count is exhausted. Clarify code for when we don't retry,
and remove useless arg to a routine that's always called with it
as 'true'. All the other debug is still printed (including multiple
reset messages if we have multiple timeouts before the taskqueue
runs the actual reset) so that we know when we reset.

Reviewed by: jimharris@, chuck@
Differential Revision: https://reviews.freebsd.org/D19431
sys/dev/nvme/nvme_ctrlr.c
sys/dev/nvme/nvme_private.h
sys/dev/nvme/nvme_qpair.c