← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1664123] Re: glance rbd store fill zero to the hole of a rbd

 

** Project changed: glance => glance-store

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1664123

Title:
  glance rbd store fill zero to the hole of a rbd

Status in glance_store:
  New

Bug description:
  Right now, glance_store use python binding to do some thing with rbd.
  When upload rbd image. Because most of all rbd images are sparse. The
  glance_store does not distinguish hole and will fill zero into hole to 
  rbd. 

  So, if you use openstack cli to upload a raw image to glance rbd
  store, you will find it is too slow.Because it will fill zero to all
  the sparse space of raw image to rbd.

  I think, we should add check logic into glance_store. 
  Because glance send the image
  to store, glance needs to keep the sparse of the image.
  The user can specify the check size of sparse.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance-store/+bug/1664123/+subscriptions