]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] scsi_error: Escalate to LUN reset if abort fails
authorHannes Reinecke <hare@suse.de>
Wed, 23 Oct 2013 08:51:22 +0000 (10:51 +0200)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 25 Oct 2013 11:18:30 +0000 (12:18 +0100)
commit6fd046f960354250de3fed411eecdb784601bbad
treef51263ca495b7ce8d4f318cef6baad434c93c55f
parentb45620229dd67ff1daffa8adce57f37b37860f78
[SCSI] scsi_error: Escalate to LUN reset if abort fails

If a command abort fails there is a fair chance that all other
aborts will be failing, too.
So we should be calling LUN reset directly after the first failed
abort and skip aborting the remaining commands.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/scsi_error.c