![Nicholas Bellinger](/assets/img/avatar_default.png)
This patch removes the legacy procfs based target_core_mib.c code, and moves the necessary scsi_index_tables functions and defines into target_core_transport.c and target_core_base.h code to allow existing fabric independent statistics to function. This includes the removal of a handful of 'atomic_t mib_ref_count' counters used in struct se_node_acl, se_session and se_hba to prevent removal while using seq_list procfs walking logic. [jejb: fix up compile failures] Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
24 lines
709 B
Makefile
24 lines
709 B
Makefile
EXTRA_CFLAGS += -I$(srctree)/drivers/target/ -I$(srctree)/drivers/scsi/
|
|
|
|
target_core_mod-y := target_core_configfs.o \
|
|
target_core_device.o \
|
|
target_core_fabric_configfs.o \
|
|
target_core_fabric_lib.o \
|
|
target_core_hba.o \
|
|
target_core_pr.o \
|
|
target_core_alua.o \
|
|
target_core_scdb.o \
|
|
target_core_tmr.o \
|
|
target_core_tpg.o \
|
|
target_core_transport.o \
|
|
target_core_cdb.o \
|
|
target_core_ua.o \
|
|
target_core_rd.o
|
|
|
|
obj-$(CONFIG_TARGET_CORE) += target_core_mod.o
|
|
|
|
# Subsystem modules
|
|
obj-$(CONFIG_TCM_IBLOCK) += target_core_iblock.o
|
|
obj-$(CONFIG_TCM_FILEIO) += target_core_file.o
|
|
obj-$(CONFIG_TCM_PSCSI) += target_core_pscsi.o
|