]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: handle event notify/info/log from Initial
authorSage Weil <sage.weil@dreamhost.com>
Thu, 5 May 2011 15:11:41 +0000 (08:11 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Thu, 5 May 2011 15:11:41 +0000 (08:11 -0700)
commit1fbefb32f9f57bb6e99acb3cda07be4f8fc4354f
tree5b4878baa580d5db974535342ceb9a64639b82a9
parentb5cb4c5e971ae86c4b2360e54d2389f77d257440
osd: handle event notify/info/log from Initial

We shouldn't post a creation event and jump into peering/stray based on
pg creation when we are about to process more information or else we will
send out unnecessary queries.  Instead, handle those from Initial and jump
to the appropriate state.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/osd/OSD.cc
src/osd/PG.cc
src/osd/PG.h