ceph/ceph — pull request #2051 by gregsfortytwo (2014-07-01 03:50:50+00:00)
Title: OSD: await_reserved_maps() prior to calling mark_down

send_message_osd_cluster() et al are *trying* to protect their Connection
lookups (and not re-open zapped Connections) via map reservations, but
that only works if we know that we haven't already called mark_down() on
the entities they might be looking up. So we need to await_reserved_maps
before we do any mark_down calls.
Since the waiting might take some time (fast dispatch in progress), only do
so if we are actually going to mark somebody down.

This passed a rados suite run: gregf-2014-06-27_16:16:53-rados-wip-8504-testing-basic-plana 10 failures are all attributable to known bugs.