[PATCH 2/2] nvme: fix namespace removal list

Chaitanya Kulkarni chaitanyak at nvidia.com
Wed Jun 12 10:20:48 PDT 2024


On 6/12/24 08:51, Keith Busch wrote:
> From: Keith Busch<kbusch at kernel.org>
>
> This function wants to move a subset of a list from an element to the
> end to another list, so do that with the new list_cut helper instead of
> using the wrong list splice.
>
> Fixes: be647e2c76b27f4 ("nvme: use srcu for iterating namespace list")
> Reported-by: Venkat Rao Bagalkote<venkat88 at linux.vnet.ibm.com>
> Tested-by: Venkat Rao Bagalkote<venkat88 at linux.vnet.ibm.com>
> Signed-off-by: Keith Busch<kbusch at kernel.org>

not a blocker, but it'd be really useful if we can get a blktests for this,
I've asked OP to provide steps at least ...

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck




More information about the Linux-nvme mailing list