diff options
author | Jens Axboe <[email protected]> | 2023-05-09 09:19:08 -0600 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-05-15 10:12:27 -0600 |
commit | fe34db062b8036f72e97c2b9eaa7e9fbb725ead2 (patch) | |
tree | 80718e09303c30f8f2617f941e7ca43b7baa5839 /lib/mpi/mpi-sub-ui.c | |
parent | f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6 (diff) |
net: set FMODE_NOWAIT for sockets
The socket read/write functions deal with O_NONBLOCK and IOCB_NOWAIT
just fine, so we can flag them as being FMODE_NOWAIT compliant. With
this, we can remove socket special casing in io_uring when checking
if a file type is sane for nonblocking IO, and it's also the defined
way to flag file types as such in the kernel.
Cc: "David S. Miller" <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: [email protected]
Reviewed-by: Paolo Abeni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions