Resending patch with decreasing coroutine pool size on device remove We encountered random disk IO performance drop since qemu-5.0.0, and this patch fixes it.
Commit message in c740ad92 implied to adjust coroutine pool size adaptively, so I tried to implement this. Changes from v2: Decrease coroutine pool size on device remove Changes from v1: Use qatomic_read properly Hiroki Narukawa (1): util: adjust coroutine pool size to virtio block queue hw/block/virtio-blk.c | 5 +++++ include/qemu/coroutine.h | 10 ++++++++++ util/qemu-coroutine.c | 20 ++++++++++++++++---- 3 files changed, 31 insertions(+), 4 deletions(-) -- 2.17.1