aboutsummaryrefslogtreecommitdiff
path: root/fs/efs
diff options
context:
space:
mode:
authorJens Axboe2024-05-08 08:17:50 -0600
committerJens Axboe2024-05-09 12:22:11 -0600
commitd3da8e98592693811c14c31f05380f378411fea1 (patch)
tree885a341cad3532350cdab6c841a78c8d20425805 /fs/efs
parent7dcc758cca432510f77b2fe1077be2314bc3785b (diff)
io_uring/net: add IORING_ACCEPT_POLL_FIRST flag
Similarly to how polling first is supported for receive, it makes sense to provide the same for accept. An accept operation does a lot of expensive setup, like allocating an fd, a socket/inode, etc. If no connection request is already pending, this is wasted and will just be cleaned up and freed, only to retry via the usual poll trigger. Add IORING_ACCEPT_POLL_FIRST, which tells accept to only initiate the accept request if poll says we have something to accept. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/efs')
0 files changed, 0 insertions, 0 deletions