]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSD::_make_pg: use createmap, not osdmap
authorSamuel Just <sam.just@inktank.com>
Mon, 22 Jul 2013 18:08:04 +0000 (11:08 -0700)
committerSamuel Just <sam.just@inktank.com>
Mon, 22 Jul 2013 18:11:08 +0000 (11:11 -0700)
commit0897d3a820ec182ebd74100a370dbadab50de84f
tree9915805737fcdd8bdf61745eca97185589c8cb03
parent20bc09c668cca01bc1d27c0a860b384d85585ef5
OSD::_make_pg: use createmap, not osdmap

The osd lock is not held at this point, we must use
the createmap passed in.

Fixes: #5656
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
src/osd/OSD.cc