summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiridhar Malavali <giridhar.malavali@qlogic.com>2011-11-18 09:03:17 -0800
committerJames Bottomley <JBottomley@Parallels.com>2011-12-15 10:55:10 +0400
commit99b8212c491913bd077063c138676ad5af8c6d3d (patch)
tree14a96d388e996cee1bd341bc78db83495ac47ddd
parent706f457d000c8f334a1af37508d946a561d5929a (diff)
downloadlinux-99b8212c491913bd077063c138676ad5af8c6d3d.tar.gz
linux-99b8212c491913bd077063c138676ad5af8c6d3d.tar.bz2
linux-99b8212c491913bd077063c138676ad5af8c6d3d.zip
[SCSI] qla2xxx: Process marker IOCB request on request queue 0.
When multiple request queues are created process the marker IOCB request on request queue 0. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r--drivers/scsi/qla2xxx/qla_iocb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c
index d63132536c88..64a3075c3b47 100644
--- a/drivers/scsi/qla2xxx/qla_iocb.c
+++ b/drivers/scsi/qla2xxx/qla_iocb.c
@@ -489,6 +489,7 @@ __qla2x00_marker(struct scsi_qla_host *vha, struct req_que *req,
scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev);
mrk24 = NULL;
+ req = ha->req_q_map[0];
mrk = (mrk_entry_t *)qla2x00_alloc_iocbs(vha, 0);
if (mrk == NULL) {
ql_log(ql_log_warn, base_vha, 0x3026,