diff options
author | James Smart <james.smart@emulex.com> | 2013-12-18 02:29:01 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-15 18:18:54 +0100 |
commit | 76f96b6dfddf7804b3d33ede60a0c63bae271361 (patch) | |
tree | ca13862c0953cb9b5288458b722ee2d465f58776 /drivers/scsi/lpfc/lpfc_sli.c | |
parent | [SCSI] qla2xxx: Fixup looking for a space in the outstanding_cmds array in ql... (diff) | |
download | linux-76f96b6dfddf7804b3d33ede60a0c63bae271361.tar.xz linux-76f96b6dfddf7804b3d33ede60a0c63bae271361.zip |
[SCSI] lpfc 8.3.44: Fixed IO hang when in msi mode.
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_sli.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_sli.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index 8f580fda443f..838e5b991851 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c @@ -8032,7 +8032,8 @@ lpfc_sli4_scmd_to_wqidx_distr(struct lpfc_hba *phba) struct lpfc_vector_map_info *cpup; int chann, cpu; - if (phba->cfg_fcp_io_sched == LPFC_FCP_SCHED_BY_CPU) { + if (phba->cfg_fcp_io_sched == LPFC_FCP_SCHED_BY_CPU + && phba->cfg_fcp_io_channel > 1) { cpu = smp_processor_id(); if (cpu < phba->sli4_hba.num_present_cpu) { cpup = phba->sli4_hba.cpu_map; |