[SCSI] pm8001: raise host can queue
This is a followup to a patch provided by Jack Wang on September 21 2011. After increasing the CAN_QUEUE to 510 in pm8001 we discovered some performance degredation from time to time. We needed to increase the MPI queue to compensate and ensure we never hit that limit. We also needed to double the margin to support event and administrivial commands that take from the pool resulting in an occasional largely unproductive command completion with soft error to the caller when the command pool is overloaded temporarily. Signed-off-by: Mark Salyzyn <mark_salyzyn@xyratex.com> Acked-by: Jack Wang <jack_wang@usish.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:

committed by
James Bottomley

parent
85bb4457ef
commit
99c72ebceb
@@ -235,15 +235,15 @@ static int __devinit pm8001_alloc(struct pm8001_hba_info *pm8001_ha)
|
||||
pm8001_ha->memoryMap.region[PI].alignment = 4;
|
||||
|
||||
/* MPI Memory region 5 inbound queues */
|
||||
pm8001_ha->memoryMap.region[IB].num_elements = 256;
|
||||
pm8001_ha->memoryMap.region[IB].num_elements = PM8001_MPI_QUEUE;
|
||||
pm8001_ha->memoryMap.region[IB].element_size = 64;
|
||||
pm8001_ha->memoryMap.region[IB].total_len = 256 * 64;
|
||||
pm8001_ha->memoryMap.region[IB].total_len = PM8001_MPI_QUEUE * 64;
|
||||
pm8001_ha->memoryMap.region[IB].alignment = 64;
|
||||
|
||||
/* MPI Memory region 6 inbound queues */
|
||||
pm8001_ha->memoryMap.region[OB].num_elements = 256;
|
||||
/* MPI Memory region 6 outbound queues */
|
||||
pm8001_ha->memoryMap.region[OB].num_elements = PM8001_MPI_QUEUE;
|
||||
pm8001_ha->memoryMap.region[OB].element_size = 64;
|
||||
pm8001_ha->memoryMap.region[OB].total_len = 256 * 64;
|
||||
pm8001_ha->memoryMap.region[OB].total_len = PM8001_MPI_QUEUE * 64;
|
||||
pm8001_ha->memoryMap.region[OB].alignment = 64;
|
||||
|
||||
/* Memory region write DMA*/
|
||||
|
Reference in New Issue
Block a user