aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/nvme/nvme_qpair.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2019-03-03 03:36:33 +0000
committerWarner Losh <imp@FreeBSD.org>2019-03-03 03:36:33 +0000
commit95108cadbce133c49d1d442e83e92fcd545cf197 (patch)
tree1df9e3fb1aaf547216717236c9cd7e2d22c661d7 /sys/dev/nvme/nvme_qpair.c
parente70ece1297a742da3e5886e93d0e91a3121a2efe (diff)
downloadsrc-95108cadbce133c49d1d442e83e92fcd545cf197.tar.gz
src-95108cadbce133c49d1d442e83e92fcd545cf197.zip
Add ABORTED_BY_REQUEST to the list of things we look at DNR bit and tell why to comment (code already does this)
Notes
Notes: svn path=/head/; revision=344736
Diffstat (limited to 'sys/dev/nvme/nvme_qpair.c')
-rw-r--r--sys/dev/nvme/nvme_qpair.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/nvme/nvme_qpair.c b/sys/dev/nvme/nvme_qpair.c
index c0eeb6da6be7..5c46e247ccf1 100644
--- a/sys/dev/nvme/nvme_qpair.c
+++ b/sys/dev/nvme/nvme_qpair.c
@@ -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: