Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | block/aio_task: assert `max_busy_tasks` is greater than 0 | Stefano Garzarella | 2021-10-05 | 1 | -0/+2 |
| | | | | | | | | | | | | | All code in block/aio_task.c expects `max_busy_tasks` to always be greater than 0. Assert this condition during the AioTaskPool creation where `max_busy_tasks` is set. Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20211005161157.282396-3-sgarzare@redhat.com> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | ||||
* | block: introduce aio task pool | Vladimir Sementsov-Ogievskiy | 2019-10-10 | 1 | -0/+124 |
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> |