diff options
| author | Jens Axboe <[email protected]> | 2020-05-22 09:24:42 -0600 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-06-21 20:44:26 -0600 |
| commit | bcf5a06304d69a3bb194a494d87b532d5e90b01c (patch) | |
| tree | 01ec098ddd54b17afd91acabe165836994276840 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | d1932dc3dc268f8dd5201c64971324d06ba977cc (diff) | |
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 <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions