commit e320bb8942f6737969ed58e732de26bdcb528a84
Author: Lucas Alvares Gomes <email address hidden>
Date: Tue Oct 13 17:31:46 2015 +0100
Add support for streaming raw images directly onto the disk
This patch adds support for streaming a raw image directly onto the disk,
that means no more time spent writing the image to a tmpfs partition prior
to copying it to the disk. Checksum computation is also done as the image
is being streamed. Streaming raw images is disabled by default, however
this behavior can be enabled by passing a key called "stream_raw_images"
with the value of True to the prepare_image() command of IPA.
For non-raw images this may not be possible, not sure about all image
file formats, but common types such as qcow2 requires random access to
the image file in order to be converted to raw.
Reviewed: https:/ /review. openstack. org/234339 /git.openstack. org/cgit/ openstack/ ironic- python- agent/commit/ ?id=e320bb8942f 6737969ed58e732 de26bdcb528a84
Committed: https:/
Submitter: Jenkins
Branch: master
commit e320bb8942f6737 969ed58e732de26 bdcb528a84
Author: Lucas Alvares Gomes <email address hidden>
Date: Tue Oct 13 17:31:46 2015 +0100
Add support for streaming raw images directly onto the disk
This patch adds support for streaming a raw image directly onto the disk,
that means no more time spent writing the image to a tmpfs partition prior
to copying it to the disk. Checksum computation is also done as the image
is being streamed. Streaming raw images is disabled by default, however
this behavior can be enabled by passing a key called "stream_raw_images"
with the value of True to the prepare_image() command of IPA.
For non-raw images this may not be possible, not sure about all image
file formats, but common types such as qcow2 requires random access to
the image file in order to be converted to raw.
Closes-Bug: #1505685 bbd3065a97064cb 5a3602cfe18
Change-Id: Iddf67907bc9b54