[pve-devel] [PATCH 3/7] iscsiplugin:volume_size_info

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


return nothing for now, as we can't get volume used inside the volume, stats are empty.

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

diff --git a/PVE/Storage/ISCSIPlugin.pm b/PVE/Storage/ISCSIPlugin.pm
index ef88143..c361a20 100644
--- a/PVE/Storage/ISCSIPlugin.pm
+++ b/PVE/Storage/ISCSIPlugin.pm
@@ -378,4 +378,10 @@ sub check_connection {
     return iscsi_test_portal($portal);
 }
 
+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