Stefan Hajnoczi a89c3c9b2c dma: use current AioContext for dma_blk_io()
In the past a single AioContext was used for block I/O and it was
fetched using blk_get_aio_context(). Nowadays the block layer supports
running I/O from any AioContext and multiple AioContexts at the same
time. Remove the dma_blk_io() AioContext argument and use the current
AioContext instead.

This makes calling the function easier and enables multiple IOThreads to
use dma_blk_io() concurrently for the same block device.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20250311132616.1049687-3-stefanha@redhat.com>
Tested-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2025-03-13 17:57:23 +01:00
..
2024-12-14 00:16:20 +01:00
2024-12-20 17:44:56 +01:00
2024-12-20 17:44:56 +01:00
2024-12-21 11:07:00 -05:00
2024-12-20 17:44:56 +01:00
2024-12-20 17:44:56 +01:00
2024-12-21 11:07:00 -05:00
2024-12-21 11:07:00 -05:00
2024-12-21 11:07:00 -05:00
2024-12-20 17:44:56 +01:00
2024-12-20 17:44:56 +01:00