Feature #44011
openallow setting osd_memory_target per device class
0%
Description
We are using a deployment where a flat osd_memory_target is not suitable. It would be very helpful if it was possible to assign a memory target based on device class, for example, with a command like
ceph config set class.ssd osd_memory_target 8589934592
Reasons for this feature:
- When deploying OSDs in an automated way (auto-discovery, random order) it is not possible to assign individual memory-targets a-priory. Using device-class settings would allow at least some control over initial assignments and reduce the amount of post-deployment tasks.
- If one uses several different memory targets for large groups of OSDs, the output of "ceph config dump" gets unnecessarily polluted with settings that would naturally apply to entire device classes.
Changing a device class should update this setting at run-time, see also https://tracker.ceph.com/issues/44010 .