From: Sage Weil Date: Tue, 4 Oct 2016 22:03:06 +0000 (-0400) Subject: os/bluestore: pack Blob members X-Git-Tag: v11.0.1~4^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2094168a53875228f39f0b94da80db19151157ce;p=ceph.git os/bluestore: pack Blob members 272 -> 264 bytes Signed-off-by: Sage Weil --- diff --git a/src/os/bluestore/BlueStore.h b/src/os/bluestore/BlueStore.h index 7266dc423fbd..7f41b6a1e596 100644 --- a/src/os/bluestore/BlueStore.h +++ b/src/os/bluestore/BlueStore.h @@ -407,15 +407,13 @@ public: /// in-memory blob metadata and associated cached buffers (if any) struct Blob : public boost::intrusive::set_base_hook<> { std::atomic_int nref = {0}; ///< reference count - int id = -1; ///< id, for spanning blobs only, >= 0 + int16_t id = -1; ///< id, for spanning blobs only, >= 0 + int16_t last_encoded_id = -1; ///< (ephemeral) used during encoding only SharedBlobRef shared_blob; ///< shared blob state (if any) /// refs from this shard. ephemeral if id<0, persisted if spanning. bluestore_extent_ref_map_t ref_map; - - int last_encoded_id = -1; ///< (ephemeral) used during encoding only - private: mutable bluestore_blob_t blob; ///< decoded blob metadata mutable bool dirty = true; ///< true if blob is newer than blob_bl