All of lore.kernel.org
 help / color / mirror / Atom feed
* Oddities in brd queue limits
@ 2024-04-02 13:17 Hannes Reinecke
  2024-04-02 13:18 ` Christoph Hellwig
  0 siblings, 1 reply; 4+ messages in thread
From: Hannes Reinecke @ 2024-04-02 13:17 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: linux-block@vger.kernel.org

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?

Or what is the idea here?

Btw, I would have expected brd to set 'optimal_io_size' to 4k, and
minimum_io_size to 512 bytes. Which would've been an alternative fix.

Cheers,

Hannes

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-02 13:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-02 13:17 Oddities in brd queue limits Hannes Reinecke
2024-04-02 13:18 ` Christoph Hellwig
2024-04-02 13:21   ` Hannes Reinecke
2024-04-02 13:41     ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.