From afd6ac5f37f72bdbc921b598aecdfc2e15de0875 Mon Sep 17 00:00:00 2001 From: James Simmons Date: Fri, 30 Mar 2012 08:50:09 -0400 Subject: [PATCH] LU-447 lnet: add lctl --net XXX push Lctl --net XXX push is used to clear out purgatory conns arbitrarily. We use this with lctl --net XXX disconnect for regression testing. This does not nuke the peer, so it shouldn't yield lnd_query failures like del_peer does. Signed-off-by: James Simmons Signed-off-by: Bob Glossman Change-Id: Ia7b033750134020022df676f451d91b20e4f5db4 Reviewed-on: http://review.whamcloud.com/2645 Reviewed-by: Lai Siyao Tested-by: Hudson Tested-by: Maloo Reviewed-by: Oleg Drokin --- lustre/utils/lctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/utils/lctl.c b/lustre/utils/lctl.c index 8e08071..42b64b0 100644 --- a/lustre/utils/lctl.c +++ b/lustre/utils/lctl.c @@ -272,6 +272,8 @@ command_t cmdlist[] = { "usage: del_conn \n"}, {"disconnect", jt_ptl_disconnect, 0, "disconnect from a remote nid\n" "usage: disconnect []"}, + {"push", jt_ptl_push_connection, 0, "flush connection to a remote nid\n" + "usage: push []"}, {"mynid", jt_ptl_mynid, 0, "inform the socknal of the local nid. " "The nid defaults to hostname for tcp networks and is automatically " "setup for elan/myrinet networks.\n" -- 1.8.3.1