diff options
author | 2018-11-26 09:54:28 -0700 | |
---|---|---|
committer | 2018-11-26 10:34:24 -0700 | |
commit | 16c15eb16a793f2d81ae52f41f43fb6831b34212 (patch) | |
tree | 186d56d7aabeff57f4069d2b052894d5ff044584 /drivers/scsi/scsi_error.c | |
parent | blk-mq: never redirect polled IO completions (diff) | |
download | wireguard-linux-16c15eb16a793f2d81ae52f41f43fb6831b34212.tar.xz wireguard-linux-16c15eb16a793f2d81ae52f41f43fb6831b34212.zip |
blk-mq: Return true if request was completed
A driver may have internal state to cleanup if we're pretending a request
didn't complete. Return 'false' if the command wasn't actually completed
due to the timeout error injection, and true otherwise.
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 'drivers/scsi/scsi_error.c')
0 files changed, 0 insertions, 0 deletions