Wrong discard_granurality and discard_max_bytes reported in guest OS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned |
Bug Description
Assuming we have configured everything correctly in OpenStack to use discard on Cinder block devices and we have checked that discard works, the wrong values for discard_
We can confirm this by checking the values on the host and the guest and see that they don't match:
- `/sys/block/
- `/sys/block/
The problem is that there is no code in Nova to set these values in libvirt, nor does Cinder or os-brick have any code to detect the right values to set.
The libvirt fuctionality to set `discard_