lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 6 Oct 2010 11:36:38 +0900
From:	FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
To:	nab@...ux-iscsi.org
Cc:	linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
	fujita.tomonori@....ntt.co.jp, michaelc@...wisc.edu, hch@....de,
	hare@...e.de, James.Bottomley@...e.de, axboe@...nel.dk,
	bharrosh@...asas.com
Subject: Re: [RFC v2 06/21] tcm: Add fabric and subsystem transport engine
 core

On Wed, 22 Sep 2010 15:49:23 -0700
"Nicholas A. Bellinger" <nab@...ux-iscsi.org> wrote:

> From: Nicholas Bellinger <nab@...ux-iscsi.org>
> 
> The patch adds core generic target engine functionality including processing of struct se_cmd
> generation of N struct se_task, control CDB emulation, sense data, memory allocation, and
> and mapping from fabric module allocated memory using linked list struct scatterlist
> style memory based on the limitiations of the underlying TCM HBA and Device backstores.
> 
> The TCM layer sits is above Linux/SCSI, Linux/BLOCK and Linux/VFS subsystems, and
> communicates with these subsystems (and local RAMDISK plugins) using an API of function
> pointers in se_subsystem_api_t.  It provides processing capabilties and emulation for SCSI
> logic and CDBs in a generic manner to storage object LUNs provided from Linux storage
> subsystems backend storage devices.
> 
> Signed-off-by: Nicholas A. Bellinger <nab@...ux-iscsi.org>
> ---
>  drivers/target/target_core_scdb.c      |  158 +
>  drivers/target/target_core_scdb.h      |   15 +
>  drivers/target/target_core_transport.c | 8860 ++++++++++++++++++++++++++++++++
>  include/target/target_core_transport.h |  570 ++
>  4 files changed, 9603 insertions(+), 0 deletions(-)
>  create mode 100644 drivers/target/target_core_scdb.c
>  create mode 100644 drivers/target/target_core_scdb.h
>  create mode 100644 drivers/target/target_core_transport.c
>  create mode 100644 include/target/target_core_transport.h

Can a driver cleanly overwrite cmd->transport_emulate_cdb? ibmvscsi
target driver needs to the specific responses for INQUIRY and
REPORT_LUNS.

I guess that the driver can ignore the response buffer from tcm and
create the own but it would be nice if the driver can do cleanly.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ