Bug 1342626 - [Docs][VMM]Explain viodiskcache writeback/writethrough options and the supportability on file and block-based domains (currently works on file based only)
Summary: [Docs][VMM]Explain viodiskcache writeback/writethrough options and the suppor...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: Documentation
Version: 3.6.5
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: ovirt-4.1.11
: ---
Assignee: rhev-docs@redhat.com
QA Contact: rhev-docs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-03 17:32 UTC by Gordon Watson
Modified: 2019-11-14 08:16 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-29 05:22:44 UTC
oVirt Team: Docs
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1305886 0 medium CLOSED [RFE] Move to IO=native everywhere (AIO is processing only 1 request, even if >1 requests in virtio - RHEV-M) 2021-02-22 00:41:40 UTC

Internal Links: 1305886

Description Gordon Watson 2016-06-03 17:32:08 UTC
Description of problem:

Via 'Custom Properties', a VM can be edited and the 'viodiskcache' property set. If this is set to either 'writeback' or 'writethrough', this will only apply to file-based storage volumes.

For block-based storage, if 'virtio' is used, the VM will fail to start, reporting "unsupported configuration: native I/O needs either no disk cache or directsync cache mode, QEMU will fallback to aio=threads".

If 'virtio-scsi' is used, the VM will start but the block-based disk will resort to 'cache=none' and 'aio=native'. Any file-based volumes will in this case be set to 'cache=writeback' and 'aio=threads'.

The reason for this is that 'aio=threads' needs to be set for block-based storage and there is no way to set this in the RHEV Admin Portal.



Version-Release number of selected component (if applicable):

RHEV 3.x


How reproducible:

Every time.



Steps to Reproduce:
1. Create VM with a block-based 'virtio' or 'virtio-scsi' disk.
2. Set 'viodiskcache' to 'writeback'.
3. Start VM.


Actual results:


Expected results:


Additional info:

Comment 11 Yaniv Lavi 2016-12-14 14:02:45 UTC
Can you please open a bug on RHEL to block this one to support caching on io native?

Comment 14 Yaniv Kaul 2017-10-20 16:22:15 UTC
This is targeted to 4.1.6 which was already released?

Comment 26 Lucy Bopf 2018-06-14 00:40:25 UTC
PM has confirmed that the content of the KCS referenced from the docs is accurate.

The KCS is published, and is referenced in the following places:

https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.1/html-single/virtual_machine_management_guide/#Virtual_Machine_Custom_Properties_settings_explained

https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.1/html-single/virtual_machine_management_guide/#Virtual_Machine_Run_Once_settings_explained

I can't see any other pending updates, so if there are no further requirements for updating the documentation here, we will close this BZ. Gordon, can you take a look and confirm that this satisfies your original request?

Comment 27 Gordon Watson 2018-06-15 13:57:11 UTC
Lucy,

As long as the information in the KCS is valid, as has been confirmed, and as long as this is now referenced in the Docs, which it is, then you can close this bug.

Thanks, GFW.

Comment 28 Lucy Bopf 2018-06-29 05:22:44 UTC
Thanks for confirming!

Moving this one to CLOSED.


Note You need to log in before you can comment on or make changes to this bug.