feat: io_uring-based batch reads for LocalFileSystem#684
Closed
Dandandan wants to merge 1 commit intoapache:mainfrom
Closed
feat: io_uring-based batch reads for LocalFileSystem#684Dandandan wants to merge 1 commit intoapache:mainfrom
Dandandan wants to merge 1 commit intoapache:mainfrom
Conversation
Use io_uring to submit all range reads as a single batch syscall instead of N separate pread calls, allowing the kernel to optimize I/O scheduling. Gated behind the `io_uring` feature flag (linux-only). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Dandandan
added a commit
to Dandandan/arrow-datafusion
that referenced
this pull request
Apr 6, 2026
Use Dandandan/arrow-rs-object-store#io-uring-get-ranges via [patch.crates-io] to test io_uring-based batch reads for LocalFileSystem (apache/arrow-rs-object-store#684). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2 tasks
Dandandan
added a commit
to Dandandan/arrow-datafusion
that referenced
this pull request
Apr 6, 2026
Use Dandandan/arrow-rs-object-store#io-uring-get-ranges via [patch.crates-io] to test io_uring-based batch reads for LocalFileSystem (apache/arrow-rs-object-store#684). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
io_uringfeature flag (linux-only, optional) that usesio_uringto batch all range reads inget_rangesinto a single syscallpreadcalls, submits NIORING_OP_READSQEs and callssubmit_and_waitonce — the kernel can then optimize I/O scheduling and reorder for disk localityread_rangeloop when the feature is not enabledTest plan
cargo checkpasses without the feature (macOS/non-linux)cargo check --features io_uringon Linuxcargo test --features io_uringon Linux — existingget_range/get_rangestests exercise the new path🤖 Generated with Claude Code