]> err.no Git - linux-2.6/commit
[SCSI] ibmvscsi: Fixup desired DMA value for shared memory partitions
authorBrian King <brking@linux.vnet.ibm.com>
Fri, 15 Aug 2008 15:48:47 +0000 (10:48 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 16 Aug 2008 15:33:01 +0000 (10:33 -0500)
commit004dd5e88673516a408f0e8e43edbe6a4424be2f
tree47507c5c05efa112a8b055c9658452dbe80ec7ca
parent66dca9b8c50b5e59d3bea8b21cee5c6dae6c9c46
[SCSI] ibmvscsi: Fixup desired DMA value for shared memory partitions

When running ibmvscsi in a shared memory partition, it must provide
a default value for the amount of DMA resources it will need in order to
perform reasonably well. This was being calculated in sectors rather than
bytes, as it should. This patch fixes this.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/ibmvscsi/ibmvscsi.c