summaryrefslogtreecommitdiff
path: root/storage.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2017-10-16 16:08:37 -0700
committerdormando <dormando@rydia.net>2017-11-28 14:18:05 -0800
commit76d0a13a1e49caf5bbaea4e6165a3568090b5366 (patch)
treedac031d46c0792994c856e893d86b3bc500a293e /storage.h
parent2c4528697f404cdbfc9bfe319d7e2ed22c291a31 (diff)
downloadmemcached-76d0a13a1e49caf5bbaea4e6165a3568090b5366.tar.gz
extstore: pause compaction thread with hash expand
could potentially cause weirdness when the hash table is swapped.
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 3bfeacc..7af6cc0 100644
--- a/storage.h
+++ b/storage.h
@@ -3,5 +3,7 @@
int lru_maintainer_store(void *storage, const int clsid);
int start_storage_compact_thread(void *arg);
+void storage_compact_pause(void);
+void storage_compact_resume(void);
#endif