[SCSI] hpsa: when switching out of accel mode await only accel command completions
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Tue, 18 Feb 2014 19:57:37 +0000 (13:57 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:19:08 +0000 (10:19 -0700)
commit23100dd96a870470c19dcd84a50b6c43c684d912
tree6c7be05a2126f9f342551c480a47fe92879512d4
parentdd0e19f3ceb87a768d09ea4726ee33961665bfbb
[SCSI] hpsa: when switching out of accel mode await only accel command completions

Don't wait for *all* commands to complete, only for accelerated mode
commands.

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