cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rafaelweingartner <>
Subject [GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...
Date Fri, 08 Apr 2016 19:29:24 GMT
Github user rafaelweingartner commented on a diff in the pull request:
    --- Diff: engine/api/src/org/apache/cloudstack/engine/subsystem/api/storage/
    @@ -23,18 +23,21 @@
     public interface PrimaryDataStoreDriver extends DataStoreDriver {
    -    public ChapInfo getChapInfo(VolumeInfo volumeInfo);
    +    public ChapInfo getChapInfo(DataObject dataObject);
         public boolean grantAccess(DataObject dataObject, Host host, DataStore dataStore);
         public void revokeAccess(DataObject dataObject, Host host, DataStore dataStore);
         // intended for managed storage (cloud.storage_pool.managed = true)
         // if not managed, return volume.getSize()
    -    public long getVolumeSizeIncludingHypervisorSnapshotReserve(Volume volume, StoragePool
    +    public long getDataObjectSizeIncludingHypervisorSnapshotReserve(DataObject dataObject,
StoragePool storagePool);
    +    // intended for zone-wide primary storage that is capable of storing a template once
and using it in multiple clusters
    +    // if not this kind of storage, return 0
    +    public long getBytesRequiredForTemplate(TemplateInfo templateInfo, StoragePool storagePool);
    --- End diff --
    This is not a proper documentation. 
    I would suggest changing from Java comments style to Javadoc.

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 is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message