mirror of
https://github.com/ceph/ceph
synced 2025-03-19 08:57:29 +00:00
os/bluestore: pack SharedBlob
224 -> 216 bytes Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
2094168a53
commit
7c5b77a6f8
@ -318,15 +318,15 @@ public:
|
||||
struct SharedBlob : public boost::intrusive::unordered_set_base_hook<> {
|
||||
std::atomic_int nref = {0}; ///< reference count
|
||||
|
||||
// these are defined/set if the shared_blob is 'loaded'
|
||||
bool loaded = false; ///< whether shared_blob_t is loaded
|
||||
bluestore_shared_blob_t shared_blob; ///< the actual shared state
|
||||
|
||||
// these are defined/set if the blob is marked 'shared'
|
||||
uint64_t sbid = 0; ///< shared blob id
|
||||
string key; ///< key in kv store
|
||||
SharedBlobSet *parent_set = 0; ///< containing SharedBlobSet
|
||||
|
||||
// these are defined/set if the shared_blob is 'loaded'
|
||||
bluestore_shared_blob_t shared_blob; ///< the actual shared state
|
||||
bool loaded = false; ///< whether shared_blob_t is loaded
|
||||
|
||||
BufferSpace bc; ///< buffer cache
|
||||
|
||||
SharedBlob(uint64_t i, const string& k, Cache *c);
|
||||
|
Loading…
Reference in New Issue
Block a user