diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2019-05-09 16:59:27 +0200 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2019-07-02 03:53:04 +0200 |
commit | d24f80234b39d2d5c0d91e63b5e4569d37b2399e (patch) | |
tree | 495e11674e65301efe548bec2ddb9771c842df40 /block/commit.c | |
parent | 7d0e02405fc02a181319b1ab8681d2f72246b7c6 (diff) |
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 <sgarzare@redhat.com>
Message-id: 20190509145927.293369-1-sgarzare@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions