From 1fbfe57957555a74eb9a55c0c8d7bfe52fea707b Mon Sep 17 00:00:00 2001 From: pschwan Date: Wed, 2 Apr 2003 03:56:25 +0000 Subject: [PATCH] b=957 - Infrastructure for the pinger thread; needs multi-rpc and some refinements - Add last_request_time to obd_export - Fixed export leak in lov_brw success case - test22 rears its head again: tar gets pissy if it can't access $PWD, which is common for homedirs at LLNL. cd to /tmp before running tar. Merged many of the changes from b_proto: - multi-rpc infrastructure, but not the key bits - removed some bitfield flags in favour of individual struct members - merged obd_brw_write and obd_brw_read into a single obd_brw_internal - move the Elan-related page wrangling from the IOD into the OSC --- lustre/ptlrpc/ptlrpc_internal.h | 1 + lustre/ptlrpc/ptlrpc_module.c | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/lustre/ptlrpc/ptlrpc_internal.h b/lustre/ptlrpc/ptlrpc_internal.h index e04f7ee..646c09e 100644 --- a/lustre/ptlrpc/ptlrpc_internal.h +++ b/lustre/ptlrpc/ptlrpc_internal.h @@ -37,6 +37,7 @@ extern int (*ptlrpc_ldlm_replay_locks)(struct obd_import *); int ptlrpc_get_ldlm_hooks(void); void ptlrpc_put_ldlm_hooks(void); +void ptlrpc_daemonize(void); int ptlrpc_import_handle_eviction(struct obd_import *); diff --git a/lustre/ptlrpc/ptlrpc_module.c b/lustre/ptlrpc/ptlrpc_module.c index df5ab06..134a249 100644 --- a/lustre/ptlrpc/ptlrpc_module.c +++ b/lustre/ptlrpc/ptlrpc_module.c @@ -160,6 +160,12 @@ EXPORT_SYMBOL(ptlrpc_abort_inflight); EXPORT_SYMBOL(ptlrpc_retain_replayable_request); EXPORT_SYMBOL(ptlrpc_next_xid); +EXPORT_SYMBOL(ptlrpc_prep_set); +EXPORT_SYMBOL(ptlrpc_drop_set); +EXPORT_SYMBOL(ptlrpc_set_add_req); +EXPORT_SYMBOL(ptlrpc_req_completed); +EXPORT_SYMBOL(ptlrpc_req_result); + /* service.c */ EXPORT_SYMBOL(ptlrpc_init_svc); EXPORT_SYMBOL(ptlrpc_stop_all_threads); -- 1.8.3.1