aboutsummaryrefslogtreecommitdiffstats
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2021-09-14 17:08:37 +0000
committerJens Axboe <[email protected]>2021-09-14 17:09:42 +0000
commit5d329e1286b0a040264e239b80257c937f6e685f (patch)
tree0be1a797a2fe040abdcd2afdee057ea38f39ea08 /lib/netdev-notifier-error-inject.c
parentio_uring: auto-removal for direct open/accept (diff)
downloadkernel-5d329e1286b0a040264e239b80257c937f6e685f.tar.gz
kernel-5d329e1286b0a040264e239b80257c937f6e685f.zip
io_uring: allow retry for O_NONBLOCK if async is supported
A common complaint is that using O_NONBLOCK files with io_uring can be a bit of a pain. Be a bit nicer and allow normal retry IFF the file does support async behavior. This makes it possible to use io_uring more reliably with O_NONBLOCK files, for use cases where it either isn't possible or feasible to modify the file flags. Cc: [email protected] Reported-and-tested-by: Dan Melnic <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions