Author: mav
Date: Mon Apr 15 16:29:47 2019
New Revision: 346245
URL: https://svnweb.freebsd.org/changeset/base/346245

Log:
  MFC r344736 (by imp): Add ABORTED_BY_REQUEST to the list of things we look
  at DNR bit and tell why to comment (code already does this)

Modified:
  stable/11/sys/dev/nvme/nvme_qpair.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/nvme/nvme_qpair.c
==============================================================================
--- stable/11/sys/dev/nvme/nvme_qpair.c Mon Apr 15 16:28:25 2019        
(r346244)
+++ stable/11/sys/dev/nvme/nvme_qpair.c Mon Apr 15 16:29:47 2019        
(r346245)
@@ -255,7 +255,8 @@ nvme_completion_is_retry(const struct nvme_completion 
         * 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 (cpl->status.sct) {
        case NVME_SCT_GENERIC:
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to