On Thu, Jun 14, 2018 at 03:49:28PM +0800, jianchao.wang wrote: > Yes, it will work for this issue. > But we should also clear the RQF_TIMED_OUT in __blk_mq_requeue_request and blk_mq_rq_ctx_init. blk_mq_rq_ctx_init always clears rq_flags, so we don't need to explcitly clear it. __blk_mq_requeue_request probablys needs it so that we handle the case of requeuing from the error handling indeed.