block: introduce aio task pool
commit6e9b225f737d53afae8160d73da72ee8f38eb1a6
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Mon, 16 Sep 2019 17:53:21 +0000 (16 20:53 +0300)
committerMax Reitz <mreitz@redhat.com>
Thu, 10 Oct 2019 08:56:17 +0000 (10 10:56 +0200)
tree58db9049da40b0b8c74421607f4366175e300257
parentee1e66d9570a763a07662883093bb297ba22c5ee
block: introduce aio task pool

Common interface for aio task loops. To be used for improving
performance of synchronous io loops in qcow2, block-stream,
copy-on-read, and may be other places.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190916175324.18478-3-vsementsov@virtuozzo.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/Makefile.objs
block/aio_task.c [new file with mode: 0644]
include/block/aio_task.h [new file with mode: 0644]