From 89bf7ab1cfea2c24d08b9de697215ac7f61a0362 Mon Sep 17 00:00:00 2001 From: dormando Date: Mon, 16 Jul 2018 21:58:43 -0700 Subject: 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 --- storage.h | 1 + 1 file changed, 1 insertion(+) (limited to 'storage.h') 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) -- cgit v1.2.1