Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16c6c40
)
Test the value of the failo{ver,ut} flags before deciding to add a format
author
brian
<brian>
Tue, 14 Nov 2006 16:28:23 +0000
(16:28 +0000)
committer
brian
<brian>
Tue, 14 Nov 2006 16:28:23 +0000
(16:28 +0000)
param.
lustre/scripts/lmc2csv.pl
patch
|
blob
|
history
diff --git
a/lustre/scripts/lmc2csv.pl
b/lustre/scripts/lmc2csv.pl
index
779ea8e
..
95d4873
100644
(file)
--- a/
lustre/scripts/lmc2csv.pl
+++ b/
lustre/scripts/lmc2csv.pl
@@
-219,10
+219,10
@@
foreach my $ost (@{$objs{"ost"}}) {
$mount_opts .= "," . $ost->{"mountfsoptions"};
}
my $mkfs_options="";
- if (defined($ost->{"failover"})) {
+ if (defined($ost->{"failover"})
& $ost->{"failover"}
) {
$mkfs_options .= "failover.mode=failover" . " ";
}
- if (defined($ost->{"failout"})) {
+ if (defined($ost->{"failout"})
& $ost->{"failout"}
) {
$mkfs_options .= "failover.mode=failout" . " ";
}
chop($mkfs_options);