]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
include: use larger int for large gathers
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 14 Nov 2023 19:15:14 +0000 (14:15 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 20 Mar 2024 14:56:50 +0000 (10:56 -0400)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/include/Context.h

index bef85ca5b52fd7a82e91df35ef0fa33a81c7bed1..b89c4fe8220a65daa015727b317e5b5b5fad797e 100644 (file)
@@ -310,8 +310,8 @@ private:
 #ifdef DEBUG_GATHER
   std::set<ContextType*> 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;