diff options
author | Keith Busch | 2018-11-26 17:54:29 +0100 |
---|---|---|
committer | Jens Axboe | 2018-11-26 18:34:26 +0100 |
commit | f1342709d18af97b0e71449d5696b8873d1a456c (patch) | |
tree | bb820e311b26912b1eef37a53573d52fea6dfeb1 /include/linux/jbd2.h | |
parent | blk-mq: Return true if request was completed (diff) | |
download | kernel-qcow2-linux-f1342709d18af97b0e71449d5696b8873d1a456c.tar.gz kernel-qcow2-linux-f1342709d18af97b0e71449d5696b8873d1a456c.tar.xz kernel-qcow2-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/linux/jbd2.h')
0 files changed, 0 insertions, 0 deletions