Hi bart Thanks for your kindly response. I have sent out the patch. Please refer to https://marc.info/?l=linux-block&m=152393666517449&w=2 Thanks Jianchao On 04/17/2018 08:15 AM, Bart Van Assche wrote: > On Tue, 2018-04-17 at 00:04 +0800, jianchao.wang wrote: >> diff --git a/block/blk-mq.c b/block/blk-mq.c >> index 16e83e6..be9b435 100644 >> --- a/block/blk-mq.c >> +++ b/block/blk-mq.c >> @@ -2077,6 +2077,7 @@ static int blk_mq_init_request(struct blk_mq_tag_set *set, struct request *rq, >> >> seqcount_init(&rq->gstate_seq); >> u64_stats_init(&rq->aborted_gstate_sync); >> + WRITE_ONCE(rq->gstate, MQ_RQ_GEN_INC); >> return 0; >> } > > Hello Jianchao, > > Your approach looks interesting to me. Can you send an official patch to Jens? > > Thanks, > > Bart. > > > >