Re: [PATCH] block/rbd: Do not use BDS's AioContext

2025-02-17 Thread Stefan Hajnoczi
On Wed, Feb 12, 2025 at 03:27:26PM +0100, Hanna Czenczek wrote: > On 12.02.25 14:26, Kevin Wolf wrote: > > Am 12.02.2025 um 10:32 hat Hanna Czenczek geschrieben: > > > RBD schedules the request completion code (qemu_rbd_finish_bh()) to run > > > in the BDS's AioContext. The intent seems to be to r

Re: [PATCH] block/rbd: Do not use BDS's AioContext

2025-02-12 Thread Hanna Czenczek
On 12.02.25 14:26, Kevin Wolf wrote: Am 12.02.2025 um 10:32 hat Hanna Czenczek geschrieben: RBD schedules the request completion code (qemu_rbd_finish_bh()) to run in the BDS's AioContext. The intent seems to be to run it in the same context that the original request coroutine ran in, i.e. the

Re: [PATCH] block/rbd: Do not use BDS's AioContext

2025-02-12 Thread Kevin Wolf
Am 12.02.2025 um 10:32 hat Hanna Czenczek geschrieben: > RBD schedules the request completion code (qemu_rbd_finish_bh()) to run > in the BDS's AioContext. The intent seems to be to run it in the same > context that the original request coroutine ran in, i.e. the thread on > whose stack the RBDTas

[PATCH] block/rbd: Do not use BDS's AioContext

2025-02-12 Thread Hanna Czenczek
RBD schedules the request completion code (qemu_rbd_finish_bh()) to run in the BDS's AioContext. The intent seems to be to run it in the same context that the original request coroutine ran in, i.e. the thread on whose stack the RBDTask object exists (see qemu_rbd_start_co()). However, with multi