Storwize: get list of all volumes for ensure_export.
This patch solves the problem of too slow initialization of
cinder-volume service.
Previously lsvdisk() was called separately for each 'in-use' volume
in order to check if the volume exists on the storage.
Now lsvdisk() is called once per pool.
Reviewed: https:/ /review. openstack. org/546489 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=d5f79c52d88 6e962e1e42af4d8 92b35eec5bb81f
Committed: https:/
Submitter: Zuul
Branch: master
commit d5f79c52d886e96 2e1e42af4d892b3 5eec5bb81f
Author: Margarita Shakhova <email address hidden>
Date: Wed Feb 21 07:50:47 2018 +0300
Storwize: get list of all volumes for ensure_export.
This patch solves the problem of too slow initialization of
cinder-volume service.
Previously lsvdisk() was called separately for each 'in-use' volume
in order to check if the volume exists on the storage.
Now lsvdisk() is called once per pool.
Change-Id: Ia84afc12a30ea7 b714b287844e81b a02ce4b0f3d
Closes-Bug: #1749687