]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: change pg_slots unordered_map to use unique_ptr<>
authorSage Weil <sage@redhat.com>
Fri, 9 Feb 2018 20:39:34 +0000 (14:39 -0600)
committerSage Weil <sage@redhat.com>
Wed, 4 Apr 2018 13:26:53 +0000 (08:26 -0500)
commit973836c70d63fdb2c907c5d34c52ea2fb013652b
tree57b760566153b29d371d7c8bb844bee6f377070b
parent7aeebde3fda5d2df5de5e754217849341fc39a11
osd: change pg_slots unordered_map to use unique_ptr<>

This avoids moving slots around in memory in the unordered_map... they can
be big!

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc
src/osd/OSD.h