aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli/structs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/garage/cli/structs.rs')
-rw-r--r--src/garage/cli/structs.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/garage/cli/structs.rs b/src/garage/cli/structs.rs
index f134cd49..588900a3 100644
--- a/src/garage/cli/structs.rs
+++ b/src/garage/cli/structs.rs
@@ -282,6 +282,13 @@ pub enum RepairWhat {
/// Only redo the propagation of version deletions to the block ref table (extremely slow)
#[structopt(name = "block_refs")]
BlockRefs,
+ /// Verify integrity of all blocks on disc (extremely slow, i/o intensive)
+ #[structopt(name = "blocks_integrity")]
+ BlockIntegrity {
+ /// Limit on i/o speed, in B/s
+ #[structopt(name = "limit")]
+ limit: Option<usize>,
+ },
}
#[derive(Serialize, Deserialize, StructOpt, Debug, Clone)]