Re: [PATCH] [SCSI] scsilun_to_int should ignore the highest 2 bits

2013-06-06 Thread Jan Vesely
On Thu 06 Jun 2013 10:42:16 CEST, Hannes Reinecke wrote: > On 06/06/2013 10:18 AM, Jan Vesely wrote: >> From: Jan Vesely >> >> The comment says the function does this but it does not. >> Reported luns change from weirdly high numbers (like 16640) >> to something saner (256), when using flat space

Re: [PATCH] [SCSI] scsilun_to_int should ignore the highest 2 bits

2013-06-06 Thread Hannes Reinecke
On 06/06/2013 10:18 AM, Jan Vesely wrote: > From: Jan Vesely > > The comment says the function does this but it does not. > Reported luns change from weirdly high numbers (like 16640) > to something saner (256), when using flat space addressing. > > CC: James Bottomley > CC: Dan Williams >

[PATCH] [SCSI] scsilun_to_int should ignore the highest 2 bits

2013-06-06 Thread Jan Vesely
From: Jan Vesely The comment says the function does this but it does not. Reported luns change from weirdly high numbers (like 16640) to something saner (256), when using flat space addressing. CC: James Bottomley CC: Dan Williams Signed-off-by: Jan Vesely --- drivers/scsi/scsi_scan.c | 2

[PATCH] [SCSI] scsilun_to_int should ignore the highest 2 bits

2013-06-06 Thread Jan Vesely
From: Jan Vesely jves...@redhat.com The comment says the function does this but it does not. Reported luns change from weirdly high numbers (like 16640) to something saner (256), when using flat space addressing. CC: James Bottomley jbottom...@parallels.com CC: Dan Williams

Re: [PATCH] [SCSI] scsilun_to_int should ignore the highest 2 bits

2013-06-06 Thread Hannes Reinecke
On 06/06/2013 10:18 AM, Jan Vesely wrote: From: Jan Vesely jves...@redhat.com The comment says the function does this but it does not. Reported luns change from weirdly high numbers (like 16640) to something saner (256), when using flat space addressing. CC: James Bottomley

Re: [PATCH] [SCSI] scsilun_to_int should ignore the highest 2 bits

2013-06-06 Thread Jan Vesely
On Thu 06 Jun 2013 10:42:16 CEST, Hannes Reinecke wrote: On 06/06/2013 10:18 AM, Jan Vesely wrote: From: Jan Vesely jves...@redhat.com The comment says the function does this but it does not. Reported luns change from weirdly high numbers (like 16640) to something saner (256), when using