Messages in this thread | | | From | Ming Lei <> | Date | Wed, 26 Oct 2022 19:39:58 +0800 | Subject | Re: [PATCH v2] blk-mq: Properly init requests from blk_mq_alloc_request_hctx() |
| |
On Wed, Oct 26, 2022 at 6:04 PM John Garry <john.garry@huawei.com> wrote: > > Function blk_mq_alloc_request_hctx() is missing zeroing/init of rq->bio, > biotail, __sector, and __data_len members, which blk_mq_alloc_request() > has, so duplicate what we do in blk_mq_alloc_request(). > > Fixes: 1f5bd336b9150 ("blk-mq: add blk_mq_alloc_request_hctx") > Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
| |