OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [linux/] [nfs_fs_i.h] - Blame information for rev 1633

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
#ifndef _NFS_FS_I
2
#define _NFS_FS_I
3
 
4
#include <linux/nfs.h>
5
#include <linux/pipe_fs_i.h>
6
 
7
/*
8
 * nfs fs inode data in memory
9
 */
10
struct nfs_inode_info {
11
        struct pipe_inode_info pipeinfo;
12
        struct nfs_fh fhandle;
13
        /*
14
         * read_cache_jiffies is when we started read-caching this inode,
15
         * and read_cache_mtime is the mtime of the inode at that time.
16
         *
17
         * We need to invalidate the cache for this inode if
18
         *
19
         *      jiffies - read_cache_jiffies > 30*HZ
20
         * AND
21
         *      mtime != read_cache_mtime
22
         */
23
        unsigned long read_cache_jiffies;
24
        unsigned long read_cache_mtime;
25
        /*
26
         * This is to support the clandestine rename on unlink.
27
         * Instead of the directory inode, we might as well keep its
28
         * NFS FH, but that requires a kmalloc.
29
         */
30
        struct inode *silly_rename_dir;
31
        /*
32
         * attrtimeo defines for how long the cached attributes are valid
33
         */
34
        unsigned long attrtimeo;
35
};
36
 
37
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.