On 4/2/24 15:18, Christoph Hellwig wrote:
On Tue, Apr 02, 2024 at 03:17:26PM +0200, Hannes Reinecke wrote:
Hi Christoph,
brd ends up with the following queue limits:
optimal_io_size: 0
minimum_io_size: 4096
hw_sector_size: 512
physical_block_size: 4096
which I find particularly odd; how can the minimum I/O size be _larger_
than the hw_sector_size? Wouldn't that imply that we can only send I/O
in units of physical block size, rendering the hw_sector_size pretty much
pointless?
The minimum_io_size is always larger or equal to hw sector size.
It really is the minimal efficient I/O size.
So is it a hard limit (as in: we cannot send I/O smaller than that)
or a soft limit (as in: we should not send I/O smaller than that)?
Cheers,
Hannes