diff options
| author | Stefano Garzarella <sgarzare@redhat.com> | 2021-10-26 18:23:45 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2021-11-02 13:03:35 +0100 |
| commit | 512da211010700cdbfaab45c8980ca88958a4ab8 (patch) | |
| tree | 8054868338e2b4c4f12e58e010e60a059ba91f1c /qapi/qapi-type-helpers.c | |
| parent | 684960d46267d6e6443b39ee98b3a95632ba8dc6 (diff) | |
| download | focaccia-qemu-512da211010700cdbfaab45c8980ca88958a4ab8.tar.gz focaccia-qemu-512da211010700cdbfaab45c8980ca88958a4ab8.zip | |
linux-aio: add `dev_max_batch` parameter to laio_co_submit()
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. Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Message-Id: <20211026162346.253081-3-sgarzare@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qapi/qapi-type-helpers.c')
0 files changed, 0 insertions, 0 deletions