Add ABORTED_BY_REQUEST to the list of things we look at DNR bit and tell why to comment (code already does this)

This commit is contained in:
Warner Losh 2019-03-03 03:36:33 +00:00
parent e70ece1297
commit 95108cadbc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=344736

View File

@ -331,7 +331,8 @@ nvme_completion_is_retry(const struct nvme_completion *cpl)
* TODO: spec is not clear how commands that are aborted due
* to TLER will be marked. So for now, it seems
* NAMESPACE_NOT_READY is the only case where we should
* look at the DNR bit.
* look at the DNR bit. Requests failed with ABORTED_BY_REQUEST
* set the DNR bit correctly since the driver controls that.
*/
switch (sct) {
case NVME_SCT_GENERIC: