]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] ibmvfc: Fix errors due to inconsistent command data
authorBrian King <brking@linux.vnet.ibm.com>
Wed, 3 Dec 2008 17:02:56 +0000 (11:02 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 29 Dec 2008 17:24:24 +0000 (11:24 -0600)
commita528ab7a324f1dbb3598ae0ecd238ab7dd974294
treeacf24e35dd3d4d11af2410b5865479a571534220
parent1c41fa8288277e76785acb50f52bb2f39509f903
[SCSI] ibmvfc: Fix errors due to inconsistent command data

In order to ensure the VIOS sees a consistent command buffer, we
need to add a memory barrier after building the command buffer
but before sending the command.

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