scsi: always send command aborts
authorHannes Reinecke <hare@suse.de>
Thu, 6 Apr 2017 13:36:31 +0000 (15:36 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 6 Apr 2017 17:07:32 +0000 (13:07 -0400)
commit1bcb93047e1b22b68cb8a30b48f999884fa827a8
tree4fd908a2b8e6af1f50dea8ca4f246e65b41be480
parente8f8d50e07b0bd92f758a4f6d9ab0abf33f52881
scsi: always send command aborts

When a command has timed out we always should be sending an
abort; with the previous code a failed abort might signal
SCSI EH to start, and all other timed out commands will
never be aborted, even though they might belong to a
different ITL nexus.

Cc: Benjamin Block <bblock@linux.vnet.ibm.com>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_error.c