Loading
ut/bdev_nvme: Add test cases to reset or failover nvme_bdev_ctrlr including race condition
Add stub of struct spdk_nvme_qpair and related APIs, and test cases to reset or failover nvme_bdev_ctrlr. They include a case that destruct and reset are executed concurrently, and a case that two reset requests are submitted concurrently. For failover, the test cases are for a single trid or two trids. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I6538a4dc32a73d0d72d6cac2a48c79ea7f00d332 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6132 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>