On 07/04/2014 03:44 PM, Christoph Hellwig wrote:
On Fri, Jul 04, 2014 at 01:54:34PM +0200, Hannes Reinecke wrote:
SCSI-2 defines only up to 256 LUNs with a flat namespace.
This patch introduces an accessor 'sdev_scsi2lun' which should be
used for these drivers to avoid problems when using 64-bit LUNs
internally.

So what would be set in the upper 48 bits for those drivers?  We receive
the LUN over the wire to start with.

None. All these devices are physically incapable of receiving or sending LUNs more that a byte wide.

Cheers,

Hannes
--
Dr. Hannes Reinecke                   zSeries & Storage
h...@suse.de                          +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to