aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-05-22 09:24:42 -0600
committerJens Axboe <axboe@kernel.dk>2020-06-21 20:44:26 -0600
commitbcf5a06304d69a3bb194a494d87b532d5e90b01c (patch)
tree01ec098ddd54b17afd91acabe165836994276840 /tools/perf/scripts/python
parentmm: add kiocb_wait_page_queue_init() helper (diff)
downloadlinux-bcf5a06304d69a3bb194a494d87b532d5e90b01c.tar.gz
linux-bcf5a06304d69a3bb194a494d87b532d5e90b01c.zip
io_uring: support true async buffered reads, if file provides it
If the file is flagged with FMODE_BUF_RASYNC, then we don't have to punt the buffered read to an io-wq worker. Instead we can rely on page unlocking callbacks to support retry based async IO. This is a lot more efficient than doing async thread offload. The retry is done similarly to how we handle poll based retry. From the unlock callback, we simply queue the retry to a task_work based handler. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions