From: Benjamin Marzinski <bmarz...@redhat.com>

Revert "nvme: Return BLK_STS_TARGET if the DNR bit is set"

Upstream Status: RHEL-only

This reverts commit 0137ae359000f3ee0f51db1e761345b3709b3743.

Since RHEL no longer supports non-native NVMe multipathing, we no longer
need to carry this RHEL-only patch improving dm-multipath on NVMe
devices.

Signed-off-by: Benjamin Marzinski <bmarz...@redhat.com>

diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index blahblah..blahblah 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -276,9 +276,6 @@ void nvme_delete_ctrl_sync(struct nvme_ctrl *ctrl)
 
 static blk_status_t nvme_error_status(u16 status)
 {
-       if (unlikely(status & NVME_STATUS_DNR))
-               return BLK_STS_TARGET;
-
        switch (status & NVME_SCT_SC_MASK) {
        case NVME_SC_SUCCESS:
                return BLK_STS_OK;

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3690

-- 
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to