>
> I guess we need to clean list after list_splice_tail in the 1/1 patch as
> following
> @@ -1533,19 +1533,19 @@ void blk_mq_insert_requests(struct
> blk_mq_hw_ctx *hctx, struct blk_mq_ctx *ctx,
>                           struct list_head *list)
>
>  {
> ...
> +
> +     spin_lock(&ctx->lock);
> +     list_splice_tail(list, &ctx->rq_list);
> +       INIT_LIST_HEAD(list);          // ---> HERE !

I will try replacing " list_splice_tail" with " list_splice_tail_init"

Kashyap

>       blk_mq_hctx_mark_pending(hctx, ctx);
>       spin_unlock(&ctx->lock);
>
> Thanks
> Jianchao

Reply via email to