ceph/src
Kefu Chai 4718b7cb2f common,rbd,rgw,osd: extract config values into ConfigValues
this change introduce three classes: ConfigValues, ConfigProxy and
ConfigReader. in seastar port of OSD, each CPU shard will hold its own
reference of configuration, and upon changes of settings, each
shard will be updated with the new setting in async. so this forces us
to be able to keep two set of configuration at the same time. so we
need to extract the changeable part of md_config_t out. so we can
replace the old one with new one on demand, and let different shards
share the same unchanged part, amon the other things, the Options map
and the lookup tables. that's why we need ConfigValues. we will add
a policy template for this class, so we can specialize for Seastar
implementation to allow different ConfigProxy instances to point
md_config_impl<> to different ConfigValues.

because the observer interface is still using md_config_t, to minimise
the impact of this change, handle_conf_change() and
handle_subsys_change() are not changed. but as it accepts a `const
md_config_t`, which cannot be used to create/reference the ConfigProxy
holding it, we need to introduce ConfigReader for reading the updated
setting from md_config_t in a simpler way, without exposing the
internal "values" member variable.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-10 22:51:22 +08:00
..
arch
auth common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
bash_completion
blkin@f24ceec055
ceph-volume Merge pull request #22828 from ceph/wip-conf-error-message 2018-07-03 11:28:55 -04:00
civetweb@6062892715 civetweb: update for url validation fixes 2018-06-21 10:40:01 +02:00
client common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
cls Merge PR #22863 into master 2018-07-06 13:51:30 -05:00
common common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
compressor Merge pull request #22007 from dalgaaf/wip-da-SCA-20180514 2018-06-28 23:39:55 +08:00
crimson crimson/thread: pin thread pool to given CPU 2018-06-30 01:33:55 +08:00
crush common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
crypto include/memory.h: remove memory.h 2018-06-26 17:52:04 +08:00
dmclock@c4334e5688
doc
erasure-code
global common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
googletest@fdb8504792
include Merge remote-tracking branch 'private/wip-cx' 2018-07-09 08:07:29 -05:00
isa-l@7e1a337433
java test,qa: s/.libs/lib/ 2018-06-26 22:36:09 +08:00
journal
json_spirit
key_value_store
kv common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
librados common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
libradosstriper
librbd common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
log common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
lua@1fce39c639
mds common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
messages osd/OSDMap: make cluster addrs addrvecs too 2018-07-03 13:01:23 -05:00
mgr common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
mon common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
mount
msg common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
objclass
objsync
ocf
os common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
osd common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
osdc common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
perfglue common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
powerdns
pybind Merge remote-tracking branch 'private/wip-mon-snap-caps' 2018-07-09 08:29:32 -05:00
rapidjson@f54b0e47a0
rbd_fuse
rbd_replay
rgw common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
rocksdb@9090ae3ecf
script Merge pull request #21634 from smithfarm/wip-bci-complain-dupe 2018-06-29 10:47:12 +02:00
seastar@9c32e23e72 seastar: add seastar as a submodule 2018-06-08 20:58:15 +08:00
spdk@7d45ab345d spdk: update to latest spdk-18.05 branch 2018-06-14 09:34:01 +08:00
telemetry
test common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
tools common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
tracing librados: add namespace getter to IoCtx API 2018-06-21 08:33:17 -04:00
upstart upstart: remove ceph-disk activation call 2018-06-13 15:16:25 -04:00
xxHash@1f40c6511f
zstd@f4340f46b2
.gitignore
btrfs_ioc_test.c
ceph_common.sh
ceph_fuse.cc
ceph_mds.cc mds: addr -> addrvec 2018-07-03 13:01:24 -05:00
ceph_mgr.cc
ceph_mon.cc common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
ceph_osd.cc common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
ceph_release
ceph_syn.cc common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
ceph_ver.c
ceph_ver.h.in.cmake
ceph-clsinfo
ceph-coverage.in
ceph-create-keys
ceph-debugpack.in
ceph-osd-prestart.sh
ceph-post-file.in
ceph-rbdnamer
ceph-run
ceph.conf.twoosds
ceph.in src/ceph.in: dev mode: add build path to beginning of PATH, not end 2018-06-19 16:02:51 -07:00
cls_acl.cc
cls_crypto.cc
CMakeLists.txt common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
cmonctl
etc-rbdmap
init-ceph.in init-ceph: remove ceph-disk 2018-06-13 15:16:23 -04:00
init-radosgw
init-rbdmap
krbd.cc common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
libcephfs.cc common,rbd,rgw,osd: extract config values into ConfigValues 2018-07-10 22:51:22 +08:00
librados-config.cc
loadclass.sh
logrotate.conf
mount.fuse.ceph
mrgw.sh
mrun
mstart.sh
mstop.sh mstop.sh: Fix print information 2018-06-11 18:44:58 +08:00
multi-dump.sh
perf_histogram.h
ps-ceph.pl tool remove ceph-disk from ps-ceph.pl 2018-06-13 15:16:22 -04:00
push_to_qemu.pl
rbd-replay-many
rbdmap
README
sample.ceph.conf osd/filestore: Change default filestore_merge_threshold to -1 2018-06-29 11:45:12 -04:00
stop.sh
TODO
unittest_bufferlist.sh
valgrind.supp
vstart.sh mgr/dashboard: auth: remove single user authentication 2018-06-26 12:28:53 +01:00
yasm-wrapper

Sage Weil <sage@newdream.net>
Ceph - scalable distributed storage system