]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common, os, osd, test, tools: FileStore must work with ghobjects rather than hobjects
authorDavid Zafman <david.zafman@inktank.com>
Fri, 20 Sep 2013 01:54:36 +0000 (18:54 -0700)
committerDavid Zafman <david.zafman@inktank.com>
Thu, 26 Sep 2013 18:29:05 +0000 (11:29 -0700)
commitaba6efda13eb6ab4b96930e9cc2dbddebbe03f26
tree5dbaaff15908f31d3f0900a0896517ae7cc9a0f7
parent793ba9f1d551f66f1aefa4e2f78ef5592a74b7e0
common, os, osd, test, tools: FileStore must work with ghobjects rather than hobjects

Add ghobject_t to hboject.h header
Add constants NO_SHARD/NO_GEN and change gen_t/shard_t
Convert other headers from hobject_t to ghobject_t
Mostly straight hobject_t to ghobject_t for src/os cc files
Fix tools and tests and enable ceph-dencoder
Add filename generation and parsing including unittest addition
Get ceph-filestore-dump to build
Add gen/shard to DBObjectMap::ghobject_key() and update test case
Add CEPH_FS_FEATURE_INCOMPAT_SHARDS new FileStore feature
Add CEPH_OSD_FEATURE_INCOMPAT_SHARDS new osd feature

Fixes: #5862
Signed-off-by: David Zafman <david.zafman@inktank.com>
31 files changed:
src/common/hobject.cc
src/common/hobject.h
src/os/CollectionIndex.h
src/os/DBObjectMap.cc
src/os/DBObjectMap.h
src/os/FDCache.h
src/os/FileStore.cc
src/os/FileStore.h
src/os/FlatIndex.cc
src/os/FlatIndex.h
src/os/HashIndex.cc
src/os/HashIndex.h
src/os/LFNIndex.cc
src/os/LFNIndex.h
src/os/ObjectMap.h
src/os/ObjectStore.cc
src/os/ObjectStore.h
src/os/WBThrottle.cc
src/os/WBThrottle.h
src/osd/OSD.cc
src/osd/PGLog.cc
src/test/ObjectMap/test_object_map.cc
src/test/encoding/types.h
src/test/filestore/FileStoreDiff.cc
src/test/filestore/store_test.cc
src/test/filestore/workload_generator.cc
src/test/os/TestFlatIndex.cc
src/test/os/TestLFNIndex.cc
src/tools/ceph-filestore-dump.cc
src/tools/ceph-osdomap-tool.cc
src/tools/dupstore.cc