]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: move PG collection creation into static PG method
authorSage Weil <sage@redhat.com>
Thu, 20 Nov 2014 19:35:49 +0000 (11:35 -0800)
committerSage Weil <sage@redhat.com>
Wed, 17 Dec 2014 01:07:56 +0000 (17:07 -0800)
commitbe86cc739c74c27874a101775986a47e4b4dd34b
tree5407bb8c31923cd2a8db4f581956cc1d752848c6
parent5a5a4a877548727935b88119061223e7f8e20c2b
osd: move PG collection creation into static PG method

This way we properly create the pgmeta object and set the infokey attr on
it.  Break it into two steps, one part before split, one after.

Disable the collection_empty() check in split so that it doesn't trip over
this object.

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/FileStore.cc
src/osd/OSD.cc
src/osd/PG.cc
src/osd/PG.h
src/osd/ReplicatedPG.h
src/tools/ceph_objectstore_tool.cc