Skip to content

Add new EVPD 0x83 identifers and RELATIVE TARGET PORT IDENTIFIER usage

Nicholas A. Bellinger linux-scsi lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4: Move core se_port_t logic to target_core_device.cdrivers/lio-core/target_core_base.h drivers/lio-core/target_core_device.c drivers/lio-core/target_core_device.h +2 more+78 -290 replies
2/4: Fix RELATIVE TARGET PORT IDENTIFIER usagedrivers/lio-core/target_core_configfs.c drivers/lio-core/target_core_pr.c+9 -70 replies
3/4: Add support for EVPD 0x83 Relative target port identifer and SCSI Name stringdrivers/lio-core/target_core_fabric_ops.h drivers/lio-core/target_core_transport.c+160 -210 replies
4/4: Add iscsi_get_fabric_proto_ident() for EVPD PIV=1 usagedrivers/lio-core/iscsi_target.c drivers/lio-core/iscsi_target.h drivers/lio-core/iscsi_target_configfs.c+11 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] [Target_Core_Mod] Add new EVPD 0x83 identifers and RELATIVE TARGET PORT IDENTIFIER usage

Greetings all,

This patch series adds EVPD 0x83 Relative target port identifer and SCSI Name string identifier usage in a $FABRIC_MOD independent manner within Target_Core_Mod v3.0. This has been tested with LIO-Target v3.0 using iSCSI Target Ports using Doug Gilbert's excellent sg_inq tool from sg3_utils for formatting the INQUIRY EVPD Response Payloads.

This patch is made against lio-core-2.6.git/master
and tested on v2.6.29-rc2 x86 32-bit HVM. The lio-core-2.6.git tree can be found at:

http://git.kernel.org/?p=linux/kernel/git/nab/lio-core-2.6.git;a=summary

[PATCH 1/4] [Target_Core_Mod]: Move core se_port_t logic to target_core_device.c
[PATCH 2/4] [Target_Core_Mod/PERSISTENT_RESERVATIONS]: Fix RELATIVE TARGET PORT IDENTIFIER usage [PATCH 3/4] [Target_Core_Mod]: Add support for EVPD 0x83 Relative target port identifer and SCSI Name string [PATCH 4/4] [LIO-Target]: Add iscsi_get_fabric_proto_ident() for EVPD PIV=1 usage

 drivers/lio-core/iscsi_target.c           |    9 ++
 drivers/lio-core/iscsi_target.h           |    1 +
 drivers/lio-core/iscsi_target_configfs.c  |    1 +
 drivers/lio-core/target_core_base.h       |    4 +-
 drivers/lio-core/target_core_configfs.c   |    8 +-
 drivers/lio-core/target_core_device.c     |   66 +++++++++++
 drivers/lio-core/target_core_device.h     |    3 +
 drivers/lio-core/target_core_fabric_ops.h |    1 +
 drivers/lio-core/target_core_mib.h        |    1 -
 drivers/lio-core/target_core_pr.c         |    8 +-
 drivers/lio-core/target_core_seobj.c      |   33 +-----
 drivers/lio-core/target_core_transport.c  |  180 +++++++++++++++++++++++++----
 12 files changed, 258 insertions(+), 57 deletions(-)

--nab