From 782c3980ddc1d15bff36aab1eedf2bdf15149dff Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Tue, 14 Nov 2023 14:15:14 -0500 Subject: [PATCH] include: use larger int for large gathers Signed-off-by: Patrick Donnelly (cherry picked from commit 58923668320ba373312c68a8869a1089da41d804) --- src/include/Context.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/Context.h b/src/include/Context.h index bef85ca5b52fd..b89c4fe8220a6 100644 --- a/src/include/Context.h +++ b/src/include/Context.h @@ -310,8 +310,8 @@ private: #ifdef DEBUG_GATHER std::set waitfor; #endif - int sub_created_count = 0; - int sub_existing_count = 0; + uint64_t sub_created_count = 0; + uint64_t sub_existing_count = 0; mutable ceph::recursive_mutex lock = ceph::make_recursive_mutex("C_GatherBase::lock"); // disable lockdep bool activated = false; -- 2.39.5