Thread (1 message) 1 message, 1 author, 2018-08-24

Re: [PATCH] lpfc: Correct MDS diag and nvmet configuration

From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2018-08-24 02:13:21
Also in: linux-scsi

James,
A recent change added some MDS processing in the lpfc_drain_txq
routine that relies on the fcp_wq being allocated. For nvmet operation
the fcp_wq is not allocated because it can only be an nvme-target.
When the original MDS support was added LS_MDS_LOOPBACK was defined
wrong, (0x16) it should have been 0x10 (decimal value used for hex
setting). This incorrect value allowed MDS_LOOPBACK to be set
simultaneously with LS_NPIV_FAB_SUPPORTED, causing the driver to crash
when it accesses the non-existent fcp_wq.

Correct the bad value setting for LS_MDS_LOOPBACK.
Applied to 4.19/scsi-fixes, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help