summaryrefslogtreecommitdiff
path: root/storage.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2020-08-29 17:12:56 -0700
committerdormando <dormando@rydia.net>2020-10-30 15:50:12 -0700
commitdf49d38930a32d342e1a3ab980c1ec432d138c2c (patch)
tree496e44dc652e37c0f012f93e4730318a22dabfa6 /storage.h
parent4c0d45a95c9ba8fb8ea0630b96f4e006ef1698a1 (diff)
downloadmemcached-df49d38930a32d342e1a3ab980c1ec432d138c2c.tar.gz
core: generalize extstore's defered IO queue
want to reuse the deferred IO system for extstore for something else. Should allow evolving into a more plugin-centric system. step one of three(?) - replace in place and tests pass with extstore enabled. step two should move more extstore code into storage.c step three should build the IO queue code without ifdef gating.
Diffstat (limited to 'storage.h')
-rw-r--r--storage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage.h b/storage.h
index 60f499b..7bcaf62 100644
--- a/storage.h
+++ b/storage.h
@@ -1,6 +1,8 @@
#ifndef STORAGE_H
#define STORAGE_H
+void storage_submit_cb(void *ctx, io_pending_t *pending);
+void storage_free_cb(void *ctx, io_pending_t *pending);
int start_storage_write_thread(void *arg);
void storage_write_pause(void);
void storage_write_resume(void);