Loading
test/nvmf: simplify add_remove() test case for ns hotplug tests
Simplified calculating starting NSID, it will now always be ns_per_thread NSIDs for each thread skipping NSID 0. Moved bdev creation/removal to the test case. Future test cases should be self contained in similar manner. Only operations that are not done on per-thread basis should be outside of the test case function. Change-Id: I93357b8c40e0929dfbef97367ae3dafbd30419ba Signed-off-by:Tomasz Zawadzki <tomasz.zawadzki@nutanix.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26536 Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Reviewed-by:
Jacek Kalwas <jacek.kalwas@nutanix.com> Reviewed-by:
Ben Walker <ben@nvidia.com>