Re: [PATCH 0/4] scsi: 64-bit LUN support

2013-04-09 Thread Hannes Reinecke
On 04/08/2013 05:37 PM, Tomas Henzl wrote: On 04/05/2013 05:24 PM, James Smart wrote: On 4/4/2013 6:17 AM, Hannes Reinecke wrote: On 03/31/2013 07:44 PM, Tomas Henzl wrote: What we can do is to decode the LUN and compare it to max_lun provided by the driver, I think that sg_luns is able to

RE: [PATCH 0/4] scsi: 64-bit LUN support

2013-04-09 Thread Elliott, Robert (Server Storage)
Subject: Re: [PATCH 0/4] scsi: 64-bit LUN support On 04/08/2013 05:37 PM, Tomas Henzl wrote: On 04/05/2013 05:24 PM, James Smart wrote: On 4/4/2013 6:17 AM, Hannes Reinecke wrote: On 03/31/2013 07:44 PM, Tomas Henzl wrote: You are right in the sense that 'max_lun' actually has a double

Re: [PATCH 0/4] scsi: 64-bit LUN support

2013-04-09 Thread Hannes Reinecke
; Elliott, Robert (Server Storage); Bart Van Assche; Bud Brown Subject: Re: [PATCH 0/4] scsi: 64-bit LUN support On 04/08/2013 05:37 PM, Tomas Henzl wrote: On 04/05/2013 05:24 PM, James Smart wrote: On 4/4/2013 6:17 AM, Hannes Reinecke wrote: On 03/31/2013 07:44 PM, Tomas Henzl wrote: You

Re: [PATCH 0/4] scsi: 64-bit LUN support

2013-04-08 Thread Tomas Henzl
On 04/05/2013 05:24 PM, James Smart wrote: On 4/4/2013 6:17 AM, Hannes Reinecke wrote: On 03/31/2013 07:44 PM, Tomas Henzl wrote: What we can do is to decode the LUN and compare it to max_lun provided by the driver, I think that sg_luns is able to do that, so what is needed is just to

Re: [PATCH 0/4] scsi: 64-bit LUN support

2013-04-05 Thread James Smart
On 4/4/2013 6:17 AM, Hannes Reinecke wrote: On 03/31/2013 07:44 PM, Tomas Henzl wrote: What we can do is to decode the LUN and compare it to max_lun provided by the driver, I think that sg_luns is able to do that, so what is needed is just to follow the SAM. I have seen reports of problem

Re: [PATCH 0/4] scsi: 64-bit LUN support

2013-04-04 Thread Hannes Reinecke
On 03/31/2013 07:44 PM, Tomas Henzl wrote: On 03/30/2013 05:53 PM, Hannes Reinecke wrote: On 03/29/2013 05:32 PM, Tomas Henzl wrote: [ .. ] in scsi_report_lun_scan is max_lun compared with the result of scsilun_to_int, but in that value is also stored the address method. This means, that we

Re: [PATCH 0/4] scsi: 64-bit LUN support

2013-03-31 Thread Tomas Henzl
On 03/30/2013 05:53 PM, Hannes Reinecke wrote: On 03/29/2013 05:32 PM, Tomas Henzl wrote: On 03/27/2013 08:37 AM, Hannes Reinecke wrote: On 03/26/2013 07:00 PM, Chad Dupuis wrote: On Tue, 19 Feb 2013, Hannes Reinecke wrote: This patchset updates the SCSI midlayer to use 64-bit LUNs

Re: [PATCH 0/4] scsi: 64-bit LUN support

2013-03-30 Thread Hannes Reinecke
On 03/29/2013 05:32 PM, Tomas Henzl wrote: On 03/27/2013 08:37 AM, Hannes Reinecke wrote: On 03/26/2013 07:00 PM, Chad Dupuis wrote: On Tue, 19 Feb 2013, Hannes Reinecke wrote: This patchset updates the SCSI midlayer to use 64-bit LUNs internally. It eliminates the need to limit the number

Re: [PATCH 0/4] scsi: 64-bit LUN support

2013-03-29 Thread Tomas Henzl
On 03/27/2013 08:37 AM, Hannes Reinecke wrote: On 03/26/2013 07:00 PM, Chad Dupuis wrote: On Tue, 19 Feb 2013, Hannes Reinecke wrote: This patchset updates the SCSI midlayer to use 64-bit LUNs internally. It eliminates the need to limit the number of LUNs artificially to avoid aliasing

Re: [PATCH 0/4] scsi: 64-bit LUN support

2013-03-27 Thread Hannes Reinecke
On 03/26/2013 07:00 PM, Chad Dupuis wrote: On Tue, 19 Feb 2013, Hannes Reinecke wrote: This patchset updates the SCSI midlayer to use 64-bit LUNs internally. It eliminates the need to limit the number of LUNs artificially to avoid aliasing issues; the SCSI midlayer can now accept any LUN

Re: [PATCH 0/4] scsi: 64-bit LUN support

2013-03-27 Thread Chad Dupuis
On Wed, 27 Mar 2013, Hannes Reinecke wrote: On 03/26/2013 07:00 PM, Chad Dupuis wrote: On Tue, 19 Feb 2013, Hannes Reinecke wrote: This patchset updates the SCSI midlayer to use 64-bit LUNs internally. It eliminates the need to limit the number of LUNs artificially to avoid aliasing

Re: [PATCH 0/4] scsi: 64-bit LUN support

2013-03-26 Thread Chad Dupuis
On Tue, 19 Feb 2013, Hannes Reinecke wrote: This patchset updates the SCSI midlayer to use 64-bit LUNs internally. It eliminates the need to limit the number of LUNs artificially to avoid aliasing issues; the SCSI midlayer can now accept any LUN presented to it. The LLDD specific settings

Re: [PATCH 0/4] scsi: 64-bit LUN support

2013-03-26 Thread Douglas Gilbert
On 13-03-26 02:00 PM, Chad Dupuis wrote: On Tue, 19 Feb 2013, Hannes Reinecke wrote: This patchset updates the SCSI midlayer to use 64-bit LUNs internally. It eliminates the need to limit the number of LUNs artificially to avoid aliasing issues; the SCSI midlayer can now accept any LUN

Re: [PATCH 0/4] scsi: 64-bit LUN support

2013-02-25 Thread Douglas Gilbert
On 13-02-21 11:32 AM, James Bottomley wrote: On Thu, 2013-02-21 at 16:15 +, Elliott, Robert (Server Storage) wrote: Regarding changes like this: - printk(MYIOC_s_NOTE_FMT [%d:%d:%d:%d] + printk(MYIOC_s_NOTE_FMT [%d:%d:%d:%llu]

Re: [PATCH 0/4] scsi: 64-bit LUN support

2013-02-23 Thread Hannes Reinecke
On 02/21/2013 05:15 PM, Elliott, Robert (Server Storage) wrote: Regarding changes like this: - printk(MYIOC_s_NOTE_FMT [%d:%d:%d:%d] + printk(MYIOC_s_NOTE_FMT [%d:%d:%d:%llu] FCP_ResponseInfo=%08xh\n, ioc-name,

RE: [PATCH 0/4] scsi: 64-bit LUN support

2013-02-21 Thread Elliott, Robert (Server Storage)
; Hannes Reinecke Subject: [PATCH 0/4] scsi: 64-bit LUN support This patchset updates the SCSI midlayer to use 64-bit LUNs internally. It eliminates the need to limit the number of LUNs artificially to avoid aliasing issues; the SCSI midlayer can now accept any LUN presented to it. The LLDD

Re: [PATCH 0/4] scsi: 64-bit LUN support

2013-02-21 Thread James Bottomley
On Thu, 2013-02-21 at 16:15 +, Elliott, Robert (Server Storage) wrote: Regarding changes like this: - printk(MYIOC_s_NOTE_FMT [%d:%d:%d:%d] + printk(MYIOC_s_NOTE_FMT [%d:%d:%d:%llu] FCP_ResponseInfo=%08xh\n, ioc-name,

[PATCH 0/4] scsi: 64-bit LUN support

2013-02-19 Thread Hannes Reinecke
This patchset updates the SCSI midlayer to use 64-bit LUNs internally. It eliminates the need to limit the number of LUNs artificially to avoid aliasing issues; the SCSI midlayer can now accept any LUN presented to it. The LLDD specific settings for 'max_lun' have been left untouched; it should