commit | 262d431f90003b1a7d9585ef5465252317eb6bd7 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Jun 02 09:53:36 2021 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jun 11 11:54:42 2021 -0600 |
tree | 110b75dc253855cc971b0ea0f0f63bc9f16edc9c | |
parent | 6759b1a2013ba6f65e97f0b9444fa1cf69654f7c [diff] |
pd: 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-22-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>