ibmvscsis: Initial IBM vSCSI Target merge for v3.2-rc1
Subsystems (3)
PATCH v2 1/1 ibmvscsis: Initial IBM vSCSI Target merge for v3.2-rc1
From: FUJITA Tomonori <[email protected]>
Hello again Brian, Tomo-san & Co,
This patch contains the fifth overall version, and the second version for an initial merge of the tcm ibmvscsis driver for v3.2-rc1.
I've not received any feedback on this updated patch yet, and as i'd still like to try to get it merged for v3.2, I'd like you to consider it for an initial merge moving forward. It is available along with the current set of pending target-core patches for v3.2-rc1 here:
git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git for-next-vscsi
More information on this driver can be found here:
http://www.linux-iscsi.org/wiki/IBM_vSCSI
http://www.linux-iscsi.org/wiki/IBM_vSCSI/configFS
The changes are:
v5:
- Remove SCF_SCSI_*_CDB abuse from ibmvscsis_write_pending() and ibmvscsis_queue_data_in() following Christoph's patch for lio-core.git
v4:
- Remove TCM v4.0 legacy ibmvscsis_pack_lun() usage
- Remove TCM v4.0 legacy SCF_SCSI_CONTROL_NONSG_IO_CDB +
se_cmd->t_task usage
- Updated to use TCM v4.1 infrastructure code
v3:
- fix task attribute (convert MSG_* to TASK_ATTR_*)
v2:
- send VIOSRP_MAD_NOT_SUPPORTED for unknown mad type requests.
- fix inquiry typo
- sends task management response (for now, 'NOT SUPPORTED').
- remove dead code.
This replaces ibmvstgt driver that uses the old target framework.
--- drivers/scsi/ibmvscsi/Makefile | 4 +- drivers/scsi/ibmvscsi/ibmvscsis.c | 1718 +++++++++++++++++++++++++++++++++++++ 2 files changed, 1721 insertions(+), 1 deletions(-) create mode 100644 drivers/scsi/ibmvscsi/ibmvscsis.c
drivers/scsi/ibmvscsi/Makefile +3 -1
@@ -1,8 +1,10 @@ +EXTRA_CFLAGS += -I$(srctree)/drivers/target/ + obj-$(CONFIG_SCSI_IBMVSCSI) += ibmvscsic.o ibmvscsic-y += ibmvscsi.o ibmvscsic-$(CONFIG_PPC_ISERIES) += iseries_vscsi.o ibmvscsic-$(CONFIG_PPC_PSERIES) += rpa_vscsi.o -obj-$(CONFIG_SCSI_IBMVSCSIS) += ibmvstgt.o +obj-$(CONFIG_SCSI_IBMVSCSIS) += ibmvscsis.o obj-$(CONFIG_SCSI_IBMVFC) += ibmvfc.o
drivers/scsi/ibmvscsi/ibmvscsis.c new file +1718 -0
1,718 lines not on this page · raw message
Signature · 1 line
1.5.6.5