]> git.baikalelectronics.ru Git - kernel.git/commit
libiscsi: don't try to bypass SCSI EH
authorChristoph Hellwig <hch@lst.de>
Tue, 29 May 2018 13:52:36 +0000 (15:52 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 May 2018 14:59:21 +0000 (08:59 -0600)
commitaac8bb4d5c4408a8f822a4c81c2494efa3a5e0b7
tree159776b2d1156dd0c7116e7ded34daab1cf5f95a
parentbc8ab0ad79818c81f081696b8f2cf0180928c886
libiscsi: don't try to bypass SCSI EH

libiscsi is the only SCSI code that return BLK_EH_HANDLED, thus trying to
bypass the normal SCSI EH code.  We are going to remove this return value
at the block layer, and at least from a quick look it doesn't look too
harmful to try to send an abort for these cases, especially as the first
one should not actually be possible.  If this doesn't work out iscsi
will probably need its own eh_strategy_handler instead to just do the
right thing.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/scsi/libiscsi.c