[rbd driver] slow on create encrypted volumes with temp file import
Bug #2055517 reported by
Rico Lin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Undecided
|
Rico Lin |
Bug Description
When create encrypted volumes, rbd driver will first use qemu-img to create local encryped file, and use rbd import to upload to rbd.
This has two problems:
First, it's slow during the entire file create and upload. And when it comes to large volumes, the performance will get much worse even there just few MB of actual data in it.
Second, we generate temp file just for rbd import, which makes extra disk ios and space consumption.
there is an easier way to do both qemu-img and rbd import with single qemu-img command: https:/
That provides a fix with better performance and saves resources for us.
Changed in cinder: | |
assignee: | nobody → Rico Lin (rico-lin) |
summary: |
- [rbd driver] extremely slow on create encrypted volumes + [rbd driver] slow on create encrypted volumes with temp file import |
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/c/openstack /cinder/ +/910700
Review: https:/