Support setting rotation_rate on volumes
QEMU (and in turn libvirtd since 7.3.0) has a flag called rotation_rate to set the speed of attached disk. A speed of 1 can be used to indicate a disk is an SSD.
This is important for some workloads (like Ceph) that use the rotation_rate to determine whether a drive is an SSD and change the performance characteristics based on this.
To support this use case I would like to support setting the rotation_rate flag based on the connection_info from a Cinder volume driver. The volume driver can then populate this based on information of the underlying storage platform. In our case based on a internal NVMe over Fabrics platform that is used to expose physical harddrives and SSDs as whole disks.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Marlin Cremers
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
libvirt: set rotation rate on disks based on rotation rate from volume