summaryrefslogtreecommitdiff
path: root/src/shared/machine-pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/machine-pool.h')
-rw-r--r--src/shared/machine-pool.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/machine-pool.h b/src/shared/machine-pool.h
index 06c5d40583..fe01d3d47c 100644
--- a/src/shared/machine-pool.h
+++ b/src/shared/machine-pool.h
@@ -23,5 +23,8 @@
#include "sd-bus.h"
+/* Grow the /var/lib/machines directory after each 10MiB written */
+#define GROW_INTERVAL_BYTES (UINT64_C(10) * UINT64_C(1024) * UINT64_C(1024))
+
int setup_machine_directory(uint64_t size, sd_bus_error *error);
int grow_machine_directory(void);