]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
TrackedOp: specify queue sizes and warnings on a per-tracker basis
authorGreg Farnum <greg@inktank.com>
Thu, 3 Oct 2013 00:12:06 +0000 (17:12 -0700)
committerGreg Farnum <greg@inktank.com>
Thu, 3 Oct 2013 22:18:44 +0000 (15:18 -0700)
commitd6a1799f410cad09dc27b9102911b5682ef4f346
tree18015a91b2df0f404e1e2756d212ab09abf45894
parentea831e05bb1392c2b8a2b1c73cd6281fce88badb
TrackedOp: specify queue sizes and warnings on a per-tracker basis

If we have multiple trackers in a daemon, we want to be able to configure
them separately. Plus, users already know how to control op sizes in the
OSD, so changing the config options (as we did in a8bbb81b7b7b6420ea08bc4e99a39adc6c3c397a)
is not really appropriate. Instead, provider setters which can be called
at construction time (or on any other change) and use them in the OSD with
the configurables we had previously. Add an observer so you can continue
to change them at run-time

This reverts a8bbb81b7b7b6420ea08bc4e99a39adc6c3c397a

Signed-off-by: Greg Farnum <greg@inktank.com>
src/common/TrackedOp.cc
src/common/TrackedOp.h
src/common/config_opts.h
src/osd/OSD.cc