summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_els.c
diff options
context:
space:
mode:
authorSalyzyn, Mark <Mark_Salyzyn@adaptec.com>2008-01-08 23:07:57 +0100
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-01-23 18:29:21 +0100
commitb18268fc631034882f5f3dd93daa248a3bfdd085 (patch)
tree6180457b1bff327306a10846e0b1422671633574 /drivers/scsi/lpfc/lpfc_els.c
parent[SCSI] aacraid: OS panic after Adapter panic (hardening). (diff)
downloadlinux-b18268fc631034882f5f3dd93daa248a3bfdd085.tar.xz
linux-b18268fc631034882f5f3dd93daa248a3bfdd085.zip
[SCSI] aacraid: improve queue balancing
The adapter queue is divided up equally to all the arrays to prevent command starvation to any individual array. On the other hand, physical targets are only granted a queue depth of one each. The code prior to this patch used to deal with the incremental discovery of targets, but the driver knows how many arrays are present prior to the scan so this knowledge is used to generate a better estimate for the queue depth. Remove the capability of 'physical=0' from preventing access to the class of adapters that have the RAID/SCSI mode of operation since none of the physicals on the SCSI channel are candidates ever for an array. As always, the user can override this default queue depth policy by making the appropriate adjustments utilizing sysfs. Signed-off-by: Mark Salyzyn <aacraid@adaptec.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_els.c')
0 files changed, 0 insertions, 0 deletions