]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
options, Mon: monitor the snap trim queues
authorPiotr Dałek <piotr.dalek@corp.ovh.com>
Wed, 13 Dec 2017 15:13:33 +0000 (16:13 +0100)
committerPiotr Dałek <piotr.dalek@corp.ovh.com>
Tue, 19 Dec 2017 08:57:00 +0000 (09:57 +0100)
commit8412a65e0e6f610fb39430d8f65e561b6dbda13f
tree8a6ae72b47e229c6606246626d93ee587e52a66a
parent022d246f17b31d309525395831c84e9856533adb
options, Mon: monitor the snap trim queues

If new option "mon osd snap trim queue warn on" is set to value larger
than 0 (32768 by default), cluster will go into HEALTH_WARN state
once any pg has a snap trim queue larger than that value. This can
be used as an indicator of snaptrimmer not keeping up and disk space
not being reclaimed fast enough. Warning message will tell how many
pgs are affected.

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
src/common/legacy_config_opts.h
src/common/options.cc
src/mon/PGMap.cc