http://www.t10.org/


SCSI_scsiSCSI= Small Computer System Interface



SCSI_scsi_02

SCSI Standards Architecture 

SCSI_scsi_03

Linux scsi代码:

linux-3.10.0-123.el7/drivers/scsi/device_handler

SCSI Device Handlers provide device specific support for devices utilized in multipath configurations

config SCSI_DH_ALUA

        tristate "SPC-3 ALUA Device Handler"

        depends on SCSI_DH

        help

          SCSI Device handler for generic SPC-3 Asymmetric Logical Unit

          Access (ALUA).

obj-$(CONFIG_SCSI_DH_ALUA)      += scsi_dh_alua.o// scsi alua


scsi_dh.c

static int __init scsi_dh_init(void)
{
int r;
r = bus_register_notifier(&scsi_bus_type, &scsi_dh_nb);
if (!r)
bus_for_each_dev(&scsi_bus_type, NULL, NULL,
 scsi_dh_sysfs_attr_add);
return r;
}

the ConfigFS enabled Linux-iSCSI.org iSCSI Target Mode Stac

linux-3.10.0-123.el7/drivers/target/iscsi


Linux 把用户态接口头文件放到这个路径写

userspace programs in Linux access the SG_IO ioctl through sg.h

scsi: move scsi/sg.h to uapi/linux/sg.h

include/uapi/scsi


include/scsi/scsi.h

include/scsi/scsi_ioctl.h