aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-09-07 13:44:11 +0200
committerAlex Auvolat <alex@adnab.me>2023-09-07 13:44:11 +0200
commit6b008b5bd3843bb236f94a1b4472de11f5755f04 (patch)
treef9d2afe0e7a21b07bfa0f0e94a607a695f516e65 /src/garage/cli
parent6595efd82fc849c97b964969b6ff935738e7d24a (diff)
downloadgarage-6b008b5bd3843bb236f94a1b4472de11f5755f04.tar.gz
garage-6b008b5bd3843bb236f94a1b4472de11f5755f04.zip
block manager: add rebalance operation to rebalance multi-hdd setups
Diffstat (limited to 'src/garage/cli')
-rw-r--r--src/garage/cli/structs.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/garage/cli/structs.rs b/src/garage/cli/structs.rs
index 9ca4a059..fd37a24e 100644
--- a/src/garage/cli/structs.rs
+++ b/src/garage/cli/structs.rs
@@ -471,6 +471,9 @@ pub enum RepairWhat {
#[structopt(subcommand)]
cmd: ScrubCmd,
},
+ /// Rebalance data blocks among storage locations
+ #[structopt(name = "rebalance", version = garage_version())]
+ Rebalance,
}
#[derive(Serialize, Deserialize, StructOpt, Debug, Eq, PartialEq, Clone)]