]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: cache frequently used configuration parameters
authorRonen Friedman <rfriedma@redhat.com>
Wed, 6 Nov 2024 14:33:12 +0000 (08:33 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 19 Nov 2024 13:37:17 +0000 (07:37 -0600)
commit3cd7d0226fe1230ce4653847f68a610c8fb870d7
tree8e2bd81c0d9cc10f637f3e38c7223e70c115fe2f
parenta99fa1c51eecdacea9b8523dd0542440ad4828cd
osd/scrub: cache frequently used configuration parameters

using the md_config_cacher_t, which is a cache object that registers
itself to the config observer and caches the up-to-date configuration
value.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/common/options/osd.yaml.in
src/osd/scrubber/pg_scrubber.cc
src/osd/scrubber/pg_scrubber.h