diff options
author | dormando <dormando@rydia.net> | 2021-08-02 16:25:43 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2021-08-09 17:09:08 -0700 |
commit | 3fc8775bf081f0cf84fe16058f834b951953c269 (patch) | |
tree | 46e0eb2a0f2e9163bd75e49b0d7418e413a4ce17 /storage.h | |
parent | 57493bfca4d16f19aa6d591d29f19f3d2ad160f8 (diff) | |
download | memcached-3fc8775bf081f0cf84fe16058f834b951953c269.tar.gz |
core: io_queue flow second attempt
probably squash into previous commit.
io->c->thead can change for orpahned IO's, so we had to directly add the
original worker thread as a reference.
also tried again to split callbacks onto the thread and off of the
connection for similar reasons; sometimes we just need the callbacks,
sometimes we need both.
Diffstat (limited to 'storage.h')
-rw-r--r-- | storage.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ int storage_get_item(conn *c, item *it, mc_resp *resp); // callbacks for the IO queue subsystem. void storage_submit_cb(io_queue_t *q); void storage_complete_cb(io_queue_t *q); -int storage_finalize_cb(io_pending_t *pending); +void storage_finalize_cb(io_pending_t *pending); // Thread functions. int start_storage_write_thread(void *arg); |