diff options
author | 2021-09-10 11:19:14 -0600 | |
---|---|---|
committer | 2021-09-15 09:22:32 -0600 | |
commit | cd65869512ab5668a5d16f789bc4da1319c435c4 (patch) | |
tree | 42bf48b536fadee33965cbaa76aeea2a8cb953e7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iov_iter: add helper to save iov_iter state (diff) | |
download | linux-dev-cd65869512ab5668a5d16f789bc4da1319c435c4.tar.xz linux-dev-cd65869512ab5668a5d16f789bc4da1319c435c4.zip |
io_uring: use iov_iter state save/restore helpers
Get rid of the need to do re-expand and revert on an iterator when we
encounter a short IO, or failure that warrants a retry. Use the new
state save/restore helpers instead.
We keep the iov_iter_state persistent across retries, if we need to
restart the read or write operation. If there's a pending retry, the
operation will always exit with the state correctly saved.
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