libvirt: better performance for resizing backing files
Bug #1087031 reported by
Vish Ishaya
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Michael Still |
Bug Description
Currently backing files are resized (from <uuid> to <uuid>_40 for example) using a copy, which is extremely slow. It would be nice to either:
a) allow resizing by making the <uuid>_40 a qcow image with <uuid> as a backing file and performing a resize on the qcow.
of
b) allow the disk file to directly back to <uuid> and perform the resize on disk directly
both of these have some concerns when relating to image cache cleanup, but overall option b) seems far better. It also makes resizing the image later much easier.
Changed in nova: | |
assignee: | nobody → Michael Still (mikalstill) |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in nova: | |
status: | Triaged → In Progress |
Changed in nova: | |
milestone: | none → grizzly-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-2 → 2013.1 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/18276 github. com/openstack/ nova/commit/ c82be9f4b997d25 2cfc84350a067a6 4d6d4b380b
Committed: http://
Submitter: Jenkins
Branch: master
commit c82be9f4b997d25 2cfc84350a067a6 4d6d4b380b
Author: Michael Still <email address hidden>
Date: Mon Dec 17 14:56:19 2012 +1100
libvirt: Skip intermediate base files with qcow2.
Instead of having two files in _base (the original and a resized
copy), let's just keep the originals and resize with the qcow2
image in the instance's directory. This will reduce the size of
_base and simplify cleanup. This also simplifies resizing of
instance disk images later.
Resolves bug 1087031.
Change-Id: Id91426e3cb9f75 f31339b5156785e 3782a4cb98f