From: Douglas Gilbert Date: Tue, 5 Aug 2014 10:20:46 +0000 (+0200) Subject: scsi_debug: give unit attention and other errors precedence over TSF X-Git-Tag: fixes-for-v3.18-merge-window~25^2^2~171 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd62b7dae245dd3bb3a21eaadcf01d93ec4fcc7c;p=pandora-kernel.git scsi_debug: give unit attention and other errors precedence over TSF Give existing errors priority over the generation of Task Set Full (TSF) errors. So that max_queue is not exceeded, existing errors may be sent back in the invocation thread. This is done so errors like Unit Attentions are not hidden and lost by either max_queue exceeded or real/injected TSFs. Signed-off-by: Douglas Gilbert Reviewed-by: Martin K. Petersen Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed