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 <[email protected]>
> Reviewed-by: Kevin Wolf <[email protected]>
> Signed-off-by: Stefano Garzarella <[email protected]>
> ---
>
> 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 <[email protected]>
signature.asc
Description: PGP signature
