]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ObjectStore, *Store: extend fiemap interface
authorPiotr Dałek <piotr.dalek@corp.ovh.com>
Tue, 18 Apr 2017 13:03:11 +0000 (15:03 +0200)
committerPiotr Dałek <piotr.dalek@corp.ovh.com>
Thu, 20 Apr 2017 15:19:00 +0000 (17:19 +0200)
commit52cc9ad09a780d3440e4b358fa05a7cbdb07345d
tree1ebbfb0cc2565248d488b50b149ffd621a34b38d
parentdcd1687562c08a4babb4e145f605492da31ab7f6
ObjectStore, *Store: extend fiemap interface

This extends fiemap interface in objectstore and all data stores so
it's possible to pass in the map used later by caller, instead of
encoding internal map into bufferlist, then parsing it back into the
same type of data container, wasting memory and CPU time in the process.

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
src/os/ObjectStore.h
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h
src/os/filestore/FileStore.cc
src/os/filestore/FileStore.h
src/os/kstore/KStore.cc
src/os/kstore/KStore.h
src/os/memstore/MemStore.cc
src/os/memstore/MemStore.h