summaryrefslogtreecommitdiff
path: root/drivers/scsi/cxgbi
diff options
context:
space:
mode:
authorJames Bottomley <JBottomley@Odin.com>2015-04-26 11:52:46 -0700
committerJames Bottomley <JBottomley@Odin.com>2015-05-25 08:46:24 -0700
commitef10b16948bc0db51a0140be5109ad73b170a011 (patch)
treee25e3557892e8c698036bf5d2233d14c640a03fd /drivers/scsi/cxgbi
parent32505876c0947a4cecc409dfbef1fc58ced6138d (diff)
scsi_scan: fix queue depth initialisation problem
Currently we blindly use the value of cmd_per_lun as the initial setting for queue_depth. This fails miserably (hangs the system) if it is zero, which is the default value for anything uninitialised in the template. The net result is that every host template has to set a value for cmd_per_lun. Instead, use a default value of 1 if the actual value is unset. This should pave the way for removing cmd_per_lun from all the templates and eventually from SCSI itself. Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/cxgbi')
0 files changed, 0 insertions, 0 deletions