Skip to content

Remove SIGUSR2 from posix-aio

Frediano Ziglio qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2block: avoid storing a constant in qemu_paiocb structureposix-aio-compat.c+1 -40 replies
2/2block: avoid SIGUSR2cpus.c posix-aio-compat.c+4 -152 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2][RFC?] Remove SIGUSR2 from posix-aio

Now that iothread is always compiled sending a signal seems only an additional step. This patch also avoid writing to two pipe (one from signal and one in qemu_service_io).

Tested and works correctly with KVM enabled. Performances are only sligthly better (as I expected). strace output is more readable.

Doubts:
- any sense having two patches and not only last one?
- comment is perhaps wrong as is also affect main core
- is ok if KVM is disabled? more testing required

Frediano Ziglio (2):
block: avoid storing a constant in qemu_paiocb structure
block: avoid SIGUSR2

 cpus.c             |    5 -----
 posix-aio-compat.c |   17 ++++-------------
 2 files changed, 4 insertions(+), 18 deletions(-)