Re: [PATCH 14/20] scsi_dh_alua: parse target device id

2015-07-25 Thread Hannes Reinecke
On 07/24/2015 05:28 PM, Martin K. Petersen wrote:
 Christoph == Christoph Hellwig h...@lst.de writes:
 
 Christoph Can you move this to scsi_mod.ko?  I'll need the same code
 Christoph for the NFS SCSI layout driver soon.
 
 Same here. Working on copy offload again.
 
Hehe. Thought that was needed after all.
(I dimly remember having some parsing code in my initial VPD page
patchset :-)

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


Re: [PATCH 14/20] scsi_dh_alua: parse target device id

2015-07-25 Thread Hannes Reinecke
On 07/24/2015 05:07 PM, Christoph Hellwig wrote:
 On Wed, Jul 08, 2015 at 11:06:12AM +0200, Hannes Reinecke wrote:
 Parse VPD descriptor to figure out the device identification.
 As devices might implement several descriptors the order
 of preference is:
 - NAA IEE Registered Extended
 - EUI-64 based 16-byte
 - EUI-64 based 12-byte
 - NAA IEEE Registered
 - NAA IEEE Extended
 A SCSI name string descriptor is preferred to all of them
 if the identification is longer than 16 bytes.
 
 Can you move this to scsi_mod.ko?  I'll need the same code for the NFS
 SCSI layout driver soon.
 
Ok, will be doing so.

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


Re: [PATCH 14/20] scsi_dh_alua: parse target device id

2015-07-24 Thread Christoph Hellwig
On Wed, Jul 08, 2015 at 11:06:12AM +0200, Hannes Reinecke wrote:
 Parse VPD descriptor to figure out the device identification.
 As devices might implement several descriptors the order
 of preference is:
 - NAA IEE Registered Extended
 - EUI-64 based 16-byte
 - EUI-64 based 12-byte
 - NAA IEEE Registered
 - NAA IEEE Extended
 A SCSI name string descriptor is preferred to all of them
 if the identification is longer than 16 bytes.

Can you move this to scsi_mod.ko?  I'll need the same code for the NFS
SCSI layout driver soon.

--
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


Re: [PATCH 14/20] scsi_dh_alua: parse target device id

2015-07-24 Thread Martin K. Petersen
 Christoph == Christoph Hellwig h...@lst.de writes:

Christoph Can you move this to scsi_mod.ko?  I'll need the same code
Christoph for the NFS SCSI layout driver soon.

Same here. Working on copy offload again.

-- 
Martin K. Petersen  Oracle Linux Engineering
--
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