aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <maciej.szmigiero@oracle.com>2025-03-04 23:03:29 +0100
committerCédric Le Goater <clg@redhat.com>2025-03-06 06:47:33 +0100
commit03c6468a136b3d79e7c6bb269ac7924fa8fef634 (patch)
tree760719a72438ef7f401933f473426d9b4a715efe /include
parentd3237d0d85e9fba79b37c776b0ddda611c338f7d (diff)
downloadqemu-03c6468a136b3d79e7c6bb269ac7924fa8fef634.zip
qemu-03c6468a136b3d79e7c6bb269ac7924fa8fef634.tar.gz
qemu-03c6468a136b3d79e7c6bb269ac7924fa8fef634.tar.bz2
thread-pool: Remove thread_pool_submit() function
This function name conflicts with one used by a future generic thread pool function and it was only used by one test anyway. Update the trace event name in thread_pool_submit_aio() accordingly. Acked-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com> Link: https://lore.kernel.org/qemu-devel/6830f07777f939edaf0a2d301c39adcaaf3817f0.1741124640.git.maciej.szmigiero@oracle.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/block/thread-pool.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/block/thread-pool.h b/include/block/thread-pool.h
index 948ff5f..4f66940 100644
--- a/include/block/thread-pool.h
+++ b/include/block/thread-pool.h
@@ -30,13 +30,12 @@ ThreadPool *thread_pool_new(struct AioContext *ctx);
void thread_pool_free(ThreadPool *pool);
/*
- * thread_pool_submit* API: submit I/O requests in the thread's
+ * thread_pool_submit_{aio,co} API: submit I/O requests in the thread's
* current AioContext.
*/
BlockAIOCB *thread_pool_submit_aio(ThreadPoolFunc *func, void *arg,
BlockCompletionFunc *cb, void *opaque);
int coroutine_fn thread_pool_submit_co(ThreadPoolFunc *func, void *arg);
-void thread_pool_submit(ThreadPoolFunc *func, void *arg);
void thread_pool_update_params(ThreadPool *pool, struct AioContext *ctx);