From: alex Date: Sat, 6 Aug 2005 12:18:13 +0000 (+0000) Subject: - one more merging mess X-Git-Tag: v1_7_100~981 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=7ecc34df48ba369077f01dbae9f938121f1163ed;ds=sidebyside - one more merging mess --- diff --git a/lustre/utils/lconf b/lustre/utils/lconf index dc25a41..ee9ecd5 100755 --- a/lustre/utils/lconf +++ b/lustre/utils/lconf @@ -2337,22 +2337,22 @@ class OSD(Module): return manager.add_lustre_module('ost', 'ost') - #if self.fstype == 'smfs' or self.fstype == 'ldiskfs': - # manager.add_lustre_module(self.fstype, self.fstype) + if self.fstype == 'smfs' or self.fstype == 'ldiskfs': + manager.add_lustre_module(self.fstype, self.fstype) - #if self.fstype: - # manager.add_lustre_module('lvfs' , 'fsfilt_%s' % (self.fstype)) - - #if self.fstype == 'smfs': - # manager.add_lustre_module(self.backfstype, self.backfstype) - # manager.add_lustre_module('lvfs' , 'fsfilt_%s' % (self.backfstype)) - - #for option in self.mountfsoptions: - # if option == 'snap': - # if not self.fstype == 'smfs': - # panic("mountoptions with snap, but fstype is not smfs\n") - # manager.add_lustre_module('lvfs', 'fsfilt_snap_%s' % (self.fstype)) - # manager.add_lustre_module('lvfs', 'fsfilt_snap_%s' % (self.backfstype)) + if self.fstype: + manager.add_lustre_module('lvfs' , 'fsfilt_%s' % (self.fstype)) + + if self.fstype == 'smfs': + manager.add_lustre_module(self.backfstype, self.backfstype) + manager.add_lustre_module('lvfs' , 'fsfilt_%s' % (self.backfstype)) + + for option in self.mountfsoptions: + if option == 'snap': + if not self.fstype == 'smfs': + panic("mountoptions with snap, but fstype is not smfs\n") + manager.add_lustre_module('lvfs', 'fsfilt_snap_%s' % (self.fstype)) + manager.add_lustre_module('lvfs', 'fsfilt_snap_%s' % (self.backfstype)) manager.add_lustre_module(self.osdtype, self.osdtype)