]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/PGMonitor: set floor below which we do not warn about objects/pg 720/head
authorSage Weil <sage@inktank.com>
Tue, 15 Oct 2013 18:22:16 +0000 (11:22 -0700)
committerSage Weil <sage@inktank.com>
Tue, 15 Oct 2013 18:22:16 +0000 (11:22 -0700)
commit70cc6813262507405f3f726d21cede165fe87660
tree09dece1fae3f55a07bcb44c7ea321147fee53b0d
parenta0ffba6de2e439300c7c181524694f9abf6b085d
mon/PGMonitor: set floor below which we do not warn about objects/pg

If a cluster has very few objects, do not generate warnings when the
objects/pg for a pool diverges from the cluster average.  This avoids
spurious errors when you have a relatively empty cluster and a lone pool
with a modest number of objects is too far off the (mostly meaningless)
cluster-wide average.

Also include a per-pool min so we ignore mostly-empty pools.

Fixes: #6521
Signed-off-by: Sage Weil <sage@inktank.com>
src/common/config_opts.h
src/mon/PGMonitor.cc