Re: [PATCH] blk-settings: round down io_opt to at least 4K

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

 



On Tue, Feb 04, 2025 at 09:36:46PM -0500, Martin K. Petersen wrote:
> 
> Christoph,
> 
> >> Quite a few SCSI devices report 0xffff to indicate that the optimal
> >> transfer length is the same as the maximum transfer length which for
> >> low-byte commands is capped at 0xffff. That's where the odd value comes
> >> from in some cases.
> >
> > Hmm, optimal == max is odd,
> 
> What they mean to convey is that "device has no constraints". As opposed
> to a value of 0 which means "not reported".

I'm pretty sure that confuses some users, given normally optimal == lba
size mean not reported.  Either way we really need to document these
somewhere.





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux