diff options
author | Christoph Hellwig <hch@lst.de> | 2021-06-02 09:53:34 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-11 11:53:03 -0600 |
commit | 4af5f2e0301311f88c420fcfc5f3c8611ade20ac (patch) | |
tree | 299c856b46e07324c3213205ef2e6bfd64fd061a /tools/perf/scripts/python/syscall-counts.py | |
parent | 1c99502fae359182a93a1c9cf7406edc0e28b6b0 (diff) |
nbd: 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: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Link: https://lore.kernel.org/r/20210602065345.355274-20-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions