From: Ronen Friedman Date: Sun, 23 Oct 2022 14:34:33 +0000 (+0300) Subject: osd: change 2 ObjectContext flags from bitfields to full variables X-Git-Tag: v18.1.0~442^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=52d9b532387e4e0fc841914827addc1c9b37f2e1;p=ceph.git osd: change 2 ObjectContext flags from bitfields to full variables The change does not increase the size of the structure. It does simplify fmt-formatting of the boolean flags, and has better performance. Signed-off-by: Ronen Friedman --- diff --git a/src/osd/osd_internal_types.h b/src/osd/osd_internal_types.h index 80ecb67a8892f..278aafc5798b1 100644 --- a/src/osd/osd_internal_types.h +++ b/src/osd/osd_internal_types.h @@ -180,9 +180,8 @@ public: } /// in-progress copyfrom ops for this object - bool blocked:1; - bool requeue_scrub_on_unblock:1; // true if we need to requeue scrub on unblock - + bool blocked; + bool requeue_scrub_on_unblock; // true if we need to requeue scrub on unblock }; inline std::ostream& operator<<(std::ostream& out, const ObjectState& obs)