[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/3] file-posix: add `aio-max-batch` option
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v2 1/3] file-posix: add `aio-max-batch` option |
Date: |
Wed, 27 Oct 2021 10:07:13 +0100 |
On Tue, Oct 26, 2021 at 06:23:44PM +0200, Stefano Garzarella 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.
>
> For this reason we add the `aio-max-batch` option to the file
> backend, which will be used by the next commits to limit the size of
> batches including requests generated by this device.
>
> Suggested-by: Kevin Wolf <kwolf@redhat.com>
> Reviewed-by: Kevin Wolf <kwolf@redhat.com>
> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
> ---
>
> Notes:
> v2:
> - @aio-max-batch documentation rewrite [Stefan, Kevin]
>
> qapi/block-core.json | 7 +++++++
> block/file-posix.c | 9 +++++++++
> 2 files changed, 16 insertions(+)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature
[PATCH v2 3/3] linux-aio: add `dev_max_batch` parameter to laio_io_unplug(), Stefano Garzarella, 2021/10/26
[PATCH v2 2/3] linux-aio: add `dev_max_batch` parameter to laio_co_submit(), Stefano Garzarella, 2021/10/26