• Bart Van Assche's avatar
    IB/srp: Add 64-bit LUN support · 985aa495
    Bart Van Assche authored
    The SCSI standard defines 64-bit values for LUNs. Large arrays
    employing large or hierarchical LUN numbers become more and more
    common. So update the SRP initiator to use 64-bit LUN numbers.
    See also Hannes Reinecke, commit 9cb78c16 ("scsi: use 64-bit LUNs"),
    June 2014.
    
    The largest LUN number that has been tested is 0xd2003fff00000000.
    
    Checked the following structure sizes with gdb:
    * sizeof(struct srp_cmd) = 48
    * sizeof(struct srp_tsk_mgmt) = 48
    * sizeof(struct srp_aer_req) = 36
    
    The ibmvscsi changes have been compile tested only (on a PPC system).
    Signed-off-by: default avatarBart Van Assche <bart.vanassche@sandisk.com>
    Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
    Reviewed-by: default avatarSagi Grimberg <sagig@mellanox.com>
    Reviewed-by: default avatarYann Droneaud <ydroneaud@opteya.com>
    Cc: Sebastian Parschauer <sebastian.riemer@profitbricks.com>
    Cc: Brian King <brking@linux.vnet.ibm.com>
    Cc: Nathan Fontenot <nfont@linux.vnet.ibm.com>
    Cc: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
    Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
    985aa495
Name
Last commit
Last update
..
fc Loading commit data...
fc_encode.h Loading commit data...
fc_frame.h Loading commit data...
fcoe_sysfs.h Loading commit data...
iscsi_if.h Loading commit data...
iscsi_proto.h Loading commit data...
libfc.h Loading commit data...
libfcoe.h Loading commit data...
libiscsi.h Loading commit data...
libiscsi_tcp.h Loading commit data...
libsas.h Loading commit data...
osd_attributes.h Loading commit data...
osd_initiator.h Loading commit data...
osd_ore.h Loading commit data...
osd_protocol.h Loading commit data...
osd_sec.h Loading commit data...
osd_sense.h Loading commit data...
osd_types.h Loading commit data...
sas.h Loading commit data...
sas_ata.h Loading commit data...
scsi.h Loading commit data...
scsi_bsg_iscsi.h Loading commit data...
scsi_cmnd.h Loading commit data...
scsi_dbg.h Loading commit data...
scsi_device.h Loading commit data...
scsi_devinfo.h Loading commit data...
scsi_dh.h Loading commit data...
scsi_driver.h Loading commit data...
scsi_eh.h Loading commit data...
scsi_host.h Loading commit data...
scsi_ioctl.h Loading commit data...
scsi_tcq.h Loading commit data...
scsi_transport.h Loading commit data...
scsi_transport_fc.h Loading commit data...
scsi_transport_iscsi.h Loading commit data...
scsi_transport_sas.h Loading commit data...
scsi_transport_spi.h Loading commit data...
scsi_transport_srp.h Loading commit data...
scsicam.h Loading commit data...
sg.h Loading commit data...
srp.h Loading commit data...