Skip to contentSkip to conversation

: Add T10 EVPD Unit Serial Number Emulation

PATCH New Nicholas A. Bellinger 1 participant 1 message Jan 24, 2009 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : Add T10 EVPD Unit Serial Number Emulation

Greetings all,

This patch series adds support for T10 EVPD Unit Serial Number emulation via ConfigFS to target_core_mod/[pSCSI,IBLOCK,FILEIO,RAMDISK] subsystem plugins. The Linux/SCSI passthrough with pSCSI has a special consideration for firmware or Linux/SCSI LLD emulated EVPD information. eg: it will not let you emulate if Target_Core_Mod/pSCSI sees active EVPD information in INQUIRY Response payloads.

This patch is made against lio-core-2.6.git/master
and tested on v2.6.28 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

Comments folks..?

--nab

[PATCH 1/6] [Target_Core_Mod]: Add support for configurable EVPD Unit Serial Numbers [PATCH 2/6] [Target_Core_Mod/RAMDISK]: Update transport_generic_emulate_inquiry() usage [PATCH 3/6] [Target_Core_Mod/FILEIO): Update for EVPD and remove legacy parameter code [PATCH 4/6] [Target_Core_Mod/IBLOCK): Update for EVPD and remove legacy parameter code [PATCH 5/6] [Target_Core_Mod/pSCSI]: Update EVPD post processing logic
[PATCH 6/6] [Target_Core_Mod/ConfigFS]: Add support for $STORAGE_OBJECT EVPD Unit Serial Number emulation

remote: Counting objects: 47, done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 34 (delta 29), reused 0 (delta 0)
Unpacking objects: 100% (34/34), done.

Quoted 1 line

From /pub/scm/linux/kernel/git/nab/lio-core-2.6

* branch master -> FETCH_HEAD
Updating 18ebd43..a50c8a5
Fast forward

 drivers/lio-core/target_core_base.h      |    2 +
 drivers/lio-core/target_core_configfs.c  |   59 +++++++++++++++++++++++++++++-
 drivers/lio-core/target_core_file.c      |   39 +-------------------
 drivers/lio-core/target_core_file.h      |    8 +---
 drivers/lio-core/target_core_iblock.c    |   45 ++---------------------
 drivers/lio-core/target_core_iblock.h    |   12 ++----
 drivers/lio-core/target_core_pscsi.c     |   34 +++++++++++++-----
 drivers/lio-core/target_core_rd.c        |    2 +-
 drivers/lio-core/target_core_transport.c |   20 ++++++-----
 drivers/lio-core/target_core_transport.h |   13 +++++--
 10 files changed, 117 insertions(+), 117 deletions(-)