]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: go back to compact_map for replicas
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 12 Sep 2017 21:29:49 +0000 (14:29 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 12 Sep 2017 22:46:23 +0000 (15:46 -0700)
commit5d67b5cc57ac803e60c2921f554cd0507ed4848e
treeae833bf22a1c5742c20397d1ddc8fb374ec49713
parente035b64fcb0482c3318656e1680d683814f494fe
mds: go back to compact_map for replicas

Zheng observed that an alloc_ptr doesn't really work in this case since any
call to get_replicas() will cause the map to be allocated, nullifying the
benefit. Use a compact_map until a better solution can be written. (This means
that the map will be allocated outside the mempool.)

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/MDSCacheObject.h