Whamcloud - gitweb
- landed b_hd_mdref (mostly WB cache fixes)
[fs/lustre-release.git] / lustre / include / linux / obd_ptlbd.h
1 #ifndef _OBD_PTLBD_H
2 #define _OBD_PTLBD_H
3
4 #include <linux/obd.h>
5 /*
6  * Copyright (C) 2002  Cluster File Systems, Inc.
7  *
8  * This code is issued under the GNU General Public License.
9  * See the file COPYING in this distribution
10  */
11
12 /* XXX maybe this isn't the best header to be dumping all this in.. */
13
14 extern int ptlbd_blk_init(void);
15 extern int ptlbd_cl_init(void);
16 extern int ptlbd_sv_init(void);
17
18 extern void ptlbd_blk_exit(void);
19 extern void ptlbd_cl_exit(void);
20 extern void ptlbd_sv_exit(void);
21
22 extern int ptlbd_do_connect(struct ptlbd_obd *);
23 extern int ptlbd_do_disconnect(struct ptlbd_obd *);
24 extern void ptlbd_blk_register(struct ptlbd_obd *ptlbd);
25 extern int ptlbd_send_rw_req(struct ptlbd_obd *, ptlbd_cmd_t cmd,
26                              struct buffer_head *);
27 extern int ptlbd_send_flush_req(struct ptlbd_obd *, ptlbd_cmd_t cmd);
28 extern int ptlbd_handle(struct ptlrpc_request *req);
29
30 #endif