OSD: remove created argument from get_or_create_pg()

Signed-off-by: Samuel Just <sam.just@inktank.com>
OSD: make get_or_create_pg handle_pg_peering_evt

handle_pg_peering_evt() includes checking for splitting
and unlocking the pg.

Signed-off-by: Samuel Just <sam.just@inktank.com>
OSD: add pgid and res_map to DeletingState

Signed-off-by: Samuel Just <sam.just@inktank.com>
OSD: resurrect a parent if it splits into the pg we want to create

When attempting to create a new pg object in response to a
peering message, there are 3 cases:
1) That pg is currently being deleted.  In this case, we
cancel the deletion and resurrect the pg at the epoch at
which it had been deleted.
2) A pg is being deleted which would have split into the
pg we want to create had it not been deleted.  In that case,
we resurrect that pg at the map at which it had been deleted
and let the request wait on the impending split.
3) Neither that pg nor a parent can be resurrected.  In this
case, we create a new pg at the map epoch of the peering
request.

Fixes: #5154
Signed-off-by: Samuel Just <sam.just@inktank.com>
fix init-radosgw* to use the same indentation

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
init-radosgw*: add status

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
init-radosgw*: add all sections to usage output

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Merge branch 'wip_5154'

Fixes: #5154
Reviewed-by: Sage Weil <sage@inktank.com>
doc: Added link to Upstart syntax.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added upstart syntax.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc/release-notes: v0.61.3

Signed-off-by: Sage Weil <sage@inktank.com>
Merge pull request #347 from dalgaaf/wip-da-scripts

Some smaller fixes for init-radosgw files
doc: Updates for glossary terms.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Correction and index tags.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Updated with glossary terms.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Updated with glossary terms.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
unit tests for PGLog::merge_log

http://tracker.ceph.com/issues/5213 refs #5213

Signed-off-by: Loic Dachary <loic@dachary.org>