[PATCH 01/13] nvme: add a nvme_ns_head_multipath helper

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Fri Apr 9 03:33:43 BST 2021


On 4/8/21 05:22, Christoph Hellwig wrote:
> From: Minwoo Im <minwoo.im.dev at gmail.com>
>
> Move the multipath gendisk out of #ifdef CONFIG_NVME_MULTIPATH and add
> a new nvme_ns_head_multipath that uses it to check if a ns_head has
> a multipath device associated with it.
>
> Signed-off-by: Minwoo Im <minwoo.im.dev at gmail.com>
> [hch: added the IS_ENABLED, converted a few existing users]
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Looks good.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>





More information about the Linux-nvme mailing list