Re: [PATCH scsi-misc-2.6] allow REPORT LUN scanning even for LUN 0 PQ of 3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patrick Mansfield wrote:
> James -
> 
> Can you ack or comment?
> 
> Allow REPORT LUN scanning even if LUN 0 reports a peripheral qualifier of
> 3 (effectively no storage is available on LUN 0).
> 
> Similar patch I previously posted:
> 
> http://marc.theaimsgroup.com/?l=linux-scsi&m=110297733824960&w=2
> 
> There is also Hannes patch, it leaves LUN 0 available for use via user
> space, for compatibility it likely requires that it stay visible in the
> future:
> 
> http://marc.theaimsgroup.com/?l=linux-scsi&m=111692497200507&w=2
> 
> Hannes' patch also causes a lot of extra vSCSI devices to show up on some
> platforms :)
> 
We definitely need something like this. The current scan algorithms is
just plain broken for targets where LUN 0 has no device attached.
It is perfectly valid for storage servers to have a LUN 0 with no device
attached (say, for control purposes) and let the client figure out the
current configuration via REPORT LUN.
Without this patch Linux simply cannot handle such setups.

James, do consider to include this patch into scsi-misc.


> Signed-off-by: Patrick Mansfield <patmans@xxxxxxxxxx>
Signed-off-by: Hannes Reinecke <hare@xxxxxxx>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke			hare@xxxxxxx
SuSE Linux Products GmbH		S390 & zSeries
Maxfeldstraße 5				+49 911 74053 688
90409 Nürnberg				http://www.suse.de

-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux