aboutsummaryrefslogtreecommitdiff
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorJeff Cody <jcody@redhat.com>2014-01-24 09:02:36 -0500
committerKevin Wolf <kwolf@redhat.com>2014-01-24 16:12:49 +0100
commit4da83585961631bfc10831dd26c4afda2a8b23e8 (patch)
tree2096539ca609557c60a1867a570b11aa6a25a4d0 /hmp-commands.hx
parent72706ea4cd38bfcb151265df0178ba21863d7518 (diff)
block: resize backing image during active layer commit, if needed
If the top image to commit is the active layer, and also larger than the base image, then an I/O error will likely be returned during block-commit. For instance, if we have a base image with a virtual size 10G, and a active layer image of size 20G, then committing the snapshot via 'block-commit' will likely fail. This will automatically attempt to resize the base image, if the active layer image to be committed is larger. Signed-off-by: Jeff Cody <jcody@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Benoit Canet <benoit@irqsave.net> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
0 files changed, 0 insertions, 0 deletions