Commit 2bcbc814 authored by Johannes Thumshirn's avatar Johannes Thumshirn Committed by James Bottomley

qla1280: Don't allocate 512kb of host tags

The qla1280 driver sets the scsi_host_template's can_queue field to 0xfffff
which results in an allocation failure when allocating the block layer tags
for the driver's queues. This was introduced with the change for host wide
tags in commit 64d513ac - "scsi: use host wide tags by default".

Reduce can_queue to MAX_OUTSTANDING_COMMANDS (512) to solve the allocation
Signed-off-by: default avatarJohannes Thumshirn <>
Fixes: 64d513ac - "scsi: use host wide tags by default"
Cc: # v4.4
Cc: Laura Abbott <>
Cc: Michael Reed <>
Reviewed-by: default avatarLaurence Oberman <>
Reviewed-by: default avatarLee Duncan <>
Signed-off-by: default avatarMartin K. Petersen <>
Signed-off-by: default avatarJames Bottomley <>
parent a4bd8520
......@@ -4214,7 +4214,7 @@ static struct scsi_host_template qla1280_driver_template = {
.eh_bus_reset_handler = qla1280_eh_bus_reset,
.eh_host_reset_handler = qla1280_eh_adapter_reset,
.bios_param = qla1280_biosparam,
.can_queue = 0xfffff,
.this_id = -1,
.sg_tablesize = SG_ALL,
.use_clustering = ENABLE_CLUSTERING,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment