From f247875d4660a1989fb5e531f0c7156ec1d86c59 Mon Sep 17 00:00:00 2001 From: shaver Date: Thu, 3 Apr 2003 21:20:53 +0000 Subject: [PATCH] - set_osc_active becomes ptlrpc_set_import_active (though it still only works on OSCs) and is automatically called for non-recoverable OSCs before we invoke the upcall. (part of b=1038) - When aborting recovery, shut down the recovery timer, abort the recovery queue's requests, and don't do it twice. - Make sure we call obd_disconnect correctly for all non-lctl imports when aborting recovery or forcing shutdown, so that we don't leave the last_rcvd bits around for the next time. - Fix leak of last_rcvd-spawn exports (every one!). - Get and put exports for recovery-queued requests and replies, so that we don't race badly with teardown. --- lustre/ptlrpc/ptlrpc_module.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/ptlrpc/ptlrpc_module.c b/lustre/ptlrpc/ptlrpc_module.c index 134a249..83747ac 100644 --- a/lustre/ptlrpc/ptlrpc_module.c +++ b/lustre/ptlrpc/ptlrpc_module.c @@ -184,6 +184,7 @@ EXPORT_SYMBOL(ptlrpc_reconnect_import); EXPORT_SYMBOL(ptlrpc_replay); EXPORT_SYMBOL(ptlrpc_resend); EXPORT_SYMBOL(ptlrpc_wake_delayed); +EXPORT_SYMBOL(ptlrpc_set_import_active); EXPORT_SYMBOL(ptlrpc_fail_import); EXPORT_SYMBOL(ptlrpc_fail_export); EXPORT_SYMBOL(ptlrpc_recover_import); -- 1.8.3.1