Re: [PATCH RFC] yet more struct scsi_lun

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

 



> 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.

this is a bit of a problem since we don't know all the limits. We do
know that Microsoft Windows at least used to have a 64Kb limit, and that
that limit is "safe" in the sense that all hw was tested/designed for
that. So setting the default safe, and overriding it per driver sounds
best. It only really matters for a handful of drivers anyway, and those
either already set something or ought to.


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