]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] ibmvfc: Fix command timeouts due to cached CRQ access
authorBrian King <brking@linux.vnet.ibm.com>
Fri, 14 Nov 2008 19:33:52 +0000 (13:33 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 29 Dec 2008 17:24:17 +0000 (11:24 -0600)
commit5919ce29085f4ca080054fde5feef8f8b3405261
tree22f7b2620d0128fdd91e0244ae6fb73b443c6ba3
parent4081b77c3a86151d2eaeed9d568a34dd0982ed52
[SCSI] ibmvfc: Fix command timeouts due to cached CRQ access

The CRQs used by the ibmvfc driver are read and written by both
the client and the server. Therefore, we need to mark them volatile
so that we do not cache their contents when handling an interrupt.
This fixes a problem which can surface as occasional command timeouts.
No commands were actually timing out, but due to accessing cached data
for the CRQ in the interrupt handler, the interrupt was not processing
all command completions as it should.

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