From e1683d736c9d7e71aa87cc536c0685c6ea199645 Mon Sep 17 00:00:00 2001 From: eeb Date: Thu, 27 Oct 2005 02:26:09 +0000 Subject: [PATCH] * iiblnd: drain disconnecting sockets * lnet: explicit configure/teardown for routers ("lctl network up" as well as "lctl network down"). config_on_load=0 is the new default (setting it effectively does "lctl network up" at module load time). Added "net" as an alias for "network" to lctl so you don't have to type "work" when you run "lctl net up" from the shell. Also fixed a couple of bugs which required lnet to be unloaded before it could be brought up again. * lnet routing: restored automatic route disabling when comms to a router fails (currently kernel elan and tcp only). --- lustre/utils/lctl.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lustre/utils/lctl.c b/lustre/utils/lctl.c index 7c76a64a..a60a892 100644 --- a/lustre/utils/lctl.c +++ b/lustre/utils/lctl.c @@ -64,9 +64,11 @@ command_t cmdlist[] = { /* Network configuration commands */ {"==== network config ====", jt_noop, 0, "network config"}, {"--net", jt_opt_net, 0, "run after setting network to \n" - "usage: --net "}, - {"network", jt_ptl_network, 0, "set current NID" - "usage: network net"}, + "usage: --net "}, + {"network", jt_ptl_network, 0, "configure LNET" + "usage: network up|down"}, + {"net", jt_ptl_network, 0, "configure LNET" + "usage: net up|down"}, {"list_nids", jt_ptl_list_nids, 0, "list local NIDs" "usage: list_nids [all]"}, {"which_nid", jt_ptl_which_nid, 0, "choose a NID" -- 1.8.3.1