You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
target: header reshuffle, part2
This reorganized the headers under include/target into: - target_core_base.h stays as is with all target-wide data stuctures and defines - target_core_backend.h contains the whole interface to I/O backends - target_core_fabric.h contains the whole interface to fabric modules Except for those only the various configfs macro headers stay around. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
This commit is contained in:
committed by
Nicholas Bellinger
parent
e26d99aed4
commit
c4795fb20e
@@ -230,14 +230,9 @@ def tcm_mod_build_configfs(proto_ident, fabric_mod_dir_var, fabric_mod_name):
|
||||
buf += "#include <linux/ctype.h>\n"
|
||||
buf += "#include <asm/unaligned.h>\n\n"
|
||||
buf += "#include <target/target_core_base.h>\n"
|
||||
buf += "#include <target/target_core_transport.h>\n"
|
||||
buf += "#include <target/target_core_fabric_ops.h>\n"
|
||||
buf += "#include <target/target_core_fabric.h>\n"
|
||||
buf += "#include <target/target_core_fabric_configfs.h>\n"
|
||||
buf += "#include <target/target_core_fabric_lib.h>\n"
|
||||
buf += "#include <target/target_core_device.h>\n"
|
||||
buf += "#include <target/target_core_tpg.h>\n"
|
||||
buf += "#include <target/target_core_configfs.h>\n"
|
||||
buf += "#include <target/target_core_base.h>\n"
|
||||
buf += "#include <target/configfs_macros.h>\n\n"
|
||||
buf += "#include \"" + fabric_mod_name + "_base.h\"\n"
|
||||
buf += "#include \"" + fabric_mod_name + "_fabric.h\"\n\n"
|
||||
@@ -514,7 +509,7 @@ def tcm_mod_build_configfs(proto_ident, fabric_mod_dir_var, fabric_mod_name):
|
||||
|
||||
def tcm_mod_scan_fabric_ops(tcm_dir):
|
||||
|
||||
fabric_ops_api = tcm_dir + "include/target/target_core_fabric_ops.h"
|
||||
fabric_ops_api = tcm_dir + "include/target/target_core_fabric.h"
|
||||
|
||||
print "Using tcm_mod_scan_fabric_ops: " + fabric_ops_api
|
||||
process_fo = 0;
|
||||
@@ -579,11 +574,7 @@ def tcm_mod_dump_fabric_ops(proto_ident, fabric_mod_dir_var, fabric_mod_name):
|
||||
buf += "#include <scsi/scsi_cmnd.h>\n"
|
||||
buf += "#include <scsi/libfc.h>\n\n"
|
||||
buf += "#include <target/target_core_base.h>\n"
|
||||
buf += "#include <target/target_core_transport.h>\n"
|
||||
buf += "#include <target/target_core_fabric_ops.h>\n"
|
||||
buf += "#include <target/target_core_fabric_lib.h>\n"
|
||||
buf += "#include <target/target_core_device.h>\n"
|
||||
buf += "#include <target/target_core_tpg.h>\n"
|
||||
buf += "#include <target/target_core_fabric.h>\n"
|
||||
buf += "#include <target/target_core_configfs.h>\n\n"
|
||||
buf += "#include \"" + fabric_mod_name + "_base.h\"\n"
|
||||
buf += "#include \"" + fabric_mod_name + "_fabric.h\"\n\n"
|
||||
|
||||
@@ -27,8 +27,7 @@
|
||||
#include <scsi/scsi_device.h>
|
||||
#include <scsi/iscsi_proto.h>
|
||||
#include <target/target_core_base.h>
|
||||
#include <target/target_core_tmr.h>
|
||||
#include <target/target_core_transport.h>
|
||||
#include <target/target_core_fabric.h>
|
||||
|
||||
#include "iscsi_target_core.h"
|
||||
#include "iscsi_target_parameters.h"
|
||||
|
||||
@@ -22,12 +22,8 @@
|
||||
#include <linux/configfs.h>
|
||||
#include <linux/export.h>
|
||||
#include <target/target_core_base.h>
|
||||
#include <target/target_core_transport.h>
|
||||
#include <target/target_core_fabric_ops.h>
|
||||
#include <target/target_core_fabric.h>
|
||||
#include <target/target_core_fabric_configfs.h>
|
||||
#include <target/target_core_fabric_lib.h>
|
||||
#include <target/target_core_device.h>
|
||||
#include <target/target_core_tpg.h>
|
||||
#include <target/target_core_configfs.h>
|
||||
#include <target/configfs_macros.h>
|
||||
|
||||
|
||||
@@ -21,8 +21,7 @@
|
||||
|
||||
#include <scsi/scsi_device.h>
|
||||
#include <target/target_core_base.h>
|
||||
#include <target/target_core_device.h>
|
||||
#include <target/target_core_transport.h>
|
||||
#include <target/target_core_fabric.h>
|
||||
|
||||
#include "iscsi_target_core.h"
|
||||
#include "iscsi_target_device.h"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include <scsi/iscsi_proto.h>
|
||||
#include <target/target_core_base.h>
|
||||
#include <target/target_core_transport.h>
|
||||
#include <target/target_core_fabric.h>
|
||||
|
||||
#include "iscsi_target_core.h"
|
||||
#include "iscsi_target_seq_pdu_list.h"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <linux/list.h>
|
||||
#include <scsi/iscsi_proto.h>
|
||||
#include <target/target_core_base.h>
|
||||
#include <target/target_core_transport.h>
|
||||
#include <target/target_core_fabric.h>
|
||||
|
||||
#include "iscsi_target_core.h"
|
||||
#include "iscsi_target_seq_pdu_list.h"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include <scsi/iscsi_proto.h>
|
||||
#include <target/target_core_base.h>
|
||||
#include <target/target_core_transport.h>
|
||||
#include <target/target_core_fabric.h>
|
||||
|
||||
#include "iscsi_target_core.h"
|
||||
#include "iscsi_target_datain_values.h"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <linux/crypto.h>
|
||||
#include <scsi/iscsi_proto.h>
|
||||
#include <target/target_core_base.h>
|
||||
#include <target/target_core_transport.h>
|
||||
#include <target/target_core_fabric.h>
|
||||
|
||||
#include "iscsi_target_core.h"
|
||||
#include "iscsi_target_tq.h"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <linux/ctype.h>
|
||||
#include <scsi/iscsi_proto.h>
|
||||
#include <target/target_core_base.h>
|
||||
#include <target/target_core_tpg.h>
|
||||
#include <target/target_core_fabric.h>
|
||||
|
||||
#include "iscsi_target_core.h"
|
||||
#include "iscsi_target_parameters.h"
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
******************************************************************************/
|
||||
|
||||
#include <target/target_core_base.h>
|
||||
#include <target/target_core_transport.h>
|
||||
|
||||
#include "iscsi_target_core.h"
|
||||
#include "iscsi_target_device.h"
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <linux/export.h>
|
||||
#include <scsi/iscsi_proto.h>
|
||||
#include <target/target_core_base.h>
|
||||
#include <target/target_core_transport.h>
|
||||
#include <target/configfs_macros.h>
|
||||
|
||||
#include "iscsi_target_core.h"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <asm/unaligned.h>
|
||||
#include <scsi/iscsi_proto.h>
|
||||
#include <target/target_core_base.h>
|
||||
#include <target/target_core_transport.h>
|
||||
#include <target/target_core_fabric.h>
|
||||
|
||||
#include "iscsi_target_core.h"
|
||||
#include "iscsi_target_seq_pdu_list.h"
|
||||
|
||||
@@ -19,10 +19,8 @@
|
||||
******************************************************************************/
|
||||
|
||||
#include <target/target_core_base.h>
|
||||
#include <target/target_core_transport.h>
|
||||
#include <target/target_core_fabric_ops.h>
|
||||
#include <target/target_core_fabric.h>
|
||||
#include <target/target_core_configfs.h>
|
||||
#include <target/target_core_tpg.h>
|
||||
|
||||
#include "iscsi_target_core.h"
|
||||
#include "iscsi_target_erl0.h"
|
||||
|
||||
@@ -22,9 +22,7 @@
|
||||
#include <scsi/scsi_tcq.h>
|
||||
#include <scsi/iscsi_proto.h>
|
||||
#include <target/target_core_base.h>
|
||||
#include <target/target_core_transport.h>
|
||||
#include <target/target_core_tmr.h>
|
||||
#include <target/target_core_fabric_ops.h>
|
||||
#include <target/target_core_fabric.h>
|
||||
#include <target/target_core_configfs.h>
|
||||
|
||||
#include "iscsi_target_core.h"
|
||||
|
||||
@@ -33,14 +33,9 @@
|
||||
#include <scsi/scsi_cmnd.h>
|
||||
|
||||
#include <target/target_core_base.h>
|
||||
#include <target/target_core_transport.h>
|
||||
#include <target/target_core_fabric_ops.h>
|
||||
#include <target/target_core_fabric.h>
|
||||
#include <target/target_core_fabric_configfs.h>
|
||||
#include <target/target_core_fabric_lib.h>
|
||||
#include <target/target_core_configfs.h>
|
||||
#include <target/target_core_device.h>
|
||||
#include <target/target_core_tpg.h>
|
||||
#include <target/target_core_tmr.h>
|
||||
|
||||
#include "tcm_loop.h"
|
||||
|
||||
|
||||
@@ -32,9 +32,8 @@
|
||||
#include <scsi/scsi_cmnd.h>
|
||||
|
||||
#include <target/target_core_base.h>
|
||||
#include <target/target_core_device.h>
|
||||
#include <target/target_core_transport.h>
|
||||
#include <target/target_core_fabric_ops.h>
|
||||
#include <target/target_core_backend.h>
|
||||
#include <target/target_core_fabric.h>
|
||||
#include <target/target_core_configfs.h>
|
||||
|
||||
#include "target_core_internal.h"
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
#include <scsi/scsi.h>
|
||||
|
||||
#include <target/target_core_base.h>
|
||||
#include <target/target_core_transport.h>
|
||||
#include <target/target_core_fabric_ops.h>
|
||||
#include <target/target_core_backend.h>
|
||||
#include <target/target_core_fabric.h>
|
||||
|
||||
#include "target_core_internal.h"
|
||||
#include "target_core_ua.h"
|
||||
|
||||
@@ -39,9 +39,8 @@
|
||||
#include <linux/spinlock.h>
|
||||
|
||||
#include <target/target_core_base.h>
|
||||
#include <target/target_core_device.h>
|
||||
#include <target/target_core_transport.h>
|
||||
#include <target/target_core_fabric_ops.h>
|
||||
#include <target/target_core_backend.h>
|
||||
#include <target/target_core_fabric.h>
|
||||
#include <target/target_core_fabric_configfs.h>
|
||||
#include <target/target_core_configfs.h>
|
||||
#include <target/configfs_macros.h>
|
||||
|
||||
@@ -42,10 +42,8 @@
|
||||
#include <scsi/scsi_device.h>
|
||||
|
||||
#include <target/target_core_base.h>
|
||||
#include <target/target_core_device.h>
|
||||
#include <target/target_core_tpg.h>
|
||||
#include <target/target_core_transport.h>
|
||||
#include <target/target_core_fabric_ops.h>
|
||||
#include <target/target_core_backend.h>
|
||||
#include <target/target_core_fabric.h>
|
||||
|
||||
#include "target_core_internal.h"
|
||||
#include "target_core_alua.h"
|
||||
|
||||
@@ -36,10 +36,7 @@
|
||||
#include <linux/configfs.h>
|
||||
|
||||
#include <target/target_core_base.h>
|
||||
#include <target/target_core_device.h>
|
||||
#include <target/target_core_tpg.h>
|
||||
#include <target/target_core_transport.h>
|
||||
#include <target/target_core_fabric_ops.h>
|
||||
#include <target/target_core_fabric.h>
|
||||
#include <target/target_core_fabric_configfs.h>
|
||||
#include <target/target_core_configfs.h>
|
||||
#include <target/configfs_macros.h>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user