diff options
author | Samuel Just <sjust@redhat.com> | 2022-08-04 09:17:50 +0200 |
---|---|---|
committer | Samuel Just <sjust@redhat.com> | 2022-09-22 23:50:00 +0200 |
commit | b4b2ab171c123b6701e8c78dda6c7e20e657639a (patch) | |
tree | e5123f9f05be07a47db5500b0666e255835fb36a /src/crimson/osd/pg_backend.h | |
parent | crimson/common: introduce local_shared_foreign_ptr (diff) | |
download | ceph-b4b2ab171c123b6701e8c78dda6c7e20e657639a.tar.xz ceph-b4b2ab171c123b6701e8c78dda6c7e20e657639a.zip |
crimson/osd: rework OSDMap handling for multicore
OSDMaps can occupy significant space in memory. Duplicating OSDMaps
across cores would multiply that memory usage as well as complicate
the internal structure sharing we do when applying OSDMap incrementals.
Because PeeringState and other interfaces expect efficient copying of
OSDMapRef objects we don't want to use foreign_ptr directly.
Instead, maintain a single cache and distribute local_shared_foreign_ptrs
to other cores. ShardServices becomes the only OSDMapService.
Signed-off-by: Samuel Just <sjust@redhat.com>
Diffstat (limited to 'src/crimson/osd/pg_backend.h')
-rw-r--r-- | src/crimson/osd/pg_backend.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/crimson/osd/pg_backend.h b/src/crimson/osd/pg_backend.h index 7777b53781c..7f38cb03873 100644 --- a/src/crimson/osd/pg_backend.h +++ b/src/crimson/osd/pg_backend.h @@ -6,7 +6,6 @@ #include <map> #include <memory> #include <string> -#include <boost/smart_ptr/local_shared_ptr.hpp> #include <boost/container/flat_set.hpp> #include "include/rados.h" |