summaryrefslogtreecommitdiff
path: root/storage.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2018-07-16 21:58:43 -0700
committerdormando <dormando@rydia.net>2018-08-06 15:11:04 -0700
commit89bf7ab1cfea2c24d08b9de697215ac7f61a0362 (patch)
tree25bdbe36326abb864f02caec690c4f4893d65326 /storage.h
parent954f4e044b3f1641da66910e4564cd91dfb83712 (diff)
downloadmemcached-89bf7ab1cfea2c24d08b9de697215ac7f61a0362.tar.gz
extstore JBOD support
Just a Bunch Of Devices :P code exists for routing specific devices to specific buckets (lowttl/compact/etc), but enabling it requires significant fixes to compaction algorithm. Thus it is disabled as of this writing. code cleanups and future work: - pedantically freeing memory and closing fd's on exit - unify and flatten the free_bucket code - defines for free buckets - page eviction adjustment (force min-free per free bucket) - fix default calculation for compact_under and drop_under - might require forcing this value only on default bucket
Diffstat (limited to 'storage.h')
-rw-r--r--storage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage.h b/storage.h
index 875962c..60f499b 100644
--- a/storage.h
+++ b/storage.h
@@ -7,6 +7,7 @@ void storage_write_resume(void);
int start_storage_compact_thread(void *arg);
void storage_compact_pause(void);
void storage_compact_resume(void);
+struct extstore_conf_file *storage_conf_parse(char *arg, unsigned int page_size);
// Ignore pointers and header bits from the CRC
#define STORE_OFFSET offsetof(item, nbytes)