Whamcloud - gitweb
b=17671
[fs/lustre-release.git] / lustre / kernel_patches / patches / i_filter_data.patch
1 The i_filterdata is currently only used by the size-on-mds to store the
2 epoch number for the inode.  This could be moved to another field in
3 ldiskfs or elsewhere in the inode that isn't used by Lustre callers.
4
5 Index: linux-2.6.18.8/include/linux/fs.h
6 ===================================================================
7 --- linux-2.6.18.8.orig/include/linux/fs.h      2007-06-05 12:55:19.000000000 +0200
8 +++ linux-2.6.18.8/include/linux/fs.h   2007-06-05 12:55:44.000000000 +0200
9 @@ -533,6 +533,7 @@ struct inode {
10         struct block_device     *i_bdev;
11         struct cdev             *i_cdev;
12         int                     i_cindex;
13 +       void                    *i_filterdata;
14  
15         __u32                   i_generation;
16