Dandandan opened a new pull request, #684:
URL: https://github.com/apache/arrow-rs-object-store/pull/684

   ## Summary
   
   - Adds an `io_uring` feature flag (linux-only, optional) that uses 
`io_uring` to batch all range reads in `get_ranges` into a single syscall
   - Instead of N separate `pread` calls, submits N `IORING_OP_READ` SQEs and 
calls `submit_and_wait` once — the kernel can then optimize I/O scheduling and 
reorder for disk locality
   - Falls back to the existing sequential `read_range` loop when the feature 
is not enabled
   
   ## Test plan
   
   - [x] `cargo check` passes without the feature (macOS/non-linux)
   - [ ] `cargo check --features io_uring` on Linux
   - [ ] `cargo test --features io_uring` on Linux — existing 
`get_range`/`get_ranges` tests exercise the new path
   - [ ] Benchmark with multiple small ranges on a large file to measure 
syscall reduction
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to