diff options
author | Keith Busch <keith.busch@intel.com> | 2018-11-26 09:54:29 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-26 10:34:26 -0700 |
commit | f1342709d18af97b0e71449d5696b8873d1a456c (patch) | |
tree | bb820e311b26912b1eef37a53573d52fea6dfeb1 /include/scsi/scsi_request.h | |
parent | 16c15eb16a793f2d81ae52f41f43fb6831b34212 (diff) | |
download | linux-f1342709d18af97b0e71449d5696b8873d1a456c.tar.gz linux-f1342709d18af97b0e71449d5696b8873d1a456c.tar.bz2 linux-f1342709d18af97b0e71449d5696b8873d1a456c.zip |
scsi: Do not rely on blk-mq for double completions
The scsi timeout error handling had been directly updating the block
layer's request state to prevent a error handling and a natural completion
from completing the same request twice. Fix this layering violation
by having scsi control the fate of its commands with scsi owned flags
rather than use blk-mq's.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/scsi/scsi_request.h')
0 files changed, 0 insertions, 0 deletions