Commit b69e3ff2 authored by Anton Nayshtut's avatar Anton Nayshtut Committed by Jim Harris
Browse files

app/spdk_tgt: link with fsdev libs



Change-Id: Ieee0aa83e0ab722e4f1f188cdb26fbc74c731a35
Signed-off-by: default avatarAnton Nayshtut <anayshtut@nvidia.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24083


Reviewed-by: default avatarJim Harris <jim.harris@samsung.com>
Community-CI: Mellanox Build Bot
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarBen Walker <ben@nvidia.com>
parent fe5061e1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -32,6 +32,10 @@ SPDK_LIB_LIST += event_vfu_tgt
endif
endif

ifeq ($(CONFIG_FSDEV),y)
SPDK_LIB_LIST += event_fsdev
endif

include $(SPDK_ROOT_DIR)/mk/spdk.app.mk

install: $(APP)
+1 −0
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@ def filter_methods(do_remove_global_rpcs):
        'virtio_blk_create_transport',
        'iobuf_set_options',
        'bdev_raid_set_options',
        'fsdev_set_opts',
    ]

    data = json.loads(sys.stdin.read())
+3 −0
Original line number Diff line number Diff line
@@ -44,6 +44,9 @@ function tgt_check_notification_types() {

	local ret=0
	local enabled_types=("bdev_register" "bdev_unregister")
	if grep -q '#define SPDK_CONFIG_FSDEV 1' $rootdir/include/spdk/config.h; then
		enabled_types+=("fsdev_register" "fsdev_unregister")
	fi

	local get_types=($(tgt_rpc notify_get_types | jq -r '.[]'))