Skip to content
Draft
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
2620f14
rt: add infrastructure code for io_uring
mox692 May 8, 2025
437e414
fs: add io_uring `open` operation
mox692 May 8, 2025
05239cc
make ci work
mox692 May 8, 2025
d0dc6b2
add benchmark
mox692 May 11, 2025
2edfec8
Resolve conflict with changes introduced in #7320
mox692 May 22, 2025
c491ccb
rt: add check for uring availability at runtime
mox692 May 21, 2025
ea9d152
Remove LazyUring
mox692 May 22, 2025
2d143a1
Merge branch 'mox692/uring_dynamic_check' into mox692/iouring_add_open
mox692 May 22, 2025
d659626
fallback when io_uring is not available
mox692 May 23, 2025
15542a7
rt: add check for io_uring availability at runtime
mox692 May 21, 2025
c037b3d
Merge branch 'mox692/uring_dynamic_check' into mox692/iouring_add_open
mox692 May 24, 2025
8da05c3
rt: add check for io_uring availability at runtime
mox692 May 21, 2025
df5e117
Merge branch 'mox692/uring_dynamic_check' into mox692/iouring_add_open
mox692 May 24, 2025
d3567c9
Merge remote-tracking branch 'upstream/master' into mox692/iouring_ad…
mox692 Jun 12, 2025
c80c3ca
revert temporary ci change
mox692 Jun 13, 2025
7483401
handle cancel for open
mox692 Jun 13, 2025
26485c8
updates
mox692 Jun 14, 2025
2ec8482
apply reivew: add verification step in CI to check if uring is supported
mox692 Jun 19, 2025
32638f0
apply review: remove unreachable code path
mox692 Jun 20, 2025
e981341
apply review: mention that io_uring is experimental
mox692 Jun 23, 2025
05e79bf
Merge remote-tracking branch 'origin/master' into mox692/iouring_add_…
mox692 Jun 25, 2025
fdba9e2
Update tokio/tests/fs_uring.rs
mox692 Jun 25, 2025
a31cffd
apply review: use task tracker
mox692 Jun 26, 2025
dff8711
apply review: update test to use shutdown_timeout
mox692 Jun 30, 2025
7237f56
runtime: fix handling of cancelled Ops
mox692 Jul 1, 2025
de2da05
enable ci in sub-feature branch temporary
mox692 Jul 1, 2025
7af790a
Revert "enable ci in sub-feature branch temporary"
mox692 Jul 1, 2025
739d533
update base
mox692 Jul 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tokio/src/runtime/io/driver/uring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,10 @@ impl Handle {
match mem::replace(lifecycle, Lifecycle::Cancelled(cancel_data)) {
Lifecycle::Submitted | Lifecycle::Waiting(_) => (),
// The driver saw the completion, but it was never polled.
Lifecycle::Completed(_) => (),
Lifecycle::Completed(_) => {
// We can safely remove the entry from the slab, as it has already been completed.
ops.remove(index);
}
prev => panic!("Unexpected state: {:?}", prev),
};
}
Expand Down
Loading