From 201d85b4eab9ffa4aa0aacf6c21e03a771173da4 Mon Sep 17 00:00:00 2001 From: Victor Coutellier Date: Fri, 29 May 2020 13:54:26 +0200 Subject: Handle sparse images in glance_store MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add new configuration option ``rbd_thin_provisioning`` and ``filesystem_thin_provisioning`` to rbd and filesystem store to enable or not sparse upload. A sparse file means that we do not actually write null byte sequences but only the data itself at a given offset, the "holes" which can appear will automatically be interpreted by the storage backend as null bytes, and do not really consume your storage. Change-Id: I129e30f490e3920e9093c2b793f89b70ce310a50 Co-Authored-By: Grégoire Unbekandt Partially Implements: blueprint handle-sparse-image --- .../notes/handle-sparse-image-a3ecfc4ae1c00d48.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 releasenotes/notes/handle-sparse-image-a3ecfc4ae1c00d48.yaml (limited to 'releasenotes') diff --git a/releasenotes/notes/handle-sparse-image-a3ecfc4ae1c00d48.yaml b/releasenotes/notes/handle-sparse-image-a3ecfc4ae1c00d48.yaml new file mode 100644 index 0000000..6122051 --- /dev/null +++ b/releasenotes/notes/handle-sparse-image-a3ecfc4ae1c00d48.yaml @@ -0,0 +1,15 @@ +--- +features: + - | + Add new configuration option ``rbd_thin_provisioning`` and + ``filesystem_thin_provisioning`` to rbd and filesystem + store to enable or not sparse upload, default are False. + + A sparse file means that we do not actually write null byte sequences + but only the data itself at a given offset, the "holes" which can + appear will automatically be interpreted by the storage backend as + null bytes, and do not really consume your storage. + + Enabling this feature will also speed up image upload and save + network traffic in addition to save space in the backend, as null + bytes sequences are not sent over the network. -- cgit v1.2.1