nova/releasenotes/notes/bug-1801702-c8203d3d55007deb.yaml
Jens Harbott 14d98ef1b4 Make supports_direct_io work on 4096b sector size
The current check uses an alignment of 512 bytes and will fail when the
underlying device has sectors of size 4096 bytes, as is common e.g. for
NVMe disks. So use an alignment of 4096 bytes, which is a multiple of
512 bytes and thus will cover both cases.

Change-Id: I5151ae01e90506747860d9780547b0d4ce91d8bc
Closes-Bug: 1801702
Co-Authored-By: Alexandre Arents <alexandre.arents@corp.ovh.com>
2018-11-13 02:17:32 +00:00

9 lines
323 B
YAML

---
fixes:
- |
When testing whether direct IO is possible on the backing storage
for an instance, Nova now uses a block size of 4096 bytes instead
of 512 bytes, avoiding issues when the underlying block device has
sectors larger than 512 bytes. See bug
https://launchpad.net/bugs/1801702 for details.