linux_old1/drivers/scsi/ibmvscsi
Bart Van Assche 985aa49556 IB/srp: Add 64-bit LUN support
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 9cb78c16f5 ("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: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Yann 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: Doug Ledford <dledford@redhat.com>
2015-05-18 13:35:56 -04:00
..
Makefile ibmvstgt: remove 2014-07-17 22:07:43 +02:00
ibmvfc.c ibmvfc: remove unused tag variable 2014-12-04 09:58:33 +01:00
ibmvfc.h ibmvfc: fix little endian issues 2014-07-25 17:16:55 -04:00
ibmvscsi.c IB/srp: Add 64-bit LUN support 2015-05-18 13:35:56 -04:00
ibmvscsi.h [SCSI] ibmvscsi: Remove backend abstraction 2012-09-24 12:11:09 +04:00
viosrp.h [SCSI] ibmvscsi: Fix little endian issues 2013-09-06 11:38:19 -07:00