diff options
author | Christoph Hellwig <hch@lst.de> | 2021-06-02 09:53:38 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-11 11:54:42 -0600 |
commit | 2c6ee0ae5fc7aed7b3309e725104ea60da2cc9c9 (patch) | |
tree | f3fe6e000b300f64b5bd3712530d3b75300e9db8 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 195b1956b85baefc5049883fdcff249a8ff1911c (diff) |
rnbd: use blk_mq_alloc_disk and blk_cleanup_disk
Use blk_mq_alloc_disk and blk_cleanup_disk to simplify the gendisk and
request_queue allocation.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jack Wang <jinpu.wang@ionos.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Link: https://lore.kernel.org/r/20210602065345.355274-24-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions