]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hpsa: cleanup reset
authorWebb Scales <webbnh@hp.com>
Fri, 6 Nov 2015 13:47:45 +0000 (05:47 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 19:49:46 +0000 (11:49 -0800)
commiteeba7742746febd71709640f2564f54dda9bbcf0
tree195cae1f59b751c39cfcdb1f6f4c4068c56dc50c
parentdfd133563b4d311d01d62c997749e1f427c5622c
hpsa: cleanup reset

Synchronize completion the reset with completion of outstanding commands

Extending the newly-added synchronous abort functionality,
now also synchronize resets with the completion of outstanding commands.
Rename the wait queue to reflect the fact that it's being used for both
types of waits.  Also, don't complete commands which are terminated
due to a reset operation.

fix for controller lockup during reset

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.com>
Signed-off-by: Webb Scales <webbnh@hp.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Orabug: 22075051
Acked-by: Chuck Anderson <chuck.anderson@oracle.com>
drivers/scsi/hpsa.c
drivers/scsi/hpsa.h
drivers/scsi/hpsa_cmd.h