|
|
3d7c23 |
From 8f9ae1255deec72bc9051c516d3bf45c8e16d5ec Mon Sep 17 00:00:00 2001
|
|
|
3d7c23 |
From: Himanshu Madhani <hmadhani@redhat.com>
|
|
|
3d7c23 |
Date: Thu, 1 Aug 2019 15:54:24 -0400
|
|
|
3d7c23 |
Subject: [PATCH 004/124] [scsi] scsi: qla2xxx: Fix N2N target discovery with
|
|
|
3d7c23 |
Local loop
|
|
|
3d7c23 |
|
|
|
3d7c23 |
Message-id: <20190801155618.12650-5-hmadhani@redhat.com>
|
|
|
3d7c23 |
Patchwork-id: 267782
|
|
|
3d7c23 |
O-Subject: [RHEL 7.8 e-stor PATCH 004/118] scsi: qla2xxx: Fix N2N target discovery with Local loop
|
|
|
3d7c23 |
Bugzilla: 1729270
|
|
|
3d7c23 |
RH-Acked-by: Jarod Wilson <jarod@redhat.com>
|
|
|
3d7c23 |
RH-Acked-by: Tony Camuso <tcamuso@redhat.com>
|
|
|
3d7c23 |
|
|
|
3d7c23 |
From: Himanshu Madhani <hmadhani@marvell.com>
|
|
|
3d7c23 |
|
|
|
3d7c23 |
Bugzilla 1729270
|
|
|
3d7c23 |
|
|
|
3d7c23 |
This patch fixes the issue where Dell-EMC Target will fail to discover LUNs
|
|
|
3d7c23 |
if domain and area of port ID is not same as adapter's.
|
|
|
3d7c23 |
|
|
|
3d7c23 |
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
|
|
|
3d7c23 |
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
|
|
|
3d7c23 |
(cherry picked from commit 7f147f9bfd44d048e22e8c65877d2b5590e6cf3d)
|
|
|
3d7c23 |
Signed-off-by: Himanshu Madhani <hmadhani@redhat.com>
|
|
|
3d7c23 |
Signed-off-by: Jan Stancek <jstancek@redhat.com>
|
|
|
3d7c23 |
---
|
|
|
3d7c23 |
drivers/scsi/qla2xxx/qla_init.c | 5 -----
|
|
|
3d7c23 |
1 file changed, 5 deletions(-)
|
|
|
3d7c23 |
|
|
|
3d7c23 |
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
|
|
|
3d7c23 |
index b72657dad815..a047c0c0500f 100644
|
|
|
3d7c23 |
--- a/drivers/scsi/qla2xxx/qla_init.c
|
|
|
3d7c23 |
+++ b/drivers/scsi/qla2xxx/qla_init.c
|
|
|
3d7c23 |
@@ -4974,11 +4974,6 @@ qla2x00_configure_local_loop(scsi_qla_host_t *vha)
|
|
|
3d7c23 |
if ((domain & 0xf0) == 0xf0)
|
|
|
3d7c23 |
continue;
|
|
|
3d7c23 |
|
|
|
3d7c23 |
- /* Bypass if not same domain and area of adapter. */
|
|
|
3d7c23 |
- if (area && domain &&
|
|
|
3d7c23 |
- (area != vha->d_id.b.area || domain != vha->d_id.b.domain))
|
|
|
3d7c23 |
- continue;
|
|
|
3d7c23 |
-
|
|
|
3d7c23 |
/* Bypass invalid local loop ID. */
|
|
|
3d7c23 |
if (loop_id > LAST_LOCAL_LOOP_ID)
|
|
|
3d7c23 |
continue;
|
|
|
3d7c23 |
--
|
|
|
3d7c23 |
2.13.6
|
|
|
3d7c23 |
|