[important]cinder volumes lvm iscsi use io=native default?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Arthur Dayne |
Bug Description
Description
===========
when i'm using cinder volumes , and use lvm as backend, i want to enhance my disk performance in my case, i boot my guest with volumes, and when change the cachemode to block=writethrough or blcok=writeback, then nova-compute will rasie: `libvirtError: unsupported configuration: native I/O needs either no disk cache or directsync cache mode, QEMU will fallback to aio=threads`
i found that in `nova/virt/
the code is:
`def get_config(self, connection_info, disk_info):
"""Returns xml for libvirt."""
conf = super(LibvirtIS
conf.
conf.
conf.driver_io = "native"
return conf`
why here specify the driver_io to native , do i have chance to change it back to `threads` in the conf?
Steps to reproduce
==================
nova.conf:
disk_cachemodes = file=default,
restart nova-compute
Expected result
===============
guest can normally started
Actual result
=============
I/O needs either no disk cache or directsync cache mode, QEMU will fallback to aio=threads`
Environment
===========
1. Exact version of OpenStack you are running. See the following
nova-
stable queens build from source.
2. Which hypervisor did you use?
libvirt-qemu x86_64
2. Which storage type did you use?
lvm
3. Which networking type did you use?
flat linux-bridge
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
status: | In Progress → New |
summary: |
- cinder volumes lvm iscsi use io=native default? + [important]cinder volumes lvm iscsi use io=native default? |
Please see the review https:/ /review. opendev. org/#/c/ 682772/