nova/nova/virt
Jens Harbott c77c3eb61c 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.

Conflicts:
        nova/privsep/utils.py
        - supports_direct_io() is still in
          nova/virt/libvirt/driver.py for this branch

Change-Id: I5151ae01e90506747860d9780547b0d4ce91d8bc
Closes-Bug: 1801702
Co-Authored-By: Alexandre Arents <alexandre.arents@corp.ovh.com>
(cherry picked from commit 14d98ef1b4)
(cherry picked from commit ba844f2a7c)
2019-01-18 18:17:50 +01:00
..
disk libvirt: Report the allocated size of preallocated file based disks 2018-04-17 23:52:23 +01:00
hyperv hyperv: Fixes Generation 2 VMs volume boot order 2017-08-11 17:13:16 +00:00
image libvirt: virtuozzo instance resize support 2016-06-28 22:13:49 +03:00
ironic Re-use existing ComputeNode on ironic rebalance 2018-10-03 17:20:05 -04:00
libvirt Make supports_direct_io work on 4096b sector size 2019-01-18 18:17:50 +01:00
vmwareapi [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
xenapi Merge "XenAPI: Create linux bridge in dest host during live migration" into stable/ocata 2017-08-11 18:24:12 +00:00
__init__.py Declare nova.virt namespace 2016-04-28 15:01:44 +00:00
block_device.py libvirt: Block swap volume attempts with encrypted volumes prior to Queens 2018-04-18 19:57:30 +00:00
configdrive.py Fixes python 3 unit tests 2016-09-23 20:10:24 +00:00
diagnostics.py [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
driver.py Re-use existing ComputeNode on ironic rebalance 2018-10-03 17:20:05 -04:00
event.py Add 'suspended' lifecycle event 2015-04-03 03:59:20 +03:00
fake.py Re-use existing ComputeNode on ironic rebalance 2018-10-03 17:20:05 -04:00
firewall.py Fix spelling mistake 2016-06-28 08:41:09 +02:00
hardware.py objects: add new field cpuset_reserved in NUMACell 2017-01-24 19:37:55 +00:00
imagecache.py Rename ImageCacheManager._list_base_images to _scan_base_images 2016-05-26 14:45:42 +01:00
images.py libvirt: handle DiskNotFound during update_available_resource 2018-06-01 16:44:32 +01:00
interfaces.template
netutils.py Limit exposure of network device types to the guest. 2017-06-21 15:56:16 +00:00
osinfo.py Do not attempt to load osinfo if we do not have os_distro 2017-03-30 05:11:40 +00:00
storage_users.py Use oslo.log 2015-02-22 07:56:40 -05:00
virtapi.py Remove unused provider firewall rules functionality in nova 2016-02-01 15:50:04 +01:00
volumeutils.py nova.utils._get_root_helper() should be public 2015-08-19 04:00:50 +00:00