Commits related to taking snapshots that live on primary storage
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/97aa02ce Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/97aa02ce Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/97aa02ce Branch: refs/heads/hotfix/CLOUDSTACK-7776 Commit: 97aa02ceb00d8fc252d1780d30f6a25ae680892f Parents: 70112bd c7aa9b4 Author: Mike Tutkowski <mike.tutkow...@solidfire.com> Authored: Wed Oct 22 12:42:23 2014 -0600 Committer: Mike Tutkowski <mike.tutkow...@solidfire.com> Committed: Wed Oct 22 12:44:33 2014 -0600 ---------------------------------------------------------------------- api/src/com/cloud/agent/api/to/DiskTO.java | 1 + api/src/com/cloud/storage/Volume.java | 5 - .../storage/resource/StorageProcessor.java | 7 +- .../StorageSubsystemCommandHandlerBase.java | 4 + .../storage/command/SnapshotAndCopyAnswer.java | 41 +++ .../storage/command/SnapshotAndCopyCommand.java | 60 ++++ .../service/VolumeOrchestrationService.java | 5 +- .../api/storage/PrimaryDataStoreDriver.java | 4 +- .../subsystem/api/storage/VolumeService.java | 4 +- .../com/cloud/vm/VirtualMachineManagerImpl.java | 2 +- .../orchestration/VolumeOrchestrator.java | 13 +- .../motion/StorageSystemDataMotionStrategy.java | 72 +++++ .../test/FakePrimaryDataStoreDriver.java | 4 +- .../SnapshotStateMachineManagerImpl.java | 2 +- .../snapshot/StorageSystemSnapshotStrategy.java | 296 +++++++++++++------ .../storage/volume/VolumeServiceImpl.java | 12 +- .../kvm/storage/KVMStorageProcessor.java | 9 + .../resource/SimulatorStorageProcessor.java | 9 + .../resource/VmwareStorageProcessor.java | 9 + .../xenserver/resource/CitrixResourceBase.java | 5 +- .../resource/XenServerStorageProcessor.java | 65 ++++ .../ElastistorPrimaryDataStoreDriver.java | 4 +- .../CloudStackPrimaryDataStoreDriverImpl.java | 4 +- .../driver/NexentaPrimaryDataStoreDriver.java | 4 +- .../SamplePrimaryDataStoreDriverImpl.java | 4 +- .../driver/SolidFirePrimaryDataStoreDriver.java | 145 ++++----- .../storage/datastore/util/SolidFireUtil.java | 109 ++++++- .../com/cloud/storage/VolumeApiServiceImpl.java | 10 +- .../com/cloud/template/TemplateManagerImpl.java | 36 ++- server/src/com/cloud/vm/UserVmManagerImpl.java | 2 +- 30 files changed, 731 insertions(+), 216 deletions(-) ----------------------------------------------------------------------