[pve-devel] applied: [PATCH manager] api: osd: destroy: remove mclock max iops settings

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Nov 17 08:09:44 CET 2023


Am 08/11/2023 um 13:10 schrieb Aaron Lauterer:
> Ceph does a quick benchmark when creating a new OSD and stores the
> osd_mclock_max_capacity_iops_{ssd,hdd} settings in the config DB.
> 
> When destroying the OSD, Ceph does not automatically remove these
> settings. Keeping them can be problematic if a new OSD with potentially
> more performance is added and ends up getting the same OSD ID.
> 
> Therefore, we remove these settings ourselves when destroying an OSD.
> Removing both variants, hdd and ssd should be fine, as the MON does not
> complain if the setting does not exist.
> 
> Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
> ---
>  PVE/API2/Ceph/OSD.pm | 4 ++++
>  1 file changed, 4 insertions(+)
> 
>

applied, with Maximiliano's T-b, thanks!





More information about the pve-devel mailing list