Re: [PATCH 12/14] blk-mq: Fix timeout and state order

2018-05-23 Thread Hannes Reinecke
On 05/23/2018 02:19 PM, Christoph Hellwig wrote: From: Keith Busch 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

[PATCH 12/14] blk-mq: Fix timeout and state order

2018-05-23 Thread Christoph Hellwig
From: Keith Busch 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