[PATCHv2 blktests] nvme/058: detach loop device after test finish
Shinichiro Kawasaki
shinichiro.kawasaki at wdc.com
Mon Jan 27 01:01:36 PST 2025
On Jan 24, 2025 / 13:17, 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>
FYI, I applied this patch with a slight edit to move local variable
declarations. Thanks!
More information about the Linux-nvme
mailing list