1 Index: linux-2.6.7/include/linux/dcache.h
2 ===================================================================
3 --- linux-2.6.7.orig/include/linux/dcache.h 2005-03-23 23:28:49.669799416 +0800
4 +++ linux-2.6.7/include/linux/dcache.h 2005-03-23 23:38:25.648237384 +0800
6 spinlock_t d_lock; /* per dentry lock */
7 struct inode *d_inode; /* Where the name belongs to - NULL is
9 + unsigned d_inum; /* for cross-fs references (Lustre) */
10 + unsigned d_mdsnum; /* for cross-fs references (Lustre) */
11 + unsigned d_generation; /* for cross-fs references (Lustre) */
13 * The next three fields are touched by __d_lookup. Place them here
14 * so they all fit in a 16-byte range, with 16-byte alignment.
16 #define DCACHE_UNHASHED 0x0010
17 #define DCACHE_LUSTRE_INVALID 0x0020 /* invalidated by Lustre */
19 +#define DCACHE_CROSS_REF 0x0040 /* entry points to inode on another MDS */
21 extern spinlock_t dcache_lock;