diff options
author | dormando <dormando@rydia.net> | 2020-08-29 17:12:56 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2020-10-30 15:50:12 -0700 |
commit | df49d38930a32d342e1a3ab980c1ec432d138c2c (patch) | |
tree | 496e44dc652e37c0f012f93e4730318a22dabfa6 /storage.h | |
parent | 4c0d45a95c9ba8fb8ea0630b96f4e006ef1698a1 (diff) | |
download | memcached-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |