]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: generalize coll_t to a string
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Thu, 30 Sep 2010 23:59:53 +0000 (16:59 -0700)
committerColin P. McCabe <colinm@hq.newdream.net>
Fri, 1 Oct 2010 00:52:53 +0000 (17:52 -0700)
commita4138c905053cf79a03b50fa766c08ad718b8c58
treef6a70c8feb5d597f3bd91dcf9b99b2576127eb71
parent0e67718a365b42969e785f544ea3b4258bb2407f
osd: generalize coll_t to a string

coll_t is now a string. META_COLL and TEMP_COLL are just constants now.

Now there is a constructor that takes pgid_t and snapid_t, rather than
factory methods. It's clear what that constructor does, so wrapping it
in factory methods should be unecessary.

Bump coll_t serialization version to 3. Implement decoding for the old
versions.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
src/os/FileStore.cc
src/osd/OSD.cc
src/osd/PG.cc
src/osd/ReplicatedPG.cc
src/osd/osd_types.h