Re: [PATCH] target: respond to unknown initiators with sensible REPORT LUNS list length

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

 



On Fri, Jul 24, 2015 at 12:11:46PM -0700, Roland Dreier wrote:
> From: Roland Dreier <roland@xxxxxxxxxxxxxxx>
> 
>  > Shouldn't the code actually report the virtual lun zero instead of just
>  > accounting for it?
> 
> Yeah, I think there is an implicit memset to 0 somewhere that is
> saving us, but the below is probably better.
> 
>  - R.
> 
> -------- 8< --------
> 
> Subject: [PATCH] target: REPORT LUNS should return LUN 0 even for dynamic ACLs
> From: Roland Dreier <roland@xxxxxxxxxxxxxxx>
> 
> If an initiator doesn't have any real LUNs assigned, we should report
> LUN 0 and a LUN list length of 1.  Some versions of Solaris at least
> go beserk if we report a LUN list length of 0.
> 
> Signed-off-by: Roland Dreier <roland@xxxxxxxxxxxxxxx>

Thanks, this looks better.

Reviewed-by: Christoph Hellwig <hch@xxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux