Whamcloud - gitweb
Branch HEAD
[fs/lustre-release.git] / lustre / include / linux / lustre_lite.h
1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2  * vim:expandtab:shiftwidth=8:tabstop=8:
3  */
4
5 #ifndef _LINUX_LL_H
6 #define _LINUX_LL_H
7
8 #ifndef _LL_H
9 #error Do not #include this file directly. #include <lustre_lite.h> instead
10 #endif
11
12 #ifdef __KERNEL__
13
14 #include <linux/version.h>
15
16 #include <asm/statfs.h>
17
18 #include <linux/fs.h>
19 #include <linux/dcache.h>
20 #include <linux/proc_fs.h>
21
22 #include <obd_class.h>
23 #include <lustre_net.h>
24 #include <lustre_ha.h>
25
26 #include <linux/rbtree.h>
27 #include <linux/lustre_compat25.h>
28 #include <linux/pagemap.h>
29
30 /* lprocfs.c */
31 enum {
32          LPROC_LL_DIRTY_HITS = 0,
33          LPROC_LL_DIRTY_MISSES,
34          LPROC_LL_WB_WRITEPAGE,
35          LPROC_LL_WB_PRESSURE,
36          LPROC_LL_WB_OK,
37          LPROC_LL_WB_FAIL,
38          LPROC_LL_READ_BYTES,
39          LPROC_LL_WRITE_BYTES,
40          LPROC_LL_BRW_READ,
41          LPROC_LL_BRW_WRITE,
42          LPROC_LL_IOCTL,
43          LPROC_LL_OPEN,
44          LPROC_LL_RELEASE,
45          LPROC_LL_MAP,
46          LPROC_LL_LLSEEK,
47          LPROC_LL_FSYNC,
48          LPROC_LL_SETATTR,
49          LPROC_LL_TRUNC,
50          LPROC_LL_FLOCK,
51          LPROC_LL_GETATTR,
52          LPROC_LL_STAFS,
53          LPROC_LL_ALLOC_INODE,
54          LPROC_LL_SETXATTR,
55          LPROC_LL_GETXATTR,
56          LPROC_LL_LISTXATTR,
57          LPROC_LL_REMOVEXATTR,
58          LPROC_LL_INODE_PERM,
59          LPROC_LL_DIRECT_READ,
60          LPROC_LL_DIRECT_WRITE,
61          LPROC_LL_FILE_OPCODES
62 };
63
64 #else
65 #include <lustre/lustre_idl.h>
66 #endif /* __KERNEL__ */
67
68 #endif