From ed4591c595c3000e2a884523174ed357ffc6d246 Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Tue, 4 Oct 2016 15:04:36 -0500 Subject: [PATCH] os/bluestore: optimize intrusive sets for size. Signed-off-by: Mark Nelson --- src/os/bluestore/BlueStore.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/os/bluestore/BlueStore.h b/src/os/bluestore/BlueStore.h index 7266dc423fbd..ef2ef53fd893 100644 --- a/src/os/bluestore/BlueStore.h +++ b/src/os/bluestore/BlueStore.h @@ -405,7 +405,7 @@ public: }; /// in-memory blob metadata and associated cached buffers (if any) - struct Blob : public boost::intrusive::set_base_hook<> { + struct Blob : public boost::intrusive::set_base_hook> { std::atomic_int nref = {0}; ///< reference count int id = -1; ///< id, for spanning blobs only, >= 0 SharedBlobRef shared_blob; ///< shared blob state (if any) @@ -514,7 +514,7 @@ public: typedef boost::intrusive::set blob_map_t; /// a logical extent, pointing to (some portion of) a blob - struct Extent : public boost::intrusive::set_base_hook<> { + struct Extent : public boost::intrusive::set_base_hook> { uint32_t logical_offset = 0; ///< logical offset uint32_t blob_offset = 0; ///< blob offset uint32_t length = 0; ///< length -- 2.47.3