Re: [PATCH 1/4] block/file-posix: set up Linux AIO and io_uring in the current thread

2023-09-14 Thread Eric Blake
On Thu, Sep 14, 2023 at 10:00:58AM -0400, Stefan Hajnoczi wrote: > The file-posix block driver currently only sets up Linux AIO and > io_uring in the BDS's AioContext. In the multi-queue block layer we must > be able to submit I/O requests in AioContexts that do not have Linux AIO > and io_uring

[PATCH 1/4] block/file-posix: set up Linux AIO and io_uring in the current thread

2023-09-14 Thread Stefan Hajnoczi
The file-posix block driver currently only sets up Linux AIO and io_uring in the BDS's AioContext. In the multi-queue block layer we must be able to submit I/O requests in AioContexts that do not have Linux AIO and io_uring set up yet since any thread can call into the block driver. Set up Linux