1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2 * vim:expandtab:shiftwidth=8:tabstop=8:
8 #include <linux/lustre_net.h>
10 #define LUSTRE_HA_NAME "ptlrpc"
12 extern struct recovd_obd *ptlrpc_connmgr;
14 struct connmgr_thread {
15 struct recovd_obd *mgr;
19 int connmgr_connect(struct recovd_obd *mgr, struct ptlrpc_connection *conn);
20 int connmgr_handle(struct ptlrpc_request *req);
21 void recovd_cli_fail(struct ptlrpc_client *cli);
22 void recovd_cli_manage(struct recovd_obd *mgr, struct ptlrpc_client *cli);
23 void recovd_cli_fixed(struct ptlrpc_client *cli);
24 int recovd_setup(struct recovd_obd *mgr);
25 int recovd_cleanup(struct recovd_obd *mgr);