Commit 1bfff2f8696ea13fc3d55a977f50abbddee336b2

Authored by Brian King
Committed by James Bottomley
1 parent 89aad42831

[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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -8360,7 +8360,7 @@
8360 8360 int i;
8361 8361  
8362 8362 ioa_cfg->ipr_cmd_pool = pci_pool_create (IPR_NAME, ioa_cfg->pdev,
8363   - sizeof(struct ipr_cmnd), 16, 0);
  8363 + sizeof(struct ipr_cmnd), 512, 0);
8364 8364  
8365 8365 if (!ioa_cfg->ipr_cmd_pool)
8366 8366 return -ENOMEM;