Spdk/lib/nvmf
Jim Harris fa79643725 nvmf: remove struct spdk_bdev definition dependencies
1) use spdk_bdev_get_name() accessor
2) use __SPDK_BDEV_MODULE_ONLY #define

The latter allows nvmf to just get the spdk_bdev_module
definitions and APIs that it needs for claiming bdevs
for purposes of avoiding the same namespace used in
different subsystems.

This also ensures that future changes to structures
like spdk_bdev and spdk_bdev_io will not cause
lib/nvmf so version changes.

Note: we include bdev_module.h explicitly in the
nvmf/subsystem unit tests now, before including
subsystem.c, because the unit tests do depend on
knowing the internal structure of spdk_bdev.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I2f499a741d19f4749eadb402641f28137245fd23
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7738
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Reviewed-by: Anil Veerabhadrappa <anil.veerabhadrappa@broadcom.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2021-05-06 07:14:40 +00:00
..
ctrlr_bdev.c Revert "nvmf: Support physical block size if exposed by bdev" 2021-05-04 00:48:34 +00:00
ctrlr_discovery.c
ctrlr.c
fc_ls.c
fc.c
Makefile
nvmf_fc.h
nvmf_internal.h
nvmf_rpc.c nvmf/rpc: adding private tag to the internal rpcs 2021-04-21 08:25:46 +00:00
nvmf.c nvmf: wait for qpair disconnect cbs when removing subsys 2021-04-14 15:35:08 +00:00
rdma.c nvmf: Allow transport specific statistics dumping into JSON 2021-03-19 08:23:01 +00:00
spdk_nvmf.map nvmf: Allow transport specific statistics dumping into JSON 2021-03-19 08:23:01 +00:00
subsystem.c nvmf: remove struct spdk_bdev definition dependencies 2021-05-06 07:14:40 +00:00
tcp.c nvmf/tcp: Remove the unnecessary qpair setting. 2021-05-05 13:29:37 +00:00
transport.c nvmf: call transport abort callback when it's not empty 2021-04-13 08:37:57 +00:00
transport.h
vfio_user.c nvmf/vfio-user: ignore unmapped DMA regions 2021-05-05 14:25:32 +00:00