[PATCH V3 0/2] storagevol: add 'nocow' option to vol xml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add 'nocow' option to vol xml, so that user can have a chance to create
a volume with NOCOW flag set on btrfs. It improves performance when the
volume is a file image on btrfs and is used in VM environment.

---
Changes:
  * fix typo in V2
  * add test case for 'nocow', in separate patch 

V2 is here:
  http://www.redhat.com/archives/libvir-list/2014-July/msg00361.html

Chunyan Liu (2):
  storagevol: add nocow to vol xml
  add nocow test case

 docs/formatstorage.html.in                         |  7 +++++
 docs/schemas/storagevol.rng                        |  5 ++++
 src/conf/storage_conf.c                            |  3 ++
 src/storage/storage_backend.c                      | 22 +++++++++++++++
 src/util/virstoragefile.h                          |  1 +
 .../storagevolxml2argvdata/qcow2-nocow-compat.argv |  3 ++
 tests/storagevolxml2argvdata/qcow2-nocow.argv      |  3 ++
 tests/storagevolxml2argvtest.c                     |  6 ++++
 tests/storagevolxml2xmlin/vol-qcow2-nocow.xml      | 32 ++++++++++++++++++++++
 tests/storagevolxml2xmlout/vol-qcow2-nocow.xml     | 31 +++++++++++++++++++++
 10 files changed, 113 insertions(+)
 create mode 100644 tests/storagevolxml2argvdata/qcow2-nocow-compat.argv
 create mode 100644 tests/storagevolxml2argvdata/qcow2-nocow.argv
 create mode 100644 tests/storagevolxml2xmlin/vol-qcow2-nocow.xml
 create mode 100644 tests/storagevolxml2xmlout/vol-qcow2-nocow.xml

-- 
1.8.4.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]