]> git.baikalelectronics.ru Git - kernel.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)
commit7f02edc8d287a62a4eaf25b56355e84695aba457
treeacf24e35dd3d4d11af2410b5865479a571534220
parente89fe9822a91f8e966e3694fdbb406ac575aae94
[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