diff options
author | Keith Busch <keith.busch@intel.com> | 2018-05-29 15:52:27 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-05-29 16:47:40 +0200 |
commit | ad103e79838d4b4cd4d6dd0bdfaef937e8652ae9 (patch) | |
tree | 3373843f14ffb3bc33eaefa6cedea19baee89b39 /include/scsi | |
parent | libata: remove ata_scsi_timed_out (diff) | |
download | linux-ad103e79838d4b4cd4d6dd0bdfaef937e8652ae9.tar.xz linux-ad103e79838d4b4cd4d6dd0bdfaef937e8652ae9.zip |
blk-mq: Fix timeout and state order
The block layer had been setting the state to in-flight prior to updating
the timer. This is the wrong order since the timeout handler could observe
the in-flight state with the older timeout, believing the request had
expired when in fact it is just getting started.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions