aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2012-03-14 21:20:12 -0500
committerJames Bottomley <JBottomley@Parallels.com>2012-03-28 15:06:50 +0100
commit1bfff2f8696ea13fc3d55a977f50abbddee336b2 (patch)
tree7509170f1aef4970e5bc1b4fa57f17060f91f6ec /drivers/scsi
parent89aad428317322044673cd9a3e1685a83abcba98 (diff)
downloadkernel_goldelico_gta04-1bfff2f8696ea13fc3d55a977f50abbddee336b2.zip
kernel_goldelico_gta04-1bfff2f8696ea13fc3d55a977f50abbddee336b2.tar.gz
kernel_goldelico_gta04-1bfff2f8696ea13fc3d55a977f50abbddee336b2.tar.bz2
[SCSI] ipr: Increase alignment boundary of command blocks
The latest generation of ipr hardware performs best when command blocks are aligned to a boundary equal to the size of the command block. Ensure 512 byte alignment, since this is the largest size command block we can send. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/ipr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index ada0af7..e002cd4 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -8360,7 +8360,7 @@ static int __devinit ipr_alloc_cmd_blks(struct ipr_ioa_cfg *ioa_cfg)
int i;
ioa_cfg->ipr_cmd_pool = pci_pool_create (IPR_NAME, ioa_cfg->pdev,
- sizeof(struct ipr_cmnd), 16, 0);
+ sizeof(struct ipr_cmnd), 512, 0);
if (!ioa_cfg->ipr_cmd_pool)
return -ENOMEM;