summaryrefslogtreecommitdiffstats
path: root/src/include/compact_map.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* include: Update compact_map.h to work without using namespaceAdam C. Emerson2019-03-291-6/+6
| | | | Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
* include: Use ceph_assert for assertsAdam C. Emerson2018-08-271-1/+1
| | | | Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
* core: use const_iterator for decodeKefu Chai2018-05-171-2/+2
| | | | Signed-off-by: Kefu Chai <kchai@redhat.com>
* mds: move CInode container members to mempoolPatrick Donnelly2018-02-081-2/+13
| | | | | | Partial-fix: http://tracker.ceph.com/issues/21402 Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
* compact_*: support mempool allocated containersPatrick Donnelly2018-01-311-30/+32
| | | | Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
* include: Use unqualified encode/decodeAdam C. Emerson2018-01-101-6/+12
| | | | | | This is a portion of the namespace project. Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
* mds: cleanup replica_map accessPatrick Donnelly2017-09-131-0/+6
| | | | | | | The gymnastics protecting the map failed as the code evolved. Just expose it normally with a getter. Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
* include/compact_map: featureful encoders, tooSage Weil2016-03-011-0/+11
| | | | Signed-off-by: Sage Weil <sage@redhat.com>
* introduce compact_set and compact_mapYan, Zheng2015-02-251-0/+347
They are wrapper classes of std::set and std::map, which only contain a pointer to the actual std::set/std::map. They are aimed for replacing std::set/std::map for class members which are rarely used and mostly empty. Replacing each std::set/std::map can save 40 bytes for 64 bits program. Signed-off-by: Yan, Zheng <zyan@redhat.com>