]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r350068 (by imp): Assume that the timeout value from the capacity is 1-based
authorAlexander Motin <mav@FreeBSD.org>
Mon, 12 Aug 2019 18:51:35 +0000 (18:51 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Mon, 12 Aug 2019 18:51:35 +0000 (18:51 +0000)
commitb482736c6252d755e21ab8fc2292f5de416a9b8d
tree759047bfbee7caa3034c2554cace5071d0866442
parentcc8b9becad302e122132e1557b1e477d2894a659
MFC r350068 (by imp): Assume that the timeout value from the capacity is 1-based

Neither the 1.3 or 1.4 standards say this number is 1's based, but adding 1
costs little and copes with those NVMe drives that report '0' in this field
cheaply. This is consistent with what the Linux driver does as well.
sys/dev/nvme/nvme_ctrlr.c