]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/config: extract "changed" from md_config_impl<> to ConfigValues
authorKefu Chai <kchai@redhat.com>
Sun, 15 Jul 2018 11:51:46 +0000 (19:51 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 24 Jul 2018 02:17:48 +0000 (10:17 +0800)
commitca3a52938d109e28dc7e1879b812860dbc72a572
tree7f2243ef0ac77fbf1ae8cbcca3e274dc2396238a
parent9bfc03672063e86b0a1391b35a33e31193575214
common/config: extract "changed" from md_config_impl<> to ConfigValues

for the same reason why we moved ObserverMgr out of md_config_impl<>,
"changed" cannot be shared among shards, we should move "changed" out of
md_config_impl. we can put "changed" into ConfigValues or
ConfigProxy, IMHO, it would be simpler if "changed" resides in
ConfigValues: less fragmented this way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/config.cc
src/common/config.h
src/common/config_values.h