[PATCH 03/30] blk-mq: add the blk_mq_alloc_disk APIs
Chaitanya Kulkarni
Chaitanya.Kulkarni at wdc.com
Thu Jun 3 10:03:11 AEST 2021
On 6/1/21 23:54, Christoph Hellwig wrote:
> Add a new API to allocate a gendisk including the request_queue for use
> with blk-mq based drivers. This is to avoid boilerplate code in drivers.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
This would be a nice API to get rid of the couple initialization
calls and respective error handling in each blk-mq based drivers.
Looks good.
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>
More information about the Linuxppc-dev
mailing list