]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Simplify DBObjectMap by no longer creating complete tables
authorDavid Zafman <dzafman@redhat.com>
Fri, 3 Mar 2017 23:04:02 +0000 (15:04 -0800)
committerDavid Zafman <dzafman@redhat.com>
Mon, 27 Mar 2017 15:33:34 +0000 (08:33 -0700)
commit738156a99ed1caf61e5a8230eb8048360056c08e
treec2252c3e13c82a2eda0da5211c224be386e666fe
parent1dda0411f4fbb14ce1e0062da9f14ec3af505d39
osd: Simplify DBObjectMap by no longer creating complete tables

Bump the version for new maps to 3
Make clone less efficient but simpler
Add rename operation (use instead of clone/unlink)
For now keep code that understands version 2 maps

Signed-off-by: David Zafman <dzafman@redhat.com>
src/os/ObjectMap.h
src/os/filestore/DBObjectMap.cc
src/os/filestore/DBObjectMap.h
src/os/filestore/FileStore.cc
src/test/ObjectMap/test_object_map.cc