Re: [PATCH v2 05/12] blk-mq: Initialize a request before assigning a tag
Looks fine, Reviewed-by: Christoph HellwigBtw, blk_mq_rq_ctx_init should be marked static, but I'll send a separate patch for that.
[PATCH v2 05/12] blk-mq: Initialize a request before assigning a tag
Initialization of blk-mq requests is a bit weird: blk_mq_rq_ctx_init() is called after a value has been assigned to .rq_flags and .rq_flags is initialized in __blk_mq_finish_request(). Call blk_mq_rq_ctx_init() before modifying any struct request members. Initialize .rq_flags in