]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: publish osdmap to OSDService before starting wq threads 21737/head
authorSage Weil <sage@redhat.com>
Tue, 24 Apr 2018 18:02:14 +0000 (13:02 -0500)
committerPrashant D <pdhange@redhat.com>
Mon, 30 Apr 2018 10:07:55 +0000 (06:07 -0400)
commit82b3b5f3f10cc86cc76d47269893db5e29b3a778
tree01c89d7484bffacfd7f6d0b68a8cf56510b0d592
parentc2b01766288ba1f22d910a25f532a13a89df91be
osd: publish osdmap to OSDService before starting wq threads

The worker threads may request the map from the service (notably,
advance_pg() does this).

Fixes: http://tracker.ceph.com/issues/21977
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit ef3e5b1069c81f4e5b64e6119b467aeb7193e0b7)

Conflicts:
src/osd/OSD.cc: Resolved in OSD::init
src/osd/OSD.cc