[pve-devel] [PATCH 7/7] nexentaplugin : volume_size_info

Alexandre Derumier aderumier at odiso.com
Fri Jul 27 08:00:18 CEST 2012


return nothing for now.

This also avoid de call soap api each time in sub path.

Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/Storage/NexentaPlugin.pm |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/PVE/Storage/NexentaPlugin.pm b/PVE/Storage/NexentaPlugin.pm
index d2c4a24..239a951 100644
--- a/PVE/Storage/NexentaPlugin.pm
+++ b/PVE/Storage/NexentaPlugin.pm
@@ -311,4 +311,10 @@ sub deactivate_volume {
     return 1;
 }
 
+sub volume_size_info {
+    my ($class, $scfg, $storeid, $volname, $timeout) = @_;
+
+    return undef;
+}
+
 1;
-- 
1.7.2.5




More information about the pve-devel mailing list