diff options
author | dormando <dormando@rydia.net> | 2018-07-16 21:58:43 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2018-08-06 15:11:04 -0700 |
commit | 89bf7ab1cfea2c24d08b9de697215ac7f61a0362 (patch) | |
tree | 25bdbe36326abb864f02caec690c4f4893d65326 /storage.h | |
parent | 954f4e044b3f1641da66910e4564cd91dfb83712 (diff) | |
download | memcached-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |