qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Status of "block: Mark drain related functions GRAPH_RDLOCK"?
@ 2023-04-18 20:08 Stefan Hajnoczi
  0 siblings, 0 replies; only message in thread
From: Stefan Hajnoczi @ 2023-04-18 20:08 UTC (permalink / raw)
  To: eesposit, kwolf; +Cc: qemu-block, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 650 bytes --]

Hi Emanuele and Kevin,
The following commit is not in qemu.git/master or Kevin's block-next
tree:
https://repo.or.cz/qemu/kevin.git/commitdiff/b4959a8028f417a269168e1570b5e502123e64ed

Do you what the status of that patch is?

Multi-queue block layer code I'm working on depends on this change to
bdrv_co_yield_to_drain():

-    replay_bh_schedule_oneshot_event(ctx, bdrv_co_drain_bh_cb, &data);
+    replay_bh_schedule_oneshot_event(qemu_get_aio_context(),
+                                     bdrv_co_drain_bh_cb, &data);

I want to ensure that .drained_begin/end/poll() callbacks always run in
the main loop thread under the BQL.

Thanks,
Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-18 20:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-18 20:08 Status of "block: Mark drain related functions GRAPH_RDLOCK"? Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).