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 <kw...@redhat.com> > Reviewed-by: Kevin Wolf <kw...@redhat.com> > Signed-off-by: Stefano Garzarella <sgarz...@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 <stefa...@redhat.com>
signature.asc
Description: PGP signature