• S
    PosixRandomAccessFile::MultiRead() to use I/O uring if supported (#5881) · e3a82bb9
    sdong 提交于
    Summary:
    Right now, PosixRandomAccessFile::MultiRead() executes read requests in parallel. In this PR, it leverages I/O Uring library to run it in parallel, even when page cache is enabled. This function will fall back if the kernel version doesn't support it.
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/5881
    
    Test Plan: Run the unit test on a kernel version supporting it and make sure all tests pass, and run a unit test on kernel version supporting it and see it pass. Before merging, will also run stress test and see it passes.
    
    Differential Revision: D17742266
    
    fbshipit-source-id: e05699c925ac04fdb42379456a4e23e4ebcb803a
    e3a82bb9
io_posix.cc 35.9 KB