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

CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	kupcevic at sourceware.org	2007-03-01 00:13:12

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

Log message:
	modstorage: remove block_size option from GFS2 creation

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

--- conga/ricci/modules/storage/GFS2.cpp	2006/10/06 03:10:13	1.3
+++ conga/ricci/modules/storage/GFS2.cpp	2007/03/01 00:13:12	1.4
@@ -147,7 +147,6 @@
 create_GFS2(const String& path,
 	    const counting_auto_ptr<ContentTemplate>& templ)
 {
-  String bs = utils::to_string(templ->_props.get("block_size").get_int());
   String jnum = utils::to_string(templ->_props.get("journals_num").get_int());
   long long jsize_bytes = templ->_props.get("journal_size").get_int();
   String jsize = utils::to_string(jsize_bytes / 1024 / 1024);
@@ -165,9 +164,6 @@
   
   
   vector<String> args;
-  args.push_back("-b");
-  args.push_back(bs);
-  
   args.push_back("-J");
   args.push_back(jsize);
   
@@ -208,14 +204,6 @@
   // mountpoints
   mount_props_template(gfs2_module, _props);
   
-  // block_size
-  list<long long> b_sizes;
-  b_sizes.push_back(512);
-  b_sizes.push_back(1024);
-  b_sizes.push_back(2048);
-  b_sizes.push_back(4096);
-  _props.set(Variable("block_size", 4096, b_sizes));
-  
   // journals
   _props.set(Variable("journals_num", 1, 1, 128, 1));
   list<long long> jsizes;



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

CVSROOT:	/cvs/cluster
Module name:	conga
Branch: 	RHEL5
Changes by:	kupcevic at sourceware.org	2007-03-01 00:14:03

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

Log message:
	modstorage: remove block_size option from GFS2 creation

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

--- conga/ricci/modules/storage/GFS2.cpp	2006/10/06 03:10:13	1.3
+++ conga/ricci/modules/storage/GFS2.cpp	2007/03/01 00:14:03	1.3.2.1
@@ -147,7 +147,6 @@
 create_GFS2(const String& path,
 	    const counting_auto_ptr<ContentTemplate>& templ)
 {
-  String bs = utils::to_string(templ->_props.get("block_size").get_int());
   String jnum = utils::to_string(templ->_props.get("journals_num").get_int());
   long long jsize_bytes = templ->_props.get("journal_size").get_int();
   String jsize = utils::to_string(jsize_bytes / 1024 / 1024);
@@ -165,9 +164,6 @@
   
   
   vector<String> args;
-  args.push_back("-b");
-  args.push_back(bs);
-  
   args.push_back("-J");
   args.push_back(jsize);
   
@@ -208,14 +204,6 @@
   // mountpoints
   mount_props_template(gfs2_module, _props);
   
-  // block_size
-  list<long long> b_sizes;
-  b_sizes.push_back(512);
-  b_sizes.push_back(1024);
-  b_sizes.push_back(2048);
-  b_sizes.push_back(4096);
-  _props.set(Variable("block_size", 4096, b_sizes));
-  
   // journals
   _props.set(Variable("journals_num", 1, 1, 128, 1));
   list<long long> jsizes;



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

CVSROOT:	/cvs/cluster
Module name:	conga
Branch: 	RHEL4
Changes by:	kupcevic at sourceware.org	2007-03-01 00:12:00

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

Log message:
	modstorage: remove block_size option from GFS2 creation

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

--- conga/ricci/modules/storage/GFS2.cpp	2006/10/06 03:10:13	1.3
+++ conga/ricci/modules/storage/GFS2.cpp	2007/03/01 00:12:00	1.3.4.1
@@ -147,7 +147,6 @@
 create_GFS2(const String& path,
 	    const counting_auto_ptr<ContentTemplate>& templ)
 {
-  String bs = utils::to_string(templ->_props.get("block_size").get_int());
   String jnum = utils::to_string(templ->_props.get("journals_num").get_int());
   long long jsize_bytes = templ->_props.get("journal_size").get_int();
   String jsize = utils::to_string(jsize_bytes / 1024 / 1024);
@@ -165,9 +164,6 @@
   
   
   vector<String> args;
-  args.push_back("-b");
-  args.push_back(bs);
-  
   args.push_back("-J");
   args.push_back(jsize);
   
@@ -208,14 +204,6 @@
   // mountpoints
   mount_props_template(gfs2_module, _props);
   
-  // block_size
-  list<long long> b_sizes;
-  b_sizes.push_back(512);
-  b_sizes.push_back(1024);
-  b_sizes.push_back(2048);
-  b_sizes.push_back(4096);
-  _props.set(Variable("block_size", 4096, b_sizes));
-  
   // journals
   _props.set(Variable("journals_num", 1, 1, 128, 1));
   list<long long> jsizes;



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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-01  0:13 [Cluster-devel] conga/ricci/modules/storage GFS2.cpp kupcevic
  -- strict thread matches above, loose matches on Subject: below --
2007-03-01  0:14 kupcevic
2007-03-01  0:12 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).