All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matias Ezequiel Vara Larsen <mvaralar@redhat.com>
To: Demi Marie Obenour <demiobenour@gmail.com>
Cc: virtio-comment <virtio-comment@lists.linux.dev>
Subject: Re: Max number of descriptors in a virtio-blk chain
Date: Wed, 22 Apr 2026 17:38:56 +0200	[thread overview]
Message-ID: <aejrkBlN3VtoNFwx@fedora> (raw)
In-Reply-To: <8a7f186f-f240-4f58-a857-5900a2c0c217@gmail.com>

Hello,

On Wed, Apr 22, 2026 at 04:02:06AM -0400, Demi Marie Obenour wrote:
> Is there a limit to the number of descriptors that a virtio-blk driver
> can use in a request?  In at least Cloud Hypervisor's implementation,

I think this is limited to the number of descriptors that you expose to
the device in the descriptor ring. In addition, I think the index is 16
bits long.

Matias

> and I suspect others, the device must allocate an array of iovecs as
> long as the number of descriptors.
> -- 
> Sincerely,
> Demi Marie Obenour (she/her/hers)






  reply	other threads:[~2026-04-22 15:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-22  8:02 Max number of descriptors in a virtio-blk chain Demi Marie Obenour
2026-04-22 15:38 ` Matias Ezequiel Vara Larsen [this message]
2026-04-22 18:11   ` Stefan Hajnoczi

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=aejrkBlN3VtoNFwx@fedora \
    --to=mvaralar@redhat.com \
    --cc=demiobenour@gmail.com \
    --cc=virtio-comment@lists.linux.dev \
    /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.