[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/3] linux-aio: add `dev_max_batch` parameter to laio_co_subm
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH 2/3] linux-aio: add `dev_max_batch` parameter to laio_co_submit() |
Date: |
Thu, 21 Oct 2021 16:19:48 +0100 |
On Thu, Sep 23, 2021 at 04:30:59PM +0200, Stefano Garzarella wrote:
> This new parameter can be used by block devices to limit the
> Linux AIO batch size more than the limit set by the AIO context.
>
> file-posix backend supports this, passing its `aio-max-batch` option
> previously added.
>
> Add an helper function to calculate the maximum batch size.
>
> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
> ---
> include/block/raw-aio.h | 3 ++-
> block/file-posix.c | 3 ++-
> block/linux-aio.c | 30 ++++++++++++++++++++++--------
> 3 files changed, 26 insertions(+), 10 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 2/3] linux-aio: add `dev_max_batch` parameter to laio_co_submit(),
Stefan Hajnoczi <=