From e99fe5c056cf149a77b11edd79e53ebfdeb5411a Mon Sep 17 00:00:00 2001 From: proller Date: Wed, 22 Jan 2025 17:29:31 +0100 Subject: [PATCH] [filestore] Allow 4G+ throttle values (#13454) --- ydb/core/protos/blockstore_config.proto | 4 ++-- ydb/core/protos/filestore_config.proto | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ydb/core/protos/blockstore_config.proto b/ydb/core/protos/blockstore_config.proto index f66aff78d7f6..0ce146da1e21 100644 --- a/ydb/core/protos/blockstore_config.proto +++ b/ydb/core/protos/blockstore_config.proto @@ -60,7 +60,7 @@ message TVolumeConfig { optional uint32 StorageMediaKind = 13; // Performance profile fields, used for correct bs group allocation and iops/bandwidth throttling - optional uint32 PerformanceProfileMaxReadBandwidth = 14; + optional uint64 PerformanceProfileMaxReadBandwidth = 14; /* optional uint32 PerformanceProfileMaxBurstBandwidth = 15; obsolete */ optional uint32 PerformanceProfileMaxPostponedWeight = 16; optional bool PerformanceProfileThrottlingEnabled = 17; @@ -69,7 +69,7 @@ message TVolumeConfig { optional uint32 PerformanceProfileBoostTime = 20; optional uint32 PerformanceProfileBoostRefillTime = 21; optional uint32 PerformanceProfileBoostPercentage = 22; - optional uint32 PerformanceProfileMaxWriteBandwidth = 23; + optional uint64 PerformanceProfileMaxWriteBandwidth = 23; optional uint32 PerformanceProfileMaxWriteIops = 24; optional uint32 PerformanceProfileBurstPercentage = 25; diff --git a/ydb/core/protos/filestore_config.proto b/ydb/core/protos/filestore_config.proto index 979b133b058e..9640cfa563fe 100644 --- a/ydb/core/protos/filestore_config.proto +++ b/ydb/core/protos/filestore_config.proto @@ -35,9 +35,9 @@ message TConfig { optional uint32 StorageMediaKind = 32; - optional uint32 PerformanceProfileMaxReadBandwidth = 33; + optional uint64 PerformanceProfileMaxReadBandwidth = 33; optional uint32 PerformanceProfileMaxReadIops = 34; - optional uint32 PerformanceProfileMaxWriteBandwidth = 35; + optional uint64 PerformanceProfileMaxWriteBandwidth = 35; optional uint32 PerformanceProfileMaxWriteIops = 36; optional uint32 PerformanceProfileBoostTime = 37; optional uint32 PerformanceProfileBoostRefillTime = 38;