Skip to content

Commit

Permalink
[SCSI] ipr: Increase alignment boundary of command blocks
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Brian King authored and James Bottomley committed Mar 28, 2012
1 parent 89aad42 commit 1bfff2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/ipr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1bfff2f

Please sign in to comment.