diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-09-14 11:08:37 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-09-14 11:09:42 -0600 |
commit | 5d329e1286b0a040264e239b80257c937f6e685f (patch) | |
tree | 0be1a797a2fe040abdcd2afdee057ea38f39ea08 /fs/smbfs_common | |
parent | 9c7b0ba887513b6681e7883d306df0a0fd580afa (diff) | |
download | linux-5d329e1286b0a040264e239b80257c937f6e685f.tar.bz2 |
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: stable@vger.kernel.org
Reported-and-tested-by: Dan Melnic <dmm@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/smbfs_common')
0 files changed, 0 insertions, 0 deletions