]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: move peering events into primary work queue
authorSage Weil <sage@redhat.com>
Sun, 5 Nov 2017 16:53:17 +0000 (10:53 -0600)
committerSage Weil <sage@redhat.com>
Mon, 4 Dec 2017 18:45:16 +0000 (12:45 -0600)
commitfffcc8a50e684c9b67643ec002869a8b7024b01c
tree448b1341f1a400ca80200a4d6737c7ec24a95d8d
parente94badae654f23aa9beb2a9973458940ef59a534
osd: move peering events into primary work queue

For the moment we leave the old infratructure in place too; that will be
cleaned up next.

Two key differences:

- each pg event is processed in isolation, which means MOSDPGNotify etc
messages won't be batched.  This will mean more messages for small clusters
and no change for large clusters.
- the map processing for PGs will be done in completion by a single event.
There is now a wait in handle_osd_map to ensure that all PGs are processing
maps that overlap with the map cache.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/legacy_config_opts.h
src/common/options.cc
src/osd/OSD.cc
src/osd/OSD.h
src/osd/OpQueueItem.cc
src/osd/OpQueueItem.h
src/osd/PG.cc
src/osd/PG.h