Files
puppet-prod/site/profiles/manifests
unkinben 804ea06499 ceph: set OSD disk I/O scheduler to none via udev rule (#505)
## Why

Ceph OSDs manage their own I/O ordering, so the kernel scheduler on the backing disks just adds overhead. The original intent was to set those disks to the `noop` scheduler. The whole OSD fleet (k8s + incus nodes) runs AlmaLinux 9 on blk-mq kernels (5.14), where the equivalent of `noop` is `none`.

## Changes

- Add `profiles::ceph::osd_scheduler`, rendering a udev rule from the `ceph_osd_devices` fact (PR #504) that pins `queue/scheduler` to `none` on each OSD disk.
- Reload udev and trigger the matched block devices so the setting applies immediately; the udev rule keeps it set across reboots and device re-add.
- No-op when the fact is absent/empty, so VMs and non-OSD hosts are untouched.
- Include the class from `profiles::ceph::osd` so it lands only on OSD hosts.

https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT
---------

Co-authored-by: BenVincent <benvin@main.unkin.net>
Reviewed-on: #505
Co-authored-by: Ben Vincent <ben@unkin.net>
Co-committed-by: Ben Vincent <ben@unkin.net>
2026-08-08 22:33:29 +10:00
..
2024-04-13 22:34:28 +10:00
2025-07-06 11:27:35 +10:00
2023-11-17 22:17:24 +11:00
2025-06-29 13:36:16 +10:00
2026-01-03 21:51:47 +11:00
2024-06-01 22:51:42 +10:00
2024-07-01 22:54:22 +10:00
2025-06-15 17:43:19 +10:00
2024-03-16 16:43:12 +11:00
2024-07-08 22:33:11 +10:00
2023-11-17 22:25:43 +11:00
2024-08-06 22:33:32 +10:00
2025-04-24 16:51:31 +10:00
2025-04-24 23:03:01 +10:00
2024-07-28 01:51:41 +10:00