From 80f938b30a5ed4a4eb2ca839b2e9a6a52411b89a Mon Sep 17 00:00:00 2001 From: Wally Wang Date: Tue, 30 Aug 2011 16:43:53 -0700 Subject: [PATCH] LU-447 add lctl --net XXX push In order to clear out peer/conn data in the gnilnd for testing after adding lnet_notify(see LU-446), we need an alternative to lctl --net gni del_peer - as this nukes the peer and results in false lnd_query failures. Change-Id: Ie8029953a2881c0d6e3ac250101d2d4374bbf3c1 Signed-off-by: Wally Wang Reviewed-on: http://review.whamcloud.com/1311 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Liang Zhen Reviewed-by: Lai Siyao Reviewed-by: Johann Lombardi Reviewed-by: James Simmons --- lustre/utils/lctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/utils/lctl.c b/lustre/utils/lctl.c index 814cf0f..cfb2976 100644 --- a/lustre/utils/lctl.c +++ b/lustre/utils/lctl.c @@ -263,6 +263,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