]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/PGMonitor: send pg creates via persistent subscriptions, not spam
authorSage Weil <sage@redhat.com>
Wed, 7 Oct 2015 01:39:33 +0000 (21:39 -0400)
committerSage Weil <sage@redhat.com>
Mon, 23 Nov 2015 13:38:50 +0000 (08:38 -0500)
commitc85b15234afb76eb66943f981232ecc78f3b1a4a
treec32a5d1b753e01d14f0824516b18b10b3c346c52
parent0938bf055deec0183e1159f9bfcfa98a6757bc4b
mon/PGMonitor: send pg creates via persistent subscriptions, not spam

Generate and send pg create messages only for those OSDs who have
subscribed on this monitor.  This is N time more efficient (where there
are N monitors) than the previous method.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/PGMonitor.cc
src/mon/PGMonitor.h