homed: add automatic grow/shrink ("rebalancing")

This commit is contained in:
Lennart Poettering
2021-11-25 18:28:44 +01:00
parent 21505c937c
commit d357b80d33
11 changed files with 668 additions and 14 deletions
+1
View File
@@ -223,6 +223,7 @@ typedef enum AutoResizeMode {
#define REBALANCE_WEIGHT_OFF UINT64_C(0)
#define REBALANCE_WEIGHT_DEFAULT UINT64_C(100)
#define REBALANCE_WEIGHT_BACKING UINT64_C(20)
#define REBALANCE_WEIGHT_MIN UINT64_C(1)
#define REBALANCE_WEIGHT_MAX UINT64_C(10000)
#define REBALANCE_WEIGHT_UNSET UINT64_MAX