| 836 | |
| 837 | template <class F> |
| 838 | void flush_omap_batch(map<string, bufferlist> &oset, int& mapcount, F f) |
| 839 | { |
| 840 | ceph_assert(oset.size() <= OMAP_BATCH_SIZE); |
| 841 | mapcount += oset.size(); |
| 842 | f(oset); |
| 843 | oset.clear(); |
| 844 | } |
| 845 | |
| 846 | int ObjectStoreTool::export_file(ObjectStore *store, coll_t cid, ghobject_t &obj, bool force) |
| 847 | { |
no test coverage detected