diff options
author | Keith Busch <keith.busch@intel.com> | 2018-11-26 19:54:29 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-26 20:34:26 +0300 |
commit | f1342709d18af97b0e71449d5696b8873d1a456c (patch) | |
tree | bb820e311b26912b1eef37a53573d52fea6dfeb1 /block/blk-mq.c | |
parent | 16c15eb16a793f2d81ae52f41f43fb6831b34212 (diff) | |
download | linux-f1342709d18af97b0e71449d5696b8873d1a456c.tar.xz |
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 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions