All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Hannes Reinecke <hare@suse.de>
Cc: Christoph Hellwig <hch@lst.de>,
	"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>
Subject: Re: Oddities in brd queue limits
Date: Tue, 2 Apr 2024 15:18:22 +0200	[thread overview]
Message-ID: <20240402131822.GA32081@lst.de> (raw)
In-Reply-To: <0cba8c5d-f014-4e48-9a6f-7724cf939c5c@suse.de>

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.


  reply	other threads:[~2024-04-02 13:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-02 13:17 Oddities in brd queue limits Hannes Reinecke
2024-04-02 13:18 ` Christoph Hellwig [this message]
2024-04-02 13:21   ` Hannes Reinecke
2024-04-02 13:41     ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240402131822.GA32081@lst.de \
    --to=hch@lst.de \
    --cc=hare@suse.de \
    --cc=linux-block@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.