Skip to content

RFC: few random hacks to improve eventfd fallback path

Maxim Levitsky qemu-devel 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3scsi: virtio-scsi: don't process IO on fenced dataplanehw/scsi/virtio-scsi-dataplane.c+12 -60 replies
2/3virtio-scsi: don't uninitialize queues that we didn't initializehw/scsi/virtio-scsi-dataplane.c+7 -10 replies
3/3event_notifier: handle initialization failure betterinclude/qemu/event_notifier.h util/event_notifier-posix.c+17 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] RFC: few random hacks to improve eventfd fallback path

These few patches are the result of a random hacking I did to make the qemu cope with eventfd allocation failure, when using an iothread, as it happened in bz #1897550.

I am not 100% sure which patches in this series are worth to merge, or if this can be fixed in a better way.

After this patch series applied, qemu still hangs while running reproducer for this BZ due to ABBA lock inversion which needs some heavy rework to get rid of. I explained all the (gory) details in the bugzilla.

This patch series was (lightly) tested with make check, iotests and with the reproducer.

Best regards,
Maxim Levitsky

Maxim Levitsky (3):
scsi: virtio-scsi: don't process IO on fenced dataplane
virtio-scsi: don't uninitialize queues that we didn't initialize
event_notifier: handle initialization failure better

 hw/scsi/virtio-scsi-dataplane.c | 26 +++++++++++++++++++-------
 include/qemu/event_notifier.h   |  1 +
 util/event_notifier-posix.c     | 16 ++++++++++++++++
 3 files changed, 36 insertions(+), 7 deletions(-)
Signature · 1 line
2.26.2