Whamcloud - gitweb
Add l_dput assertion.
[fs/lustre-release.git] / lustre / include / linux / lustre_ha.h
1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2  * vim:expandtab:shiftwidth=8:tabstop=8:
3  */
4
5 #ifndef _LUSTRE_HA_H
6 #define _LUSTRE_HA_H
7
8 #define LUSTRE_HA_NAME "ptlrpc"
9
10 struct recovd_data {
11         struct list_head rd_managed_chain;
12         int (*rd_recover)(struct recovd_data *);
13 };
14
15 struct recovd_obd;
16 struct ptlrpc_connection;
17
18 void recovd_conn_fail(struct ptlrpc_connection *conn);
19 void recovd_conn_manage(struct recovd_obd *mgr, struct ptlrpc_connection *conn);
20 void recovd_conn_fixed(struct ptlrpc_connection *conn);
21 int recovd_setup(struct recovd_obd *mgr);
22 int recovd_cleanup(struct recovd_obd *mgr);
23
24 #endif