From: Stefano Garzarella <sgarzare@redhat.com>
To: qemu devel list <qemu-devel@nongnu.org>
Cc: Kevin Wolf <kwolf@redhat.com>, Qemu-block <qemu-block@nongnu.org>,
Markus Armbruster <armbru@redhat.com>,
Hanna Reitz <hreitz@redhat.com>,
Stefan Hajnoczi <stefanha@redhat.com>,
Eric Blake <eblake@redhat.com>
Subject: Re: [PATCH 0/3] linux-aio: allow block devices to limit aio-max-batch
Date: Thu, 14 Oct 2021 11:32:08 +0200 [thread overview]
Message-ID: <CAGxU2F7EtMg7w6eDmJV+FGUSjr4uTC6=ROnERms_Frz7PSu9SA@mail.gmail.com> (raw)
In-Reply-To: <20210923143100.182979-1-sgarzare@redhat.com>
Kind ping :-)
Thanks,
Stefano
On Thu, Sep 23, 2021 at 4:31 PM Stefano Garzarella <sgarzare@redhat.com> wrote:
>
> Commit d7ddd0a161 ("linux-aio: limit the batch size using
> `aio-max-batch` parameter") added a way to limit the batch size
> of Linux AIO backend for the entire AIO context.
>
> The same AIO context can be shared by multiple devices, so
> latency-sensitive devices may want to limit the batch size even
> more to avoid increasing latency.
>
> This series add the `aio-max-batch` option to the file backend,
> and use it in laio_co_submit() and laio_io_unplug() to limit the
> Linux AIO batch size more than the limit set by the AIO context.
>
> Stefano Garzarella (3):
> file-posix: add `aio-max-batch` option
> linux-aio: add `dev_max_batch` parameter to laio_co_submit()
> linux-aio: add `dev_max_batch` parameter to laio_io_unplug()
>
> qapi/block-core.json | 5 +++++
> include/block/raw-aio.h | 6 ++++--
> block/file-posix.c | 14 ++++++++++++--
> block/linux-aio.c | 38 +++++++++++++++++++++++++++-----------
> 4 files changed, 48 insertions(+), 15 deletions(-)
>
> --
> 2.31.1
>
>
next prev parent reply other threads:[~2021-10-14 9:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-23 14:30 [PATCH 0/3] linux-aio: allow block devices to limit aio-max-batch Stefano Garzarella
2021-09-23 14:30 ` [PATCH 1/3] file-posix: add `aio-max-batch` option Stefano Garzarella
2021-10-21 15:18 ` Stefan Hajnoczi
2021-10-25 10:20 ` Stefano Garzarella
2021-10-25 14:04 ` Kevin Wolf
2021-10-25 14:40 ` Stefano Garzarella
2021-09-23 14:30 ` [PATCH 2/3] linux-aio: add `dev_max_batch` parameter to laio_co_submit() Stefano Garzarella
2021-10-21 15:19 ` Stefan Hajnoczi
2021-09-23 14:31 ` [PATCH 3/3] linux-aio: add `dev_max_batch` parameter to laio_io_unplug() Stefano Garzarella
2021-10-21 15:20 ` Stefan Hajnoczi
2021-10-14 9:32 ` Stefano Garzarella [this message]
2021-10-21 15:21 ` [PATCH 0/3] linux-aio: allow block devices to limit aio-max-batch Stefan Hajnoczi
2021-10-25 14:16 ` Kevin Wolf
2021-10-25 14:42 ` Stefano Garzarella
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='CAGxU2F7EtMg7w6eDmJV+FGUSjr4uTC6=ROnERms_Frz7PSu9SA@mail.gmail.com' \
--to=sgarzare@redhat.com \
--cc=armbru@redhat.com \
--cc=eblake@redhat.com \
--cc=hreitz@redhat.com \
--cc=kwolf@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).