1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2 * vim:expandtab:shiftwidth=8:tabstop=8:
4 * Copyright (C) 2001 Cluster File Systems, Inc.
6 * This code is issued under the GNU General Public License.
7 * See the file COPYING in this distribution
16 #define IMP_REPLAYABLE 2
18 #include <linux/lustre_idl.h>
20 struct ptlrpc_connection *imp_connection;
21 struct ptlrpc_client *imp_client;
22 struct lustre_handle imp_handle;
23 struct list_head imp_chain;
24 struct list_head imp_request_list;
25 struct obd_device *imp_obd;
29 __u64 imp_max_transno;
30 __u64 imp_peer_last_xid;
31 __u64 imp_peer_committed_transno;
33 /* Protects flags, level, *_xid, request_list */
37 extern struct obd_import *class_conn2cliimp(struct lustre_handle *);
38 extern struct obd_import *class_conn2ldlmimp(struct lustre_handle *);
40 #endif /* __KERNEL__ */
42 #endif /* __IMPORT_H */