Skip to content

target updates for scsi-post-merge .39 (round one, v2)

Nicholas A. Bellinger linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5target: add initial device backend context target_core_stat.c codedrivers/target/Makefile drivers/target/target_core_configfs.c drivers/target/target_core_stat.c +2 more+768 -110 replies
2/5target: add initial fabric port context target_core_stat.c codedrivers/target/target_core_fabric_configfs.c drivers/target/target_core_stat.c drivers/target/target_core_stat.h +2 more+636 -40 replies
3/5target: add initial fabric MappedLUN context target_core_stat.c codedrivers/target/target_core_fabric_configfs.c drivers/target/target_core_stat.c drivers/target/target_core_stat.h +2 more+671 -10 replies
4/5target: Add fabric_stat_group for fabric module statistics default_groupdrivers/target/target_core_fabric_configfs.c include/target/target_core_base.h include/target/target_core_configfs.h+52 -20 replies
5/5tcm_loop: Add multi-fabric Linux/SCSI LLD fabric moduledrivers/target/Kconfig drivers/target/Makefile drivers/target/tcm_loop/Kconfig +5 more+1851 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/5
2/5
3/5
4/5
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] target updates for scsi-post-merge .39 (round one, v2)

From: Nicholas Bellinger <[email protected]>

Hi James and Co,

The following is the first round (v2) of target patches intended for .39 scsi-post-merge tree that introduces new target functionality and the first mainline TCM fabric module (TCM_Loop).

Patches #1 -> #4 involve the addition of new ConfigFS context based statistics groups in target_core_stat.c following RFC-4455 to address the removal of the legacy ProcFS based target_core_mib.c in .38 code.

Patch #5 adds the TCM_Loop virtual SCSI LLD module that was originally reviewed and intended for .38 code. This module currently supports high level port emulation for SAS, FC and iSCSI ProtoIdents. The changes from v1 -> v2 include address Christoph's comments for patch #5 for TCM_Loop included into lio-core-2.6.git/lio-4.1.

Please be sure to apply this series on top the critical 'for-38-urgent' fix posted here:

[PATCH-FOR-38] target: Fix t_transport_aborted handling in LUN_RESET + active I/O shutdown
http://marc.info/?l=linux-scsi&m=129859551620778&w=2

as well as the 14 patch series for-39-misc-v2 posted recently here:

[PATCH 00/14] target patches for .39 scsi-misc (v2)
http://marc.info/?l=linux-scsi&m=129866341626173&w=2

This full series is also available directly from git here:

git://git.kernel.org/pub/scm/linux/kernel/git/nab/scsi-post-merge-2.6.git for-39-post-merge-v2

Please review and apply,

Thanks!

Nicholas Bellinger (5):
target: add initial device backend context target_core_stat.c code
target: add initial fabric port context target_core_stat.c code
target: add initial fabric MappedLUN context target_core_stat.c code
target: Add fabric_stat_group for fabric module statistics
default_group
tcm_loop: Add multi-fabric Linux/SCSI LLD fabric module

 drivers/target/Kconfig                         |    2 +
 drivers/target/Makefile                        |    6 +-
 drivers/target/target_core_configfs.c          |   76 +-
 drivers/target/target_core_fabric_configfs.c   |  209 +++-
 drivers/target/target_core_stat.c              | 1810 ++++++++++++++++++++++++
 drivers/target/target_core_stat.h              |    8 +
 drivers/target/tcm_loop/Kconfig                |   11 +
 drivers/target/tcm_loop/Makefile               |    5 +
 drivers/target/tcm_loop/tcm_loop_configfs.c    |  643 +++++++++
 drivers/target/tcm_loop/tcm_loop_core.h        |  141 ++
 drivers/target/tcm_loop/tcm_loop_fabric.c      |  472 ++++++
 drivers/target/tcm_loop/tcm_loop_fabric_scsi.c |  574 ++++++++
 include/target/target_core_base.h              |   35 +-
 include/target/target_core_configfs.h          |    4 +
 14 files changed, 3978 insertions(+), 18 deletions(-)
 create mode 100644 drivers/target/target_core_stat.c
 create mode 100644 drivers/target/target_core_stat.h
 create mode 100644 drivers/target/tcm_loop/Kconfig
 create mode 100644 drivers/target/tcm_loop/Makefile
 create mode 100644 drivers/target/tcm_loop/tcm_loop_configfs.c
 create mode 100644 drivers/target/tcm_loop/tcm_loop_core.h
 create mode 100644 drivers/target/tcm_loop/tcm_loop_fabric.c
 create mode 100644 drivers/target/tcm_loop/tcm_loop_fabric_scsi.c
Signature · 1 line
1.7.4.1