From 0acf28840551fc6e5f32dbba64672c1bdd3c90b1 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Fri, 1 Mar 2024 01:42:46 +0300 Subject: [PATCH] Allow to disable per-inode stats for VitastorFS pools --- docs/usage/cli.en.md | 3 +- mon/mon.js | 7 +++- src/blockstore.cpp | 5 +++ src/blockstore.h | 3 ++ src/blockstore_impl.cpp | 83 +++++++++++++++++++++++++++++++++++++++ src/blockstore_impl.h | 5 +++ src/blockstore_stable.cpp | 12 ++++-- src/cli.cpp | 3 +- src/cli_pool_cfg.cpp | 7 +++- src/cli_pool_ls.cpp | 3 ++ src/etcd_state_client.cpp | 2 + src/etcd_state_client.h | 1 + src/osd.h | 1 + src/osd_cluster.cpp | 36 +++++++++++++++-- 14 files changed, 160 insertions(+), 11 deletions(-) diff --git a/docs/usage/cli.en.md b/docs/usage/cli.en.md index 128e29aa..94d1680b 100644 --- a/docs/usage/cli.en.md +++ b/docs/usage/cli.en.md @@ -267,6 +267,7 @@ Optional parameters: | `--immediate_commit none` | Put pool only on OSDs with this or larger immediate_commit (none < small < all) | | `--primary_affinity_tags tags` | Prefer to put primary copies on OSDs with all specified tags | | `--scrub_interval