]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSD,PG: handle pg map advance in process_peering_event
authorSamuel Just <samuel.just@dreamhost.com>
Tue, 24 Apr 2012 23:00:49 +0000 (16:00 -0700)
committerSamuel Just <sam.just@inktank.com>
Thu, 5 Jul 2012 17:14:58 +0000 (10:14 -0700)
commit12e22b3d44eba51a70d8babebc2684f0c46575a7
treeaf9e1c299e50332d577f7e2aa23f9f31a8302bae
parentbbd8af028784c1dcdc1066b45129d5c5c00d691e
OSD,PG: handle pg map advance in process_peering_event

The pg map will now be advanced in process_peering_event (in advance_pg)
to allow handle_osd_map to not grab pg locks in-line.  handle_osd_map
queues NullEvts to ensure that each pg is updated in a timely fashion.

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