diff options
author | Hannes Reinecke <hare@suse.de> | 2020-02-28 08:53:10 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-02-29 02:54:49 +0100 |
commit | a1855f612686077411af282a6957c745d98de021 (patch) | |
tree | f7bcc6db509ff960d4df51d6bf7afcea5515962a /init/calibrate.c | |
parent | scsi: aacraid: Do not wait for outstanding write commands on synchronize_cache (diff) | |
download | linux-a1855f612686077411af282a6957c745d98de021.tar.xz linux-a1855f612686077411af282a6957c745d98de021.zip |
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>
Diffstat (limited to 'init/calibrate.c')
0 files changed, 0 insertions, 0 deletions