module/bdev: add map files for all bdev modules.

Signed-off-by: Seth Howell <seth.howell@intel.com>
Change-Id: I92ee0ee4fc381c2d92c6c15b88f7e2f839adf9f8
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2317
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
This commit is contained in:
Seth Howell 2020-05-09 23:46:28 -07:00 committed by Tomasz Zawadzki
parent 798551bf2a
commit 40a465bae4
23 changed files with 156 additions and 0 deletions

View File

@ -42,4 +42,6 @@ C_SRCS = bdev_aio.c bdev_aio_rpc.c
LIBNAME = bdev_aio LIBNAME = bdev_aio
LOCAL_SYS_LIBS = -laio LOCAL_SYS_LIBS = -laio
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -44,4 +44,6 @@ C_SRCS = vbdev_compress.c vbdev_compress_rpc.c
LIBNAME = bdev_compress LIBNAME = bdev_compress
CFLAGS += $(ENV_CFLAGS) CFLAGS += $(ENV_CFLAGS)
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -43,4 +43,6 @@ CFLAGS += $(ENV_CFLAGS)
C_SRCS = vbdev_crypto.c vbdev_crypto_rpc.c C_SRCS = vbdev_crypto.c vbdev_crypto_rpc.c
LIBNAME = bdev_crypto LIBNAME = bdev_crypto
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -43,4 +43,6 @@ CFLAGS += -I$(SPDK_ROOT_DIR)/lib/bdev/
C_SRCS = vbdev_delay.c vbdev_delay_rpc.c C_SRCS = vbdev_delay.c vbdev_delay_rpc.c
LIBNAME = bdev_delay LIBNAME = bdev_delay
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -41,4 +41,6 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
C_SRCS = vbdev_error.c vbdev_error_rpc.c C_SRCS = vbdev_error.c vbdev_error_rpc.c
LIBNAME = bdev_error LIBNAME = bdev_error
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -41,4 +41,6 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
C_SRCS += bdev_ftl.c bdev_ftl_rpc.c C_SRCS += bdev_ftl.c bdev_ftl_rpc.c
LIBNAME = bdev_ftl LIBNAME = bdev_ftl
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -41,4 +41,6 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
C_SRCS = gpt.c vbdev_gpt.c C_SRCS = gpt.c vbdev_gpt.c
LIBNAME = bdev_gpt LIBNAME = bdev_gpt
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -47,4 +47,6 @@ CFLAGS += -Wno-error
C_SRCS = bdev_iscsi.c bdev_iscsi_rpc.c C_SRCS = bdev_iscsi.c bdev_iscsi_rpc.c
LIBNAME = bdev_iscsi LIBNAME = bdev_iscsi
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -42,4 +42,6 @@ C_SRCS = vbdev_lvol.c vbdev_lvol_rpc.c
LIBNAME = bdev_lvol LIBNAME = bdev_lvol
LOCAL_SYS_LIBS = -luuid LOCAL_SYS_LIBS = -luuid
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -42,4 +42,6 @@ C_SRCS = bdev_malloc.c bdev_malloc_rpc.c
LIBNAME = bdev_malloc LIBNAME = bdev_malloc
LOCAL_SYS_LIBS = -luuid LOCAL_SYS_LIBS = -luuid
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -41,4 +41,6 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
C_SRCS = bdev_null.c bdev_null_rpc.c C_SRCS = bdev_null.c bdev_null_rpc.c
LIBNAME = bdev_null LIBNAME = bdev_null
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -46,4 +46,6 @@ C_SRCS += vbdev_opal.c vbdev_opal_rpc.c
endif endif
LIBNAME = bdev_nvme LIBNAME = bdev_nvme
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -44,6 +44,8 @@ C_SRCS = $(shell ls *.c)
LIBNAME := bdev_ocf LIBNAME := bdev_ocf
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk
OCF_ENV := $(call spdk_lib_list_to_static_libs,ocfenv) OCF_ENV := $(call spdk_lib_list_to_static_libs,ocfenv)

View File

@ -43,4 +43,6 @@ CFLAGS += -I$(SPDK_ROOT_DIR)/lib/bdev/
C_SRCS = vbdev_passthru.c vbdev_passthru_rpc.c C_SRCS = vbdev_passthru.c vbdev_passthru_rpc.c
LIBNAME = bdev_passthru LIBNAME = bdev_passthru
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -41,4 +41,6 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
C_SRCS = bdev_pmem.c bdev_pmem_rpc.c C_SRCS = bdev_pmem.c bdev_pmem_rpc.c
LIBNAME = bdev_pmem LIBNAME = bdev_pmem
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -47,4 +47,6 @@ endif
LIBNAME = bdev_raid LIBNAME = bdev_raid
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -41,4 +41,6 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
C_SRCS = bdev_rbd.c bdev_rbd_rpc.c C_SRCS = bdev_rbd.c bdev_rbd_rpc.c
LIBNAME = bdev_rbd LIBNAME = bdev_rbd
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -41,4 +41,6 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
C_SRCS = bdev_rpc.c C_SRCS = bdev_rpc.c
LIBNAME = bdev_rpc LIBNAME = bdev_rpc
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -41,4 +41,6 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
C_SRCS = vbdev_split.c vbdev_split_rpc.c C_SRCS = vbdev_split.c vbdev_split_rpc.c
LIBNAME = bdev_split LIBNAME = bdev_split
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -47,4 +47,6 @@ CFLAGS += -I$(CONFIG_URING_PATH)
LDFLAGS += -L$(CONFIG_URING_PATH) LDFLAGS += -L$(CONFIG_URING_PATH)
endif endif
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -41,4 +41,6 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
C_SRCS = bdev_virtio_scsi.c bdev_virtio_blk.c bdev_virtio_rpc.c C_SRCS = bdev_virtio_scsi.c bdev_virtio_blk.c bdev_virtio_rpc.c
LIBNAME = bdev_virtio LIBNAME = bdev_virtio
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -41,4 +41,6 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
C_SRCS = vbdev_zone_block.c vbdev_zone_block_rpc.c C_SRCS = vbdev_zone_block.c vbdev_zone_block_rpc.c
LIBNAME = bdev_zone_block LIBNAME = bdev_zone_block
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -130,6 +130,118 @@ function confirm_abi_deps() {
name = SPDK_LOG_ACCEL_IDXD name = SPDK_LOG_ACCEL_IDXD
[suppress_variable] [suppress_variable]
name = SPDK_LOG_ACCEL_IOAT name = SPDK_LOG_ACCEL_IOAT
[suppress_variable]
name = SPDK_LOG_AIO
[suppress_variable]
name = SPDK_LOG_VBDEV_COMPRESS
[suppress_variable]
name = SPDK_LOG_CRYPTO
[suppress_variable]
name = SPDK_LOG_VBDEV_DELAY
[suppress_function]
name = spdk_vbdev_error_create
[suppress_function]
name = spdk_vbdev_error_delete
[suppress_function]
name = spdk_vbdev_error_inject_error
[suppress_variable]
name = SPDK_LOG_BDEV_FTL
[suppress_variable]
name = SPDK_LOG_GPT_PARSE
[suppress_variable]
name = SPDK_LOG_VBDEV_GPT
[suppress_function]
name = spdk_gpt_parse_mbr
[suppress_function]
name = spdk_gpt_parse_partition_table
[suppress_variable]
name = SPDK_LOG_ISCSI_INIT
[suppress_variable]
name = SPDK_LOG_LVOL_RPC
[suppress_variable]
name = SPDK_LOG_VBDEV_LVOL
[suppress_variable]
name = SPDK_LOG_BDEV_MALLOC
[suppress_variable]
name = SPDK_LOG_BDEV_NULL
[suppress_variable]
name = SPDK_LOG_BDEV_NVME
[suppress_function]
name = spdk_bdev_nvme_create
[suppress_function]
name = spdk_bdev_nvme_delete
[suppress_function]
name = spdk_bdev_nvme_get_ctrlr
[suppress_function]
name = spdk_bdev_nvme_get_io_qpair
[suppress_function]
name = spdk_bdev_nvme_get_opts
[suppress_function]
name = spdk_bdev_nvme_set_hotplug
[suppress_function]
name = spdk_bdev_nvme_set_opts
[suppress_function]
name = spdk_vbdev_opal_create
[suppress_function]
name = spdk_vbdev_opal_destruct
[suppress_function]
name = spdk_vbdev_opal_enable_new_user
[suppress_function]
name = spdk_vbdev_opal_get_info_from_bdev
[suppress_function]
name = spdk_vbdev_opal_set_lock_state
[suppress_variable]
name = SPDK_LOG_BDEV_OCSSD
[suppress_variable]
name = SPDK_LOG_VBDEV_OPAL
[suppress_variable]
name = SPDK_LOG_OCFCTX
[suppress_variable]
name = SPDK_LOG_VBDEV_PASSTHRU
[suppress_variable]
name = SPDK_LOG_BDEV_PMEM
[suppress_function]
name = spdk_create_pmem_disk
[suppress_function]
name = spdk_delete_pmem_disk
[suppress_variable]
name = SPDK_LOG_BDEV_RAID
[suppress_variable]
name = SPDK_LOG_BDEV_RAID0
[suppress_variable]
name = SPDK_LOG_BDEV_RAID5
[suppress_variable]
name = SPDK_LOG_RAID_RPC
[suppress_variable]
name = SPDK_LOG_BDEV_RBD
[suppress_function]
name = spdk_bdev_rbd_create
[suppress_function]
name = spdk_bdev_rbd_delete
[suppress_function]
name = spdk_bdev_rbd_dup_config
[suppress_function]
name = spdk_bdev_rbd_free_config
[suppress_function]
name = spdk_bdev_rbd_resize
[suppress_variable]
name = SPDK_LOG_VBDEV_SPLIT
[suppress_function]
name = spdk_vbdev_split_destruct
[suppress_function]
name = spdk_vbdev_split_get_part_base
[suppress_variable]
name = SPDK_LOG_URING
[suppress_variable]
name = SPDK_LOG_VIRTIO
[suppress_variable]
name = SPDK_LOG_VIRTIO_BLK
[suppress_variable]
name = SPDK_LOG_VBDEV_ZONE_BLOCK
[suppress_function]
name = spdk_vbdev_zone_block_create
[suppress_function]
name = spdk_vbdev_zone_block_delete
EOF EOF
for object in "$libdir"/libspdk_*.so; do for object in "$libdir"/libspdk_*.so; do