]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use RTD3 Entry Latency value as shutdown timeout.
authormav <mav@FreeBSD.org>
Wed, 14 Oct 2020 15:50:28 +0000 (15:50 +0000)
committermav <mav@FreeBSD.org>
Wed, 14 Oct 2020 15:50:28 +0000 (15:50 +0000)
commit56d097d36869451ca8a8102d0b0c10f8f3f6b02c
tree7658891479cf701e36f3337e98edd94575db80f2
parentaa6aa078597dbb6abe2b3ba8b0158f2f9f5ed40c
Use RTD3 Entry Latency value as shutdown timeout.

This field was not in specs when the driver was written, but now there
are SSDs with the reported latency of 10s, where hardcoded value of 5s
seems to be not enough sometimes, causing shutdown timeout messages.

MFC after: 1 week
Sponsored by: iXsystems, Inc.
sys/dev/nvme/nvme_ctrlr.c