2024-02-23 02:41:10 +03:00
|
|
|
// Copyright (c) Vitaliy Filippov, 2024
|
|
|
|
// License: VNPL-1.1 (see README.md for details)
|
2024-02-01 18:44:14 +03:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "json11/json11.hpp"
|
2024-02-23 02:41:10 +03:00
|
|
|
#include <stdint.h>
|
2024-02-01 18:44:14 +03:00
|
|
|
|
2024-02-23 02:41:10 +03:00
|
|
|
std::string validate_pool_config(json11::Json::object & new_cfg, json11::Json old_cfg,
|
|
|
|
uint64_t global_block_size, uint64_t global_bitmap_granularity, bool force);
|