Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
virt-manager
virtinst-vol-default-nocow.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File virtinst-vol-default-nocow.patch of Package virt-manager
Set NOCOW flag to newly created volume by default, to solve performance issue on btrfs. Signed-off-by: Chunyan Liu <cyliu@suse.com> Index: virt-manager-1.0.1/virtinst/storage.py =================================================================== --- virt-manager-1.0.1.orig/virtinst/storage.py +++ virt-manager-1.0.1/virtinst/storage.py @@ -658,6 +658,11 @@ class StorageVolume(_StorageObject): lazy_refcounts = XMLProperty("./target/features/lazy_refcounts", is_bool=True, default_cb=_lazy_refcounts_default_cb) + def _nocow_default_cb(self): + return True + nocow = XMLProperty("./target/nocow", + is_bool=True, default_cb=_nocow_default_cb) + ###################### # Public API helpers #
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor