aboutsummaryrefslogtreecommitdiffstats
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2021-09-10 17:19:14 +0000
committerJens Axboe <[email protected]>2021-09-15 15:22:32 +0000
commitcd65869512ab5668a5d16f789bc4da1319c435c4 (patch)
tree42bf48b536fadee33965cbaa76aeea2a8cb953e7 /lib/netdev-notifier-error-inject.c
parentiov_iter: add helper to save iov_iter state (diff)
downloadkernel-cd65869512ab5668a5d16f789bc4da1319c435c4.tar.gz
kernel-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 <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions