]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSD: do not drop osd_lock in handle_osd_map
authorSamuel Just <sam.just@inktank.com>
Mon, 7 May 2012 20:51:55 +0000 (12:51 -0800)
committerSamuel Just <sam.just@inktank.com>
Thu, 5 Jul 2012 17:14:59 +0000 (10:14 -0700)
commit492e6351e5723f7d97defb01d66a3505fd33a82c
treebd936aec58f220c59d0ad50437ff000c06812931
parent14381b38d74935520af6167871831a47b3775569
OSD: do not drop osd_lock in handle_osd_map

PGs have their map updates done in a different thread.  Thus, we no
longer need to grab the pg locks.  activate_map no longer requires
the map_lock in order to allow us to queue events for the pgs.

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/OSD.cc
src/osd/OSD.h