scsi: target: Add virtual remote target
authorDmitry Bogdanov <d.bogdanov@yadro.com>
Mon, 13 Mar 2023 18:11:10 +0000 (21:11 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 17 Mar 2023 03:36:37 +0000 (23:36 -0400)
commit075a5d356103b32bc7023b03ede60a2f183bcfb3
tree01bba67427f95864348249e409b63c6e8dc685a8
parentdf02beb9afd246a41c70c62de9c186464e10282a
scsi: target: Add virtual remote target

Create virtual remote target module.

This can be used to see a whole ACL/LUN/TPG configuration from all nodes in
storage cluster.  For example, it permits setting up remote ports in ALUA
port groups. To report all ports in a cluster in REPORT TARGET PORT GROUP
command.

Suggested-by: Konstantin Shelekhin <k.shelekhin@yadro.com>
Signed-off-by: Dmitry Bogdanov <d.bogdanov@yadro.com>
Link: https://lore.kernel.org/r/20230313181110.20566-13-d.bogdanov@yadro.com
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/Kconfig
drivers/target/Makefile
drivers/target/tcm_remote/Kconfig [new file with mode: 0644]
drivers/target/tcm_remote/Makefile [new file with mode: 0644]
drivers/target/tcm_remote/tcm_remote.c [new file with mode: 0644]
drivers/target/tcm_remote/tcm_remote.h [new file with mode: 0644]