]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: move ConfigValues out of md_config_t 22908/head
authorKefu Chai <kchai@redhat.com>
Fri, 6 Jul 2018 15:08:00 +0000 (23:08 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 10 Jul 2018 15:42:59 +0000 (23:42 +0800)
commitf528475d92524328ef3e12dfec036461395338c0
treefde1820cfa95bbb1227b83157e0a6cb745589d10
parent4718b7cb2fac65b2ac7014f42ba1a10181350f0b
common: move ConfigValues out of md_config_t

by moving ConfigValues out of md_config_t, we are able to point
md_config_t to a new ConfigValues instance at runtime, without
destroying the old one.

also remove ConfigReader, because all md_config_obs_t will be updated
with ConfigProxy now. as md_config_t is not able to offer the *data*
anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
143 files changed:
doc/dev/config.rst
src/ceph_fuse.cc
src/ceph_mds.cc
src/ceph_mon.cc
src/client/Client.cc
src/client/Client.h
src/client/fuse_ll.cc
src/common/TracepointProvider.cc
src/common/TracepointProvider.h
src/common/WorkQueue.cc
src/common/WorkQueue.h
src/common/ceph_context.cc
src/common/common_init.h
src/common/config.cc
src/common/config.h
src/common/config_cacher.h
src/common/config_obs.h
src/common/config_proxy.h
src/common/pick_address.cc
src/global/global_init.cc
src/global/signal_handler.cc
src/librbd/ImageCtx.cc
src/librbd/Operations.cc
src/mds/CInode.h
src/mds/MDCache.cc
src/mds/MDSCacheObject.h
src/mds/MDSDaemon.cc
src/mds/MDSDaemon.h
src/mds/MDSRank.h
src/mds/Migrator.cc
src/mds/Migrator.h
src/mds/PurgeQueue.cc
src/mds/PurgeQueue.h
src/mgr/DaemonServer.cc
src/mgr/DaemonServer.h
src/mgr/MgrStandby.cc
src/mgr/MgrStandby.h
src/mon/LogMonitor.cc
src/mon/LogMonitor.h
src/mon/Monitor.cc
src/mon/Monitor.h
src/msg/async/dpdk/DPDKStack.cc
src/msg/async/dpdk/dpdk_rte.cc
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h
src/os/bluestore/PMEMDevice.cc
src/os/filestore/FDCache.h
src/os/filestore/FileJournal.h
src/os/filestore/FileStore.cc
src/os/filestore/FileStore.h
src/os/filestore/WBThrottle.cc
src/os/filestore/WBThrottle.h
src/osd/OSD.cc
src/osd/OSD.h
src/osdc/Objecter.cc
src/osdc/Objecter.h
src/rgw/librgw.cc
src/rgw/librgw_admin_user.cc
src/rgw/rgw_admin.cc
src/rgw/rgw_auth_keystone.cc
src/rgw/rgw_civetweb_frontend.cc
src/rgw/rgw_fcgi_process.cc
src/rgw/rgw_frontend.h
src/rgw/rgw_main.cc
src/rgw/rgw_object_expirer.cc
src/rgw/rgw_process.cc
src/rgw/rgw_process.h
src/rgw/rgw_rest_swift.cc
src/rgw/rgw_rest_swift.h
src/rgw/rgw_swift_auth.cc
src/test/common/test_config.cc
src/test/common/test_context.cc
src/test/compressor/test_compression.cc
src/test/confutils.cc
src/test/crimson/test_alien_echo.cc
src/test/daemon_config.cc
src/test/erasure-code/TestErasureCodeLrc.cc
src/test/erasure-code/TestErasureCodePlugin.cc
src/test/erasure-code/TestErasureCodePluginIsa.cc
src/test/erasure-code/TestErasureCodePluginJerasure.cc
src/test/erasure-code/TestErasureCodePluginLrc.cc
src/test/erasure-code/TestErasureCodePluginShec.cc
src/test/erasure-code/ceph_erasure_code.cc
src/test/erasure-code/ceph_erasure_code_benchmark.cc
src/test/erasure-code/ceph_erasure_code_non_regression.cc
src/test/filestore/TestFileStore.cc
src/test/fio/fio_ceph_objectstore.cc
src/test/journal/test_main.cc
src/test/librados/misc.cc
src/test/librados/service.cc
src/test/librbd/managed_lock/test_mock_AcquireRequest.cc
src/test/messenger/simple_client.cc
src/test/messenger/simple_server.cc
src/test/mon/MonMap.cc
src/test/mon/test-mon-msg.cc
src/test/mon/test_mon_workloadgen.cc
src/test/msgr/perf_msgr_client.cc
src/test/msgr/perf_msgr_server.cc
src/test/msgr/test_async_networkstack.cc
src/test/msgr/test_msgr.cc
src/test/objectstore/ObjectStoreTransactionBenchmark.cc
src/test/objectstore/chain_xattr.cc
src/test/objectstore/store_test.cc
src/test/objectstore/store_test_fixture.cc
src/test/objectstore/store_test_fixture.h
src/test/objectstore/test_bluefs.cc
src/test/objectstore/test_idempotent.cc
src/test/objectstore/test_idempotent_sequence.cc
src/test/objectstore/test_kv.cc
src/test/objectstore_bench.cc
src/test/osd/TestOSDMap.cc
src/test/osd/TestOSDScrub.cc
src/test/osd/TestPGLog.cc
src/test/osdc/object_cacher_stress.cc
src/test/rbd_mirror/test_mock_ImageMap.cc
src/test/rbd_mirror/test_mock_LeaderWatcher.cc
src/test/rgw/test_rgw_iam_policy.cc
src/test/test_filejournal.cc
src/test/test_ipaddr.cc
src/test/test_workqueue.cc
src/test/testmsgr.cc
src/tools/ceph_monstore_tool.cc
src/tools/ceph_objectstore_tool.cc
src/tools/ceph_osdomap_tool.cc
src/tools/cephfs/DataScan.cc
src/tools/cephfs/JournalScanner.cc
src/tools/cephfs/JournalTool.cc
src/tools/cephfs/MDSUtility.cc
src/tools/cephfs/Resetter.cc
src/tools/cephfs/TableTool.cc
src/tools/rbd/ArgumentTypes.cc
src/tools/rbd/Utils.cc
src/tools/rbd/action/Create.cc
src/tools/rbd/action/Export.cc
src/tools/rbd/action/Import.cc
src/tools/rbd/action/Kernel.cc
src/tools/rbd/action/List.cc
src/tools/rbd/action/MirrorPool.cc
src/tools/rbd_ggate/main.cc
src/tools/rbd_mirror/ImageSyncThrottler.cc
src/tools/rbd_mirror/ImageSyncThrottler.h
src/tools/rbd_mirror/main.cc
src/tools/rbd_nbd/rbd-nbd.cc