diff options
| author | John Garry <[email protected]> | 2022-10-26 10:35:13 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-10-28 13:54:47 +0000 |
| commit | e3c5a78cdb6237bfb9641b63cccf366325229eec (patch) | |
| tree | 0e444ce7eee80fff6477afe37ab3417d4ac290c8 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
| parent | Merge tag 'nvme-6.1-2022-10-27' of git://git.infradead.org/nvme into block-6.1 (diff) | |
| download | kernel-e3c5a78cdb6237bfb9641b63cccf366325229eec.tar.gz kernel-e3c5a78cdb6237bfb9641b63cccf366325229eec.zip | |
blk-mq: Properly init requests from blk_mq_alloc_request_hctx()
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions
