From: adilger Date: Fri, 2 Sep 2005 21:13:05 +0000 (+0000) Subject: Branch b1_4 X-Git-Tag: v1_7_100~1^103~4^2~260^2~121 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=0f3956b8bcda3e714140abbf7e88d1ac4d3d8f04;p=fs%2Flustre-release.git Branch b1_4 Remove final vestiges of "groups_upcall". Verified that lmc with: MDSOPT="--group_upcall=$PWD/../utils/l_getgroups" sh llmount.sh will create a .xml file with group_upcall stanza and lconf configures this properly. Previously only tested with "lconf --group_upcall=...". b=9259 --- diff --git a/lustre/utils/lmc b/lustre/utils/lmc index 5b6ea40..ce2f4fd 100755 --- a/lustre/utils/lmc +++ b/lustre/utils/lmc @@ -162,7 +162,7 @@ lmc_options = [ ('timeout', "Set timeout to initiate recovery.", PARAM), ('upcall', "Set both lustre and portals upcall scripts.", PARAM), ('lustre_upcall', "Set location of lustre upcall script.", PARAM), - ('group_upcall', "Set location of extended groups upcall script.", PARAM), + ('group_upcall', "Set location of extended group upcall script.", PARAM), ('portals_upcall', "Set location of portals upcall script.", PARAM), ('ptldebug', "Set the portals debug level", PARAM), ('subsystem', "Specify which Lustre subsystems have debug output recorded in the log", PARAM), @@ -613,11 +613,8 @@ def set_node_options(gen, node, options): gen.addElement(node, 'lustreUpcall', options.lustre_upcall) else: gen.addElement(node, 'lustreUpcall', default_upcall) - if default_upcall or options.groups_upcall: - if options.groups_upcall: - gen.addElement(node, 'groupsUpcall', options.groups_upcall) - else: - gen.addElement(node, 'groupsUpcall', default_upcall) + if options.group_upcall: + gen.addElement(node, 'groupUpcall', options.group_upcall) if default_upcall or options.portals_upcall: if options.portals_upcall: gen.addElement(node, 'portalsUpcall', options.portals_upcall)