Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get list of disks to copy early to avoid multiple DB hits
To support selective block migration we need to read block devices from nova block device mappings instead of libvirt block info. It means that in current implementation we would call _live_migration_copy_disk_paths two times - from live_migration_operations and from live_migration_monitor. To avoid that this change gets disk paths early and pass them as and additional paremeter to live migration monitor. Change-Id: Ic894cfc7374ba06b436b2a76a5984012d1dba3a5 Related-bug: #1398999
- Loading branch information
1 parent
a237fc8
commit f0d5fc6
Showing
2 changed files
with
30 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters