Spdk/test/unit/lib/bdev
Shuhei Matsumoto 56cf3ea0fa ut/bdev_nvme: Copy probe_ctx->opts to ctrlr->opts
In unit tests, spdk_nvme_ctrlr had opts but did not use it.

Hostnqn will be checked to determine if multipath can be created.

Hence we implement the stub spdk_nvme_ctrlr_get_default_ctrlr_opts()
and copy probe_ctx->opts to ctrlr->opts as we do in lib/nvme.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I13980424d5f463877eae7f7cd1e5ffcae888aebe
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9333
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@gmail.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2022-06-30 13:32:24 -04:00
..
bdev_zone.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
bdev.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
compress.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
crypto.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
gpt test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
mt test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme ut/bdev_nvme: Copy probe_ctx->opts to ctrlr->opts 2022-06-30 13:32:24 -04:00
part.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
pmem lib/bdev: added spdk_bdev_module_fini_done() 2021-08-23 08:49:56 +00:00
raid test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
scsi_nvme.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
vbdev_lvol.c bdev/lvol: unload empty lvs during fini_start 2021-08-23 08:49:56 +00:00
vbdev_zone_block.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
Makefile ut/bdev_ocssd: Move bdev_ocssd_ut from bdev directory to bdev/nvme directory 2021-02-09 11:29:53 +00:00