This is an automated email from the ASF dual-hosted git repository.
hgruszecki pushed a commit to branch io_uring_tpc
in repository https://gitbox.apache.org/repos/asf/iggy.git
The following commit(s) were added to refs/heads/io_uring_tpc by this push:
new 3e371b6d feat(io_uring): fix busy poll (#2002)
3e371b6d is described below
commit 3e371b6d5d03d75f74753058abf095c63bcd8ae6
Author: Grzegorz Koszyk <[email protected]>
AuthorDate: Sat Jul 12 22:34:05 2025 +0200
feat(io_uring): fix busy poll (#2002)
---
core/server/src/bootstrap.rs | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/core/server/src/bootstrap.rs b/core/server/src/bootstrap.rs
index e5d8e392..44d67c57 100644
--- a/core/server/src/bootstrap.rs
+++ b/core/server/src/bootstrap.rs
@@ -133,9 +133,8 @@ pub fn create_shard_executor(cpu_set: HashSet<usize>) ->
Runtime {
proactor
.capacity(4096)
- .sqpoll_idle(Duration::from_micros(100));
- //.coop_taskrun(true)
- //.taskrun_flag(false); // TODO: Try enabling this.
+ .coop_taskrun(true)
+ .taskrun_flag(false); // TODO: Try enabling this.
// FIXME(hubcio): Only set thread_pool_limit(0) on non-macOS platforms
// This causes a freeze on macOS with compio fs operations