Commit d24f8023 authored by Stefano Garzarella's avatar Stefano Garzarella Committed by Hanna Czenczek
Browse files

block/rbd: increase dynamically the image size



RBD APIs don't allow us to write more than the size set with
rbd_create() or rbd_resize().
In order to support growing images (eg. qcow2), we resize the
image before write operations that exceed the current size.

Signed-off-by: Stefano Garzarella's avatarStefano Garzarella <sgarzare@redhat.com>
Message-id: 20190509145927.293369-1-sgarzare@redhat.com
Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
parent 7d0e0240
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment