summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2025-01-07 20:59:35 +0300
committerJens Axboe <axboe@kernel.dk>2025-01-10 17:51:43 +0300
commitd803d123948feffbd992213e144df224097f82b0 (patch)
tree4a5a45c396af5a6928e7772cb7bf7134822b396a /tools/perf/scripts/python/export-to-postgresql.py
parent9ac273ae3dc296905b4d61e4c8e7a25592f6d183 (diff)
downloadlinux-d803d123948feffbd992213e144df224097f82b0.tar.xz
io_uring/rw: handle -EAGAIN retry at IO completion time
Rather than try and have io_read/io_write turn REQ_F_REISSUE into -EAGAIN, catch the REQ_F_REISSUE when the request is otherwise considered as done. This is saner as we know this isn't happening during an actual submission, and it removes the need to randomly check REQ_F_REISSUE after read/write submission. If REQ_F_REISSUE is set, __io_submit_flush_completions() will skip over this request in terms of posting a CQE, and the regular request cleaning will ensure that it gets reissued via io-wq. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions