summaryrefslogtreecommitdiff
path: root/storage.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2021-08-02 16:25:43 -0700
committerdormando <dormando@rydia.net>2021-08-09 17:09:08 -0700
commit3fc8775bf081f0cf84fe16058f834b951953c269 (patch)
tree46e0eb2a0f2e9163bd75e49b0d7418e413a4ce17 /storage.h
parent57493bfca4d16f19aa6d591d29f19f3d2ad160f8 (diff)
downloadmemcached-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage.h b/storage.h
index 9257c3f..55c5e1f 100644
--- a/storage.h
+++ b/storage.h
@@ -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);