]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: eliminate temp collections
authorSage Weil <sage@redhat.com>
Wed, 10 Dec 2014 23:45:26 +0000 (15:45 -0800)
committerSage Weil <sage@redhat.com>
Fri, 19 Jun 2015 00:02:45 +0000 (17:02 -0700)
commit3b1b5a93afba6a535e7e109c029ac136f3243e4e
tree60bb5145fd8a53a57ad9cb46d7c2968ffb949f45
parenta88c3cca99ff99779bcc2027125523c77d929954
osd: eliminate temp collections

The temp objects have distinct pool ids.  Old temp objects are already
blown away on OSD restart.  This patch removes all the futzing with
temp_coll and puts the temp objects in the same collection as everything
else.

Interesting, collection_move_rename is now always using the same source
and dest collection.  Hmm!

Signed-off-by: Sage Weil <sage@redhat.com>
13 files changed:
src/osd/ECBackend.cc
src/osd/ECBackend.h
src/osd/ECTransaction.cc
src/osd/OSD.cc
src/osd/OSD.h
src/osd/PG.h
src/osd/PGBackend.cc
src/osd/PGBackend.h
src/osd/ReplicatedBackend.cc
src/osd/ReplicatedBackend.h
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h
src/osd/osd_types.h