Specify image size to avoid backend resize

Registered by Liang Fang

When uploading a volume to glance as an image, the glance server don't know the image size, so the backend storage server(such as ceph) need to resize the image every time it received new chunk of data(by default 64K). So there will be huge times of resize operations that will terribly impact the performance. This BP aims to tell the image size to glance server at the initial phase of uploading, so that glance backend such as ceph can allocate an image with exact size, and don't need to resize the image again and again

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Liang Fang
Direction:
Needs approval
Assignee:
Liang Fang
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bug/1792710,n,z

Addressed by: https://review.openstack.org/609997
    WIP: solution 2 of convey image size to glance

Gerrit topic: https://review.openstack.org/#/q/topic:bug/1792710

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.