]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: modify two ScrubMap data members from fields to full variables 47639/head
authorRonen Friedman <rfriedma@redhat.com>
Tue, 16 Aug 2022 14:31:23 +0000 (17:31 +0300)
committerRonen Friedman <rfriedma@redhat.com>
Fri, 19 Aug 2022 16:21:20 +0000 (19:21 +0300)
as there is no size advantage in this specific case.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/osd_types.h

index a10c787257c07f5b229f43f925880fbc531e4d1b..f4a585362fa6c32dc70cc782526a1e72f031ada5 100644 (file)
@@ -6109,8 +6109,8 @@ struct ScrubMap {
   std::map<hobject_t,object> objects;
   eversion_t valid_through;
   eversion_t incr_since;
-  bool has_large_omap_object_errors:1;
-  bool has_omap_keys:1;
+  bool has_large_omap_object_errors{false};
+  bool has_omap_keys{false};
 
   void merge_incr(const ScrubMap &l);
   void clear_from(const hobject_t& start) {