diff options
author | Martin George <marting@netapp.com> | 2020-05-12 22:17:04 +0530 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-05-27 07:12:37 +0200 |
commit | 614fc1c0d980423a131bfb5c93d8d53e5272f587 (patch) | |
tree | 9ccf1fd73caa795d9fb8b1b09b1074d82fd4a946 /lib/memory-notifier-error-inject.c | |
parent | 9c9e76d5792b121f10c3b8ddbb639617e49197f7 (diff) |
nvme-fc: print proper nvme-fc devloss_tmo value
The nvme-fc devloss_tmo is computed as the min of either the
ctrl_loss_tmo (max_retries * reconnect_delay) or the remote port's
devloss_tmo. But what gets printed as the nvme-fc devloss_tmo in
nvme_fc_reconnect_or_delete() is always the remote port's devloss_tmo
value. So correct this by printing the min value instead.
Signed-off-by: Martin George <marting@netapp.com>
Reviewed-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions