cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] conga/ricci/modules/storage VG.cpp
@ 2007-03-30 14:40 kupcevic
  0 siblings, 0 replies; 3+ messages in thread
From: kupcevic @ 2007-03-30 14:40 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	kupcevic at sourceware.org	2007-03-30 15:40:24

Modified files:
	ricci/modules/storage: VG.cpp 

Log message:
	storage module: display unused size left in Volume Groups

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/VG.cpp.diff?cvsroot=cluster&r1=1.11&r2=1.12

--- conga/ricci/modules/storage/VG.cpp	2007/03/20 15:35:59	1.11
+++ conga/ricci/modules/storage/VG.cpp	2007/03/30 14:40:24	1.12
@@ -106,6 +106,10 @@
       _props.get("extents_total").get_int() * _props.get("extent_size").get_int();
     _props.set(Variable("size", size));
     
+    long long free_size = 
+      _props.get("extents_free").get_int() * _props.get("extent_size").get_int();
+    _props.set(Variable("size_free", free_size));
+    
     bool rem = true;
     for (list<counting_auto_ptr<BD> >::const_iterator iter = targets.begin();
 	 iter != targets.end();
@@ -128,8 +132,6 @@
     
     // ### new targets ###
     
-    long long free_size = 
-      _props.get("extents_free").get_int() * _props.get("extent_size").get_int();
     if (free_size == 0)
       return;
     



^ permalink raw reply	[flat|nested] 3+ messages in thread
* [Cluster-devel] conga/ricci/modules/storage VG.cpp
@ 2007-03-30 14:42 kupcevic
  0 siblings, 0 replies; 3+ messages in thread
From: kupcevic @ 2007-03-30 14:42 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	conga
Branch: 	RHEL4
Changes by:	kupcevic at sourceware.org	2007-03-30 15:42:13

Modified files:
	ricci/modules/storage: VG.cpp 

Log message:
	storage module: display unused size left in Volume Groups

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/VG.cpp.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.9.2.2&r2=1.9.2.3

--- conga/ricci/modules/storage/VG.cpp	2007/03/20 15:49:32	1.9.2.2
+++ conga/ricci/modules/storage/VG.cpp	2007/03/30 14:42:12	1.9.2.3
@@ -106,6 +106,10 @@
       _props.get("extents_total").get_int() * _props.get("extent_size").get_int();
     _props.set(Variable("size", size));
     
+    long long free_size = 
+      _props.get("extents_free").get_int() * _props.get("extent_size").get_int();
+    _props.set(Variable("size_free", free_size));
+    
     bool rem = true;
     for (list<counting_auto_ptr<BD> >::const_iterator iter = targets.begin();
 	 iter != targets.end();
@@ -128,8 +132,6 @@
     
     // ### new targets ###
     
-    long long free_size = 
-      _props.get("extents_free").get_int() * _props.get("extent_size").get_int();
     if (free_size == 0)
       return;
     



^ permalink raw reply	[flat|nested] 3+ messages in thread
* [Cluster-devel] conga/ricci/modules/storage VG.cpp
@ 2007-03-30 14:38 kupcevic
  0 siblings, 0 replies; 3+ messages in thread
From: kupcevic @ 2007-03-30 14:38 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	conga
Branch: 	RHEL5
Changes by:	kupcevic at sourceware.org	2007-03-30 15:38:33

Modified files:
	ricci/modules/storage: VG.cpp 

Log message:
	storage module: display unused size left in Volume Groups

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/VG.cpp.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.8.2.3&r2=1.8.2.4

--- conga/ricci/modules/storage/VG.cpp	2007/03/20 16:18:55	1.8.2.3
+++ conga/ricci/modules/storage/VG.cpp	2007/03/30 14:38:33	1.8.2.4
@@ -106,6 +106,10 @@
       _props.get("extents_total").get_int() * _props.get("extent_size").get_int();
     _props.set(Variable("size", size));
     
+    long long free_size = 
+      _props.get("extents_free").get_int() * _props.get("extent_size").get_int();
+    _props.set(Variable("size_free", free_size));
+    
     bool rem = true;
     for (list<counting_auto_ptr<BD> >::const_iterator iter = targets.begin();
 	 iter != targets.end();
@@ -128,8 +132,6 @@
     
     // ### new targets ###
     
-    long long free_size = 
-      _props.get("extents_free").get_int() * _props.get("extent_size").get_int();
     if (free_size == 0)
       return;
     



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-30 14:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-30 14:40 [Cluster-devel] conga/ricci/modules/storage VG.cpp kupcevic
  -- strict thread matches above, loose matches on Subject: below --
2007-03-30 14:42 kupcevic
2007-03-30 14:38 kupcevic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).