glance_store/releasenotes/notes/handle-sparse-image-a3ecfc4ae1c00d48.yaml
Victor Coutellier 201d85b4ea 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
2020-08-21 07:02:43 -07:00

16 lines
664 B
YAML

---
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.