]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] hpsa: do not read from controller unnecessarily in completion code
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Tue, 1 May 2012 16:42:30 +0000 (11:42 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 10 May 2012 08:11:43 +0000 (09:11 +0100)
commit7bb0f83f620434aee788b2706d558b39672b6950
treea305edafa6170096b2cffc1100a38fbb33d7a28c
parentbff3fca3895f02b9e1102a151330b4c94244712a
[SCSI] hpsa: do not read from controller unnecessarily in completion code

MSI/MSI-X interrupts can't race the DMA completion they are communicating
so no need to read from controller to flush the DMA to the host if
MSI or MSI-X interrupts are being used.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/hpsa.h