Skip to content

common/nvme: Check subsysnqn in cleanup - #276

Merged
kawasaki merged 1 commit into
linux-blktests:masterfrom
Mr-Bossman:dev/jesse/no_rm_phys_con
Nov 20, 2026
Merged

kawasaki merged 1 commit into
linux-blktests:masterfrom
Mr-Bossman:dev/jesse/no_rm_phys_con

Conversation

@Mr-Bossman

Copy link
Copy Markdown
Contributor

When running on a system with existing nvme fabric connections, the cleanup function will remove all devices of the same transport type even if they were not created by the test.

Check if the subsysnqn of the device is present in the nvmet sysfs directory to determine if it was created by the test.

When running on a system with existing nvme fabric connections,
the cleanup function will remove all devices of the same transport type
even if they were not created by the test.

Check if the subsysnqn of the device is present in the nvmet sysfs
directory to determine if it was created by the test.

Signed-off-by: Jesse Taube <jtaubepe@redhat.com>
@igaw

igaw commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

LGTM,

Reviewed-by: Daniel Wagner dwagner@suse.de

@kawasaki
kawasaki merged commit c09a929 into linux-blktests:master Nov 20, 2026
5 checks passed
@kawasaki

Copy link
Copy Markdown
Collaborator

Have merged it. Thanks!

@Mr-Bossman
Mr-Bossman deleted the dev/jesse/no_rm_phys_con branch November 20, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants