From 5c18aa138d83a2510584a9c75fe7dabc270a5d58 Mon Sep 17 00:00:00 2001 From: adilger Date: Tue, 12 Apr 2005 09:10:50 +0000 Subject: [PATCH] Branch: b1_4 Fix copy+paste bug from "upcall removal" landing. b=3262 r=nathan, green Add debugging for missing reconnect RPC. b=5933 --- lustre/ptlrpc/import.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/ptlrpc/import.c b/lustre/ptlrpc/import.c index 0e47550..3a79e8a 100644 --- a/lustre/ptlrpc/import.c +++ b/lustre/ptlrpc/import.c @@ -300,7 +300,7 @@ static int import_select_connection(struct obd_import *imp) dlmexp = class_conn2export(&imp->imp_dlm_handle); LASSERT(dlmexp != NULL); if (dlmexp->exp_connection) - ptlrpc_put_connection(imp->imp_connection); + ptlrpc_put_connection(dlmexp->exp_connection); dlmexp->exp_connection = ptlrpc_connection_addref(imp_conn->oic_conn); class_export_put(dlmexp); @@ -395,6 +395,7 @@ int ptlrpc_connect_import(struct obd_import *imp, char * new_uuid) if (aa->pcaa_initial_connect) imp->imp_replayable = 1; + DEBUG_REQ(D_RPCTRACE, request, "(re)connect request"); ptlrpcd_add_req(request); rc = 0; out: -- 1.8.3.1