ceph/ceph — pull request #409 by liewegas (2013-07-08 18:15:20+00:00)
Title: mon/PaxosService: trim periodically instead of via propose_pending

We want to trim old states even if there is no update activity. For
example, if a long-running rebalance finishes all osdmap updates will
stop and we won't trim out old maps to free space.

Instead, trim at the same time as tick(). Remove the trim during
propose_pending() to force all trims through this path and avoid
introducing a new and rarely-exercised behavior.

Signed-off-by: Sage Weil