summaryrefslogtreecommitdiff
path: root/proxy_await.c
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2022-12-14 16:48:19 -0800
committerdormando <dormando@rydia.net>2023-01-02 15:14:29 -0800
commitd15bbb16d66263c571b3743084c8ea5249bf0718 (patch)
tree776bb70f7116a440f612c205453ba36fa1b1592f /proxy_await.c
parent8b98647d1ad80dee3ddb49dfc51cd7bd07fe9297 (diff)
downloadmemcached-d15bbb16d66263c571b3743084c8ea5249bf0718.tar.gz
proxy: io_uring work and simplify write flush
expands on the io_uring port for the IO thread, moving write calls behind the ring. unfortunately this does not result in any performance uplift. I also tried moving the eventfd related writes (which was backed out later). The code still needs to be updated to generate SQE's outside of the CQE loop (see comments above the uring event loop). It is still generally buggy and not to be used, but keeping it up to date every once in a while will let us use it if it ever does become performant enough... This also makes use of a prior optimization to simplify the write flush code a little. It no longer needs to track how many bytes were intended to write to know if it should continue flushing later.
Diffstat (limited to 'proxy_await.c')
0 files changed, 0 insertions, 0 deletions