From mboxrd@z Thu Jan 1 00:00:00 1970 From: kupcevic@sourceware.org Date: 1 Mar 2007 00:13:12 -0000 Subject: [Cluster-devel] conga/ricci/modules/storage GFS2.cpp Message-ID: <20070301001312.26244.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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& 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 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 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 jsizes;