From fde366c9325d324e49cd5364a2957bad4cb8a021 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Thu, 25 Jan 2024 23:28:03 -0600 Subject: [PATCH] branches2.hpp --- config.toml | 12 ++++-------- src/branches2.hpp | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/config.toml b/config.toml index 1b9706b0..a7760c77 100644 --- a/config.toml +++ b/config.toml @@ -117,20 +117,16 @@ func.open.policy = 'ff' min-free-space = 123 layout = [['foo','bar'],['foo']] -[[branches.group]] - - -[[branches.branch]] +[[branches.tier.0]] +[[branches.tier.0.branch]] name = 'branch0' type = 'scan' path = '*' - -[[branches.branch]] +[[branches.tier.0.branch]] name = 'branch1' type = 'literal' path = '/mnt/branch1' - -[[branches.group.branch]] +[[branches.tier.0.branch]] active = true path = '/tmp/mergerfs/a' path-type = 'literal' diff --git a/src/branches2.hpp b/src/branches2.hpp index a6ff43b9..74c650d4 100644 --- a/src/branches2.hpp +++ b/src/branches2.hpp @@ -4,7 +4,7 @@ #include -class Branch2Group +class Branch2Tier { public: uint64_t min_free_space;