diff options
author | Bart Van Assche <[email protected]> | 2015-05-18 13:27:14 +0200 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2015-05-18 13:35:56 -0400 |
commit | 985aa49556a576416d3f960f8fc1c6513863e33e (patch) | |
tree | a634502c13bc4ce98c7e6f78774ebf2d5c5b624a /lib/memory-notifier-error-inject.c | |
parent | bbac5ccff43cdcb5fc9346669ec67ea47fca3de0 (diff) |
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 9cb78c16f5da ("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 <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Yann Droneaud <[email protected]>
Cc: Sebastian Parschauer <[email protected]>
Cc: Brian King <[email protected]>
Cc: Nathan Fontenot <[email protected]>
Cc: Tyrel Datwyler <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions