From 3aee37eadd5c7571db9dd0ac62475c5580d4a6bc 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 | 38 ++++++++++++++++-- 14 files changed, 162 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