]> www.infradead.org Git - users/hch/blktests.git/commit
nvme: Search for specific subsysnqn in _find_nvme_loop_dev
authorLogan Gunthorpe <logang@deltatee.com>
Thu, 8 Oct 2020 16:40:17 +0000 (10:40 -0600)
committerOmar Sandoval <osandov@fb.com>
Thu, 22 Oct 2020 21:44:12 +0000 (14:44 -0700)
commit8ec42f253354b45388dd31b49bbb3b1b5c62cae2
tree278c2f7010c51651251e0cbc422d5719d48b4936
parent5fa3eaded52ccf1ad48fb3e6f4af7337c67268f2
nvme: Search for specific subsysnqn in _find_nvme_loop_dev

This ensures we find the correct nvme loop device if others exist on a
given system (which is generally not expected on test systems).

Additionally, this will be required in the upcomming test nvme/037 which
will have controllers racing with ones being destroyed.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
23 files changed:
tests/nvme/004
tests/nvme/005
tests/nvme/008
tests/nvme/009
tests/nvme/010
tests/nvme/011
tests/nvme/012
tests/nvme/013
tests/nvme/014
tests/nvme/015
tests/nvme/018
tests/nvme/019
tests/nvme/020
tests/nvme/021
tests/nvme/022
tests/nvme/023
tests/nvme/024
tests/nvme/025
tests/nvme/026
tests/nvme/027
tests/nvme/028
tests/nvme/029
tests/nvme/rc