diff --git a/lib/ftl/Makefile b/lib/ftl/Makefile index e78cbfdaf8..bbfb6cb51e 100644 --- a/lib/ftl/Makefile +++ b/lib/ftl/Makefile @@ -41,6 +41,8 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR) C_SRCS = ftl_band.c ftl_core.c ftl_debug.c ftl_io.c ftl_reloc.c \ ftl_restore.c ftl_init.c ftl_trace.c +SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_ftl.map) + LIBNAME = ftl include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk diff --git a/lib/ftl/spdk_ftl.map b/lib/ftl/spdk_ftl.map new file mode 100644 index 0000000000..141fd01e0d --- /dev/null +++ b/lib/ftl/spdk_ftl.map @@ -0,0 +1,14 @@ +{ + global: + + # public functions + spdk_ftl_dev_init; + spdk_ftl_dev_free; + spdk_ftl_conf_init_defaults; + spdk_ftl_dev_get_attrs; + spdk_ftl_read; + spdk_ftl_write; + spdk_ftl_flush; + + local: *; +}; diff --git a/test/make/check_so_deps.sh b/test/make/check_so_deps.sh index 3158b4c52d..3f1014f6e3 100755 --- a/test/make/check_so_deps.sh +++ b/test/make/check_so_deps.sh @@ -35,6 +35,10 @@ function confirm_abi_deps() { name = SPDK_LOG_BLOBFS_BDEV_RPC [suppress_variable] name = SPDK_LOG_APP_RPC +[suppress_variable] + name = SPDK_LOG_FTL_CORE +[suppress_variable] + name = SPDK_LOG_FTL_INIT EOF