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 #define CONNMGR_CONNECT 1
14 extern struct recovd_obd *ptlrpc_connmgr;
16 struct connmgr_thread {
17 struct recovd_obd *mgr;
28 int connmgr_connect(struct recovd_obd *mgr, struct ptlrpc_connection *conn);
29 int connmgr_handle(struct obd_device *dev, struct ptlrpc_service *svc,
30 struct ptlrpc_request *req);
31 void recovd_cli_fail(struct ptlrpc_client *cli);
32 void recovd_cli_manage(struct recovd_obd *mgr, struct ptlrpc_client *cli);
33 void recovd_cli_fixed(struct ptlrpc_client *cli);
34 int recovd_setup(struct recovd_obd *mgr);
35 int recovd_cleanup(struct recovd_obd *mgr);