On 18-01-05 10:13 PM, Sage Weil wrote:
This brings up another longstanding issue: most of our config options have a daemon type prefix in the name, e.g. osd_objectstore, mds_cache_size, or (more confusingly) things like mon_osd_full_ratio and osd_crush_chooseleaf_type (both mon options that affect the mon's initial OSDMap creation only). Is there a way we can realistically rename some of these options, perhaps as part of the ceph.conf -> mon config transition? Then we would end up with configs more like mon/crush_chooseleaf_type = foo mon/initial_osd_full_ratio = ... mds/cache_size = ... osd/objectstore = bluestore and so on.
Maybe it's worth implementing some sort of automatic renaming and outputting deprecation warnings? I imagine it'd be easier for everyone if both forms would work just fine, but the old form would spew a bunch of warnings, like
* WARNING: "osd objectstore" is deprecated, you should change your config to use "osd/objectstore" instead.
Warnings always annoy admins and they'll clean them up eventually, the other benefit is that the sky won't fall for anybody upgrading to new config.
-- Piotr Dałek piotr.dalek@xxxxxxxxxxxx https://www.ovh.com/us/ -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html