aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla4xxx/ql4_os.c
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2008-07-11 19:50:32 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-26 15:14:48 -0400
commit885ace9e2f120439043ffa1bb72a2fa1f3afc645 (patch)
tree809ba05d44d79387c8142fb8d3974801ca222508 /drivers/scsi/qla4xxx/ql4_os.c
parent[SCSI] st: Remove bogus memset (diff)
downloadlinux-dev-885ace9e2f120439043ffa1bb72a2fa1f3afc645.tar.xz
linux-dev-885ace9e2f120439043ffa1bb72a2fa1f3afc645.zip
[SCSI] fix shared tag map setup
Currently qla4xxx and stex pass in their can_queue values into scsi_activate_tcq because they wanted the tag map that large. The problem with this is that it ends up also setting the queue depth to that large value. All we want to do this in this case is set the device queue depth and the other device settings. We do not need to touch the tag map sizing because the drivers had setup that map according to their can_queue limits when the shared map was created. The scsi mid layer in request_fn will then handle the case where we have more requests than available tags when it checks the host queue ready function. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions