commit f18cb6374e68e4d904125e9d99b809354fbdf9ee
Author: Xing Yang <email address hidden>
Date: Tue Aug 25 00:46:53 2015 -0400
CG driver function should not access db
Currently the following CG driver interfaces don't pass in volumes
or snapshots to the driver. As a result, drivers have to retrieve info
from db. In this patch, these interfaces are changed so that drivers
don't have to access db.
Removing the access to db from driver CG functions will be handled by
separate patches.
Reviewed: https:/ /review. openstack. org/229580 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=f18cb6374e6 8e4d904125e9d99 b809354fbdf9ee
Committed: https:/
Submitter: Jenkins
Branch: master
commit f18cb6374e68e4d 904125e9d99b809 354fbdf9ee
Author: Xing Yang <email address hidden>
Date: Tue Aug 25 00:46:53 2015 -0400
CG driver function should not access db
Currently the following CG driver interfaces don't pass in volumes
or snapshots to the driver. As a result, drivers have to retrieve info
from db. In this patch, these interfaces are changed so that drivers
don't have to access db.
Removing the access to db from driver CG functions will be handled by
separate patches.
* create_ consistencygrou p consistencygrou p
* delete_
* create_cgsnapshot
* delete_cgsnapshot
Change-Id: I63287fd43927fc 09dad77292ecfe5 61917f7bda5
Closes-Bug: #1501466