qemu/scsi
Emanuele Giuseppe Esposito aef04fc790 thread-pool: avoid passing the pool parameter every time
thread_pool_submit_aio() is always called on a pool taken from
qemu_get_current_aio_context(), and that is the only intended
use: each pool runs only in the same thread that is submitting
work to it, it can't run anywhere else.

Therefore simplify the thread_pool_submit* API and remove the
ThreadPool function parameter.

Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Message-Id: <20230203131731.851116-5-eesposit@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2023-04-25 13:17:28 +02:00
..
meson.build meson: convert block 2020-08-21 06:30:18 -04:00
pr-helper.h Normalize header guard symbol definition. 2019-05-13 08:58:55 +02:00
pr-manager-helper.c QIOChannel: Add flags on io_writev and introduce io_flush callback 2022-05-16 13:56:24 +01:00
pr-manager-stub.c pr-manager: add query-pr-managers QMP command 2018-06-28 19:05:35 +02:00
pr-manager.c thread-pool: avoid passing the pool parameter every time 2023-04-25 13:17:28 +02:00
qemu-pr-helper.c thread-pool: avoid passing the pool parameter every time 2023-04-25 13:17:28 +02:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
utils.c scsi: fix sense code for EREMOTEIO 2021-03-16 14:30:30 -04:00