mirror of https://github.com/apache/cloudstack.git
Merge branch '4.16'
This commit is contained in:
commit
c3854ba781
|
|
@ -82,10 +82,12 @@ public class KvmNonManagedStorageDataMotionStrategy extends StorageSystemDataMot
|
|||
*/
|
||||
@Override
|
||||
protected StrategyPriority internalCanHandle(Map<VolumeInfo, DataStore> volumeMap, Host srcHost, Host destHost) {
|
||||
if (super.internalCanHandle(volumeMap, srcHost, destHost) != StrategyPriority.CANT_HANDLE
|
||||
|| canHandleKVMNonManagedLiveNFSStorageMigration(volumeMap, srcHost, destHost) != StrategyPriority.CANT_HANDLE) {
|
||||
if (super.internalCanHandle(volumeMap, srcHost, destHost) != StrategyPriority.CANT_HANDLE) {
|
||||
return StrategyPriority.CANT_HANDLE;
|
||||
}
|
||||
if (canHandleKVMNonManagedLiveNFSStorageMigration(volumeMap, srcHost, destHost) != StrategyPriority.CANT_HANDLE) {
|
||||
return StrategyPriority.HYPERVISOR;
|
||||
}
|
||||
|
||||
Set<VolumeInfo> volumeInfoSet = volumeMap.keySet();
|
||||
for (VolumeInfo volumeInfo : volumeInfoSet) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue