]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: simplify init of fabricated pg 24064/head
authorSage Weil <sage@redhat.com>
Wed, 19 Sep 2018 17:35:53 +0000 (12:35 -0500)
committerSage Weil <sage@redhat.com>
Thu, 20 Sep 2018 13:35:53 +0000 (08:35 -0500)
commitfe29c6ff52f818f98f6b066a38ab6b5f2112dc6c
treedd08dabf614845ccf2aa50c393871b26848b1fe5
parente7f4291fe71d782f1269acb1e32345696c3401c5
osd: simplify init of fabricated pg

This was similar (but different) to the logic in PG::merge_from().  Do not
do any initialization here, and instead rely on merge_from() to do the
right thing.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc