[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-20 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cloudstack/pull/1403 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-17 Thread swill
Github user swill commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-219702269 this one is ready... --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-17 Thread swill
Github user swill commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-219702190 ### CI RESULTS ``` Tests Run: 85 Skipped: 0 Failed: 0 Errors: 0 Duration: 4h 20m 17s ```

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-13 Thread jburwell
Github user jburwell commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-219148309 @DaanHoogland in my experience, stack traces are a critical piece of information for operationally debugging CloudStack. Unfortunately, our logging lacks the

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-13 Thread mike-tutkowski
Github user mike-tutkowski commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-219146275 @jburwell @DaanHoogland I have a solution for quickly looking up if a cluster supports resigning that I think we'll all be happy with. Upon a host

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-13 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63140242 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -361,59 +600,205 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-13 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63139458 --- Diff: engine/schema/src/com/cloud/dc/dao/ClusterDaoImpl.java --- @@ -260,4 +268,41 @@ public boolean remove(Long id) {

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-13 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63138267 --- Diff: engine/schema/src/com/cloud/dc/dao/ClusterDaoImpl.java --- @@ -260,4 +268,41 @@ public boolean remove(Long id) {

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63136000 --- Diff: engine/schema/src/com/cloud/dc/dao/ClusterDaoImpl.java --- @@ -260,4 +268,41 @@ public boolean remove(Long id) {

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63133626 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -361,59 +600,205 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63132551 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -361,59 +600,205 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63132440 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -172,78 +258,207 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63132242 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -172,78 +258,207 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63132177 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -172,78 +258,207 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63132007 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -172,78 +258,207 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63131882 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -55,65 +68,98 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63131753 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -361,59 +608,225 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63131338 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -255,99 +448,153 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63131303 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -132,31 +171,52 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63131310 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -132,31 +171,52 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread jburwell
Github user jburwell commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63112842 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -361,59 +608,225 @@ private

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread jburwell
Github user jburwell commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63112811 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -361,59 +600,205 @@ private

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread jburwell
Github user jburwell commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63112751 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -361,59 +600,205 @@ private

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread jburwell
Github user jburwell commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63112646 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -361,59 +608,225 @@ private

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread jburwell
Github user jburwell commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63111964 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -255,99 +448,153 @@ private

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread jburwell
Github user jburwell commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63111842 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -172,78 +258,207 @@ private

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread jburwell
Github user jburwell commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63111740 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -172,78 +258,207 @@ private

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread jburwell
Github user jburwell commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63111670 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -172,78 +258,207 @@ private

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread jburwell
Github user jburwell commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63111572 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -172,78 +258,207 @@ private

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread jburwell
Github user jburwell commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63110910 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -132,31 +171,52 @@ public

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread jburwell
Github user jburwell commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63110957 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -132,31 +171,52 @@ public

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread jburwell
Github user jburwell commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63110833 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -55,65 +68,98 @@ import

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread jburwell
Github user jburwell commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63108616 --- Diff: engine/schema/src/com/cloud/dc/dao/ClusterDaoImpl.java --- @@ -260,4 +268,41 @@ public boolean remove(Long id) {

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-218874072 @DaanHoogland I had to put the "Void" return types back. It is used for AOP and won't compile with "void" for those two methods. --- If your project is set

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-218869567 @DaanHoogland I think I addressed all your concerns. I plan to rebuild this locally, then push to GitHub in a bit. --- If your project is set up for it,

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-218869277 @DaanHoogland I agree we have some strange patterns in the codebase. For this feature, I simply followed those patterns when I saw them because I wasn't

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63086591 --- Diff: engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java --- @@ -554,6 +574,51 @@ protected Void

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63086019 --- Diff: engine/storage/snapshot/src/org/apache/cloudstack/storage/snapshot/StorageSystemSnapshotStrategy.java --- @@ -347,38 +395,87 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63082964 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -255,99 +473,123 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread DaanHoogland
Github user DaanHoogland commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-218865225 LGTM with one extra comment: This is adding a much wanted feature and not worsening the code base we have but some bad patterns are being maintained that we

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63083577 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -255,99 +473,123 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63083834 --- Diff: engine/storage/snapshot/src/org/apache/cloudstack/storage/snapshot/XenserverSnapshotStrategy.java --- @@ -289,7 +291,7 @@ public boolean

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63083633 --- Diff: engine/storage/snapshot/src/org/apache/cloudstack/storage/snapshot/XenserverSnapshotStrategy.java --- @@ -289,7 +291,7 @@ public

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63083245 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -361,59 +603,221 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63083184 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -361,59 +603,221 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63082184 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -172,78 +232,211 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63082200 --- Diff: engine/schema/src/com/cloud/dc/dao/ClusterDaoImpl.java --- @@ -260,4 +268,41 @@ public boolean remove(Long id) {

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63080850 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -172,78 +232,211 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63079362 --- Diff: engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java --- @@ -554,6 +574,51 @@ protected Void

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63078617 --- Diff: engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java --- @@ -554,6 +574,51 @@ protected Void

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread DaanHoogland
Github user DaanHoogland commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-218851513 @mike-tutkowski I don't mind ignoring most of the remaining comments I made except for - the ones about returning null. - the renamed exception, the

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r63071868 --- Diff: server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java --- @@ -144,6 +145,8 @@ @Inject SnapshotDataStoreDao

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-12 Thread swill
Github user swill commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-218805790 @mike-tutkowski can you rebase this PR as we now have merge conflicts. Can you review the recent comments and I will get this queued up to get CI run against it as

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-218540891 Did a review, I have some remarks, some questions as well. --- If your project is set up for it, you can reply to this email and have your reply appear on

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62892495 --- Diff: server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java --- @@ -144,6 +145,8 @@ @Inject SnapshotDataStoreDao

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread jburwell
Github user jburwell commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62892410 --- Diff: core/src/com/cloud/agent/api/StartupRoutingCommand.java --- @@ -35,7 +35,7 @@ long memory; long dom0MinMemory;

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread jburwell
Github user jburwell commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62892193 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -172,78 +232,211 @@ private

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62891804 --- Diff: server/src/com/cloud/storage/StorageManagerImpl.java --- @@ -209,6 +211,8 @@ @Inject protected HostDao _hostDao;

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62890825 --- Diff: plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidFirePrimaryDataStoreDriver.java --- @@ -692,12

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62890766 --- Diff: plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidFirePrimaryDataStoreDriver.java --- @@ -665,22

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62886608 --- Diff: plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java --- @@ -2351,17 +2376,52 @@ public SR

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62886063 --- Diff: plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java --- @@ -1792,10 +1796,26 @@ protected

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62885313 --- Diff: plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java --- @@ -164,9 +165,12 @@ *

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62881271 --- Diff: engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java --- @@ -554,6 +574,51 @@ protected Void

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62881152 --- Diff: engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java --- @@ -554,6 +574,51 @@ protected Void

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62880956 --- Diff: engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java --- @@ -134,6 +146,14 @@ EndPointSelector

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62880949 --- Diff: engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java --- @@ -134,6 +146,14 @@ EndPointSelector

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62880464 --- Diff: engine/storage/snapshot/src/org/apache/cloudstack/storage/snapshot/XenserverSnapshotStrategy.java --- @@ -289,7 +291,7 @@ public boolean

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62880347 --- Diff: engine/storage/snapshot/src/org/apache/cloudstack/storage/snapshot/StorageSystemSnapshotStrategy.java --- @@ -347,38 +395,87 @@ private

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62879575 --- Diff: engine/storage/snapshot/src/org/apache/cloudstack/storage/snapshot/StorageSystemSnapshotStrategy.java --- @@ -347,38 +395,87 @@ private

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62878912 --- Diff: engine/storage/snapshot/src/org/apache/cloudstack/storage/snapshot/StorageSystemSnapshotStrategy.java --- @@ -72,8 +77,10 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62876283 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -361,59 +603,221 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62876182 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -361,59 +603,221 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62876040 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -361,59 +608,225 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62875666 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -255,99 +473,123 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62875028 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -172,78 +254,214 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62874090 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -172,78 +232,211 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62872442 --- Diff: engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java --- @@ -172,78 +232,211 @@

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62868269 --- Diff: engine/schema/src/com/cloud/dc/dao/ClusterDaoImpl.java --- @@ -260,4 +268,41 @@ public boolean remove(Long id) {

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-11 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62867309 --- Diff: engine/api/src/org/apache/cloudstack/engine/subsystem/api/storage/PrimaryDataStoreInfo.java --- @@ -36,6 +36,7 @@ static final

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-10 Thread swill
Github user swill commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-218365435 @jburwell can I get your final review on this one? I think that is the only thing we are missing on this one. Thx... --- If your project is set up for it, you can

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-10 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1403#discussion_r62747336 --- Diff: core/src/com/cloud/agent/api/StartupRoutingCommand.java --- @@ -35,7 +35,7 @@ long memory; long dom0MinMemory;

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-06 Thread swill
Github user swill commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-217481732 @jburwell can I get your final review on this? I think we are probably pretty close on this one. Thanks... --- If your project is set up for it, you can reply to

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-05 Thread mike-tutkowski
Github user mike-tutkowski commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-217228903 @jburwell Just wanted to point out that an earlier PR of mine, #816, has four Marvin integration tests (three out of four of those apply to this PR, too). I

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-05 Thread mike-tutkowski
Github user mike-tutkowski commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-217228739 @jburwell Just wanted to point out that an earlier PR of mine, #816, has four Marvin integration tests (three out of four of those apply to this PR, too). I

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-02 Thread mike-tutkowski
Github user mike-tutkowski commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-216354858 After rebasing today, I re-ran SolidFire-related automated integration tests (about 3.5 hours of tests) and all were successful.

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-02 Thread swill
Github user swill commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-216294699 I need some code reviews here. @jburwell can you let me know what that status of your review is? --- If your project is set up for it, you can reply to this email

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-05-02 Thread rhtyd
Github user rhtyd commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-216222647 @mike-tutkowski thanks, please rebase against master, squash the changes to a single commit tag:mergeready --- If your project is set up for it, you can

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-04-22 Thread swill
Github user swill commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-213603509 @DaanHoogland no, that is the next iteration. I just started on a smaller scale to try to get some better coverage. I will be working continually to increase the

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-04-22 Thread DaanHoogland
Github user DaanHoogland commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-213591446 h @swill, 120/120 passed :+1: so how did you decide on them? Are these the ones you send the 'here goes nothing' mail about? --- If your project is set up

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-04-22 Thread swill
Github user swill commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-213479837 ## CI RESULTS ### 120/120 TESTS PASSED! View the results below... **Associated Uploads**

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-04-14 Thread mike-tutkowski
Github user mike-tutkowski commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-210087782 No problem. :) I had forgotten that I had renamed that file at one point. So, when I saw that you had a file by that name, I was really confused how

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-04-14 Thread swill
Github user swill commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-210085510 i will blow away my git repo and start from scratch and we will go from there. :) thx... --- If your project is set up for it, you can reply to this email and

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-04-14 Thread mike-tutkowski
Github user mike-tutkowski commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-210084608 @swill I think I might know what happened. There used to be a ApiSolidFireServiceImpl.java, but I renamed it in 940d5b. It seems the file is

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-04-14 Thread mike-tutkowski
Github user mike-tutkowski commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-210081474 @swill I just pushed a new commit to rename the SolidFire integration testing project (which you saw as failing). While that should not have

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-04-14 Thread mike-tutkowski
Github user mike-tutkowski commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-210072697 This might be a better link (as it includes the SHA): https://github.com/apache/cloudstack/tree/ee5370536ac3f87457d5f74adbbb8c6af88da449/plugins/api

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-04-14 Thread mike-tutkowski
Github user mike-tutkowski commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-210072035 @swill This is pretty strange. The code that is failing to compile for you is actually not part of the codebase for ee53705:

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-04-14 Thread mike-tutkowski
Github user mike-tutkowski commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-210066399 @swill Weird, I've compiled ee53705 with the following command on two separate machines and I ran regression tests against that SHA for a few hours

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-04-14 Thread swill
Github user swill commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-210012980 Looking closer at this code. It look like `primaryStoreDriver` could easily be `null` in this case, so that return statement could potentially cause a null pointer

[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-04-14 Thread swill
Github user swill commented on the pull request: https://github.com/apache/cloudstack/pull/1403#issuecomment-210009483 This does not compile: ``` [ERROR] COMPILATION ERROR : [INFO] - [ERROR]

  1   2   >