nova/nova/privsep
Jens Harbott 386e574f4a 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>
(cherry picked from commit 14d98ef1b4)
2018-11-21 14:14:22 +00:00
..
__init__.py Squash dacnet_admin privsep context. 2017-09-18 23:17:35 +10:00
fs.py Revert "Re-using the code of os brick cinder" 2018-06-18 13:23:14 +00:00
idmapshift.py Move the idmapshift binary into privsep. 2017-10-24 18:50:23 +11:00
libvirt.py remove IVS plug/unplug as they're moved to separate plugin 2018-05-09 06:02:51 -07:00
path.py Move last_bytes into the path module 2017-11-06 10:30:21 +02:00
qemu.py Move image conversion to privsep. 2018-05-15 10:09:01 -04:00
utils.py Make supports_direct_io work on 4096b sector size 2018-11-21 14:14:22 +00:00
xenapi.py Move xenapi partition copies to privsep. 2018-04-13 07:19:39 +10:00