]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: aacraid: use scsi_host_complete_all_commands() to terminate outstanding commands
authorHannes Reinecke <hare@suse.de>
Fri, 28 Feb 2020 07:53:10 +0000 (08:53 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 29 Feb 2020 01:54:49 +0000 (20:54 -0500)
commitd10db1d14fc3d893ae843bd51825c885219b9979
treef7bcc6db509ff960d4df51d6bf7afcea5515962a
parent4dc56eec597007ba4a43c98273572f12e7a01404
scsi: aacraid: use scsi_host_complete_all_commands() to terminate outstanding commands

Use scsi_host_complete_all_commands() to terminate all outstanding commands
and change the command result for terminated commands to the more common
'DID_RESET' instead of 'QUEUE_FULL'.

Link: https://lore.kernel.org/r/20200228075318.91255-6-hare@suse.de
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Balsundar P <balsundar.p@microchip.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aacraid/commsup.c