Whamcloud - gitweb
Nice catch Nathan. Forat difference between the three lines threw me for a
authorbrian <brian>
Tue, 20 Jun 2006 00:53:46 +0000 (00:53 +0000)
committerbrian <brian>
Tue, 20 Jun 2006 00:53:46 +0000 (00:53 +0000)
loop, so fix that too.  :-)

lustre/scripts/lmc2csv.pl

index d490dcc..cabd2ce 100644 (file)
@@ -172,15 +172,13 @@ foreach my $mds (@{$objs{"mds"}}) {
     my $lov = $mds->{"lov"};
     my $mkfs_options="";
     if (defined($lov->{"stripe_sz"})) {
-        $mkfs_options .= "default_stripe_size=" . $lov->{"stripe_sz"} . ",";
+        $mkfs_options .= "lov.stripe.size=" . $lov->{"stripe_sz"} . ",";
     }
     if (defined($lov->{"stripe_cnt"})) {
-        $mkfs_options .= "lov.stripe.count=" .
-                         $lov->{"stripe_cnt"} . ",";
+        $mkfs_options .= "lov.stripe.count=" . $lov->{"stripe_cnt"} . ",";
     }
     if (defined($lov->{"stripe_pattern"})) {
-        $mkfs_options .= "lov.stripe.pattern=" .
-                         $lov->{"stripe_pattern"} . ",";
+        $mkfs_options .= "lov.stripe.pattern=" . $lov->{"stripe_pattern"} . ",";
     }
     chop($mkfs_options);
     if ($mkfs_options ne "") {