]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
objecter: refactor interface with object_locator_t
authorSage Weil <sage@newdream.net>
Thu, 28 Oct 2010 18:53:38 +0000 (11:53 -0700)
committerSage Weil <sage@newdream.net>
Thu, 28 Oct 2010 19:10:56 +0000 (12:10 -0700)
commitee27a61b01d4a500a9d66c23b11ba3de178f145e
tree09f1e115f0f1024b564cd4083c29484446be489e
parent8f085108348903f6392f5c916b7e54d71ec1c51d
objecter: refactor interface with object_locator_t

This paves the way for a locator that lets the user specify an arbitrary
string to hash for placement (instead of the object name).  It also
captures everything that would affect placement (pool, preferred, etc.)
in a single type.

Just the client side; no server side or protocol changes yet.

Signed-off-by: Sage Weil <sage@newdream.net>
18 files changed:
src/client/Client.cc
src/client/SyntheticClient.cc
src/include/object.h
src/librados.cc
src/mds/CDir.cc
src/mds/CInode.cc
src/mds/MDCache.cc
src/mds/MDSTable.cc
src/mds/SessionMap.cc
src/osd/OSDMap.h
src/osd/osd_types.h
src/osdc/Filer.cc
src/osdc/Filer.h
src/osdc/Journaler.cc
src/osdc/ObjectCacher.cc
src/osdc/ObjectCacher.h
src/osdc/Objecter.cc
src/osdc/Objecter.h