diff options
author | Victor Coutellier <victor.coutellier@gmail.com> | 2020-05-29 13:54:26 +0200 |
---|---|---|
committer | Dan Smith <dansmith@redhat.com> | 2020-08-21 07:02:43 -0700 |
commit | 201d85b4eab9ffa4aa0aacf6c21e03a771173da4 (patch) | |
tree | ec8fb385ca4cb2c8a2896d8261eeb120f23cc9d7 /releasenotes | |
parent | c43f19e8456b9e20f03709773fb2ffdb94807a0a (diff) | |
download | glance_store-201d85b4eab9ffa4aa0aacf6c21e03a771173da4.tar.gz |
Handle sparse images in glance_store
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 <gregoire.unbekandt@gmail.com>
Partially Implements: blueprint handle-sparse-image
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/handle-sparse-image-a3ecfc4ae1c00d48.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
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. |