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 08:02:17AM -0500, Martin K. Petersen wrote:
> 
> Christoph,
> 
> > 0xffff as the max and a weirdly uneven number even for partity RAID
> > seems like a good value to ignore by default.
> 
> 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, and I'm pretty sure it's going to confuse
the hell out of whatever non-sophisticated users of the optimal I/O
size that Mikulas is dealing with.





[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