Re: Max number of descriptors in a virtio-blk chain
Matias Ezequiel Vara Larsen <[email protected]> Wed, 22 Apr 2026 17:38:56 +0200
| Newsgroups | dev.linux.lists.virtio-comment |
|---|---|
| Message-ID | <aejrkBlN3VtoNFwx@fedora> |
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)