root/include/linux/nfs_fs_i.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef _NFS_FS_I
   2 #define _NFS_FS_I
   3 
   4 #include <linux/nfs.h>
   5 
   6 /*
   7  * nfs fs inode data in memory
   8  */
   9 struct nfs_inode_info {
  10         struct nfs_fh fhandle;
  11         /*
  12          * read_cache_jiffies is when we started read-caching this inode,
  13          * and read_cache_mtime is the mtime of the inode at that time.
  14          *
  15          * We need to invalidate the cache for this inode if
  16          *
  17          *      jiffies - read_cache_jiffies > 30*HZ
  18          * AND
  19          *      mtime != read_cache_mtime
  20          */
  21         unsigned long read_cache_jiffies;
  22         unsigned long read_cache_mtime;
  23 };
  24 
  25 #endif

/* [previous][next][first][last][top][bottom][index][help] */