[PATCHv2 blktests] nvme/058: detach loop device after test finish

Chaitanya Kulkarni chaitanyak at nvidia.com
Sun Jan 26 15:25:29 PST 2025


On 1/23/25 23:47, Nilay Shroff wrote:
> The nvme/058 creates three (temp file backed) namespaces and
> attach each namespace to a loop device while starting the test.
> However it never detach those namespaces from the loop device
> once test finishes. Ideally, we should detach loop device from
> namespace so that the associated loop device is later destroyed
> and its resources are released. This patch helps detach each
> namespace from its associated loop device after test finishes.
>
> Signed-off-by: Nilay Shroff<nilay at linux.ibm.com>

Looks good.

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

-ck




More information about the Linux-nvme mailing list