msgr: add get_loopback_connection() method

Return the Connection* for ourselves, so we can queue messages for
ourselves.

Signed-off-by: Sage Weil <sage@inktank.com>
osd: requeue osdmaps on heartbeat connections for cluster connection

If we receive an OSDMap on the cluster connection, requeue it for the
cluster messenger, and process it there where we normally do.  This avoids
any concerns about locking and ordering rules.

Signed-off-by: Sage Weil <sage@inktank.com>
osd: pass new maps to dead osds via existing Connection

Previously we were sending these maps to dead osds via their old addrs
using a new outgoing connection and setting the flags so that the msgr
would clean up.  That mechanism is possibly buggy and fragile, and we can
avoid it entirely if we just reuse the existing heartbeat Connection.

Signed-off-by: Sage Weil <sage@inktank.com>
osd: share incoming maps via Connection*, not addrs

Kill a set of parallel methods that are using the old addr/inst-based
msgr APIs, and instead use Connection handles.  This is much safer and gets
us closer to killing the old msgr API.

Signed-off-by: Sage Weil <sage@inktank.com>
osd: kill unused addr-based send_map()

Not used, old API, bad.

Signed-off-by: Sage Weil <sage@inktank.com>
osd/PG: include map epoch in query results

Currently you can only infer it from the info.history.* fields.

Signed-off-by: Sage Weil <sage@inktank.com>
doc: Added x-ref links.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added osd/pg monitoring section to the index.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Trimmed some detail and added a x-ref to detailed osd/pg monitoring doc.


Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added new, more comprehensive OSD/PG monitoring doc.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
mon: Monitor: track timecheck round state and report on health

Fixes: #3854

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
mon: Monitor: timecheck: only output report to dout once

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Merge branch 'wip-osd-msgr'

Reviewed-by: Samuel Just <sam.just@inktank.com>
workunit for iogen

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
Merge git://github.com/ceph/ceph