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:
parent
e70ece1297
commit
95108cadbc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=344736
@ -331,7 +331,8 @@ nvme_completion_is_retry(const struct nvme_completion *cpl)
|
|||||||
* TODO: spec is not clear how commands that are aborted due
|
* TODO: spec is not clear how commands that are aborted due
|
||||||
* to TLER will be marked. So for now, it seems
|
* to TLER will be marked. So for now, it seems
|
||||||
* NAMESPACE_NOT_READY is the only case where we should
|
* 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) {
|
switch (sct) {
|
||||||
case NVME_SCT_GENERIC:
|
case NVME_SCT_GENERIC:
|
||||||
|
Loading…
Reference in New Issue
Block a user