Re: [PATCH RFC] yet more struct scsi_lun

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

 



Jeff Garzik wrote:
> Douglas Gilbert reminded me of a lun limitation I could kill.  This
> patch applied on top of the previous two lun patches.
> 
> DO NOT APPLY.  For discussion only.
> 
> Changes:
> * add SCSILUN_UNLIMITED for LLDDs without lun limits; set
> 	shost->max_lun = SCSILUN_UNLIMITED;

Which in turn makes me think of applying the same idea
to max_sectors

        shost->max_sectors = MAX_512B_SECTORS_UNLIMITED;

which would be the default unless the HBA (RAID controller
or whatever) really does have a (practical) limit. If a
device beyond the target has a limit, then that is not the
LLD's concern.

Doug Gilbert
-
: 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