diff options
| author | Keith Busch <[email protected]> | 2018-07-23 14:37:51 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-07-24 20:41:52 +0000 |
| commit | 065990bd198e0e67417c2c34e5e80140d4b8cef7 (patch) | |
| tree | 599953a4f653a4091f05074bb7e7cfa94cac2a9b /fs/btrfs/dev-replace.c | |
| parent | blk-mq: export setting request completion state (diff) | |
| download | kernel-065990bd198e0e67417c2c34e5e80140d4b8cef7.tar.gz kernel-065990bd198e0e67417c2c34e5e80140d4b8cef7.zip | |
scsi: set timed out out mq requests to complete
The scsi block layer requires requests claimed by the error handling be
completed by the error handler. A previous commit allowed completions
to proceed for blk-mq, breaking that assumption.
This patch prevents completions that may race with the timeout handler
by marking the state to complete, restoring the previous behavior.
Fixes: 12f5b931 ("blk-mq: Remove generation seqeunce")
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
