- pre3:
[davej-history.git] / include / linux / nfs_fs_sb.h
blobc1e835d3a9074791d6adbb964c8699fd7e8b52f6
1 #ifndef _NFS_FS_SB
2 #define _NFS_FS_SB
4 /*
5 * NFS client parameters stored in the superblock.
6 */
7 struct nfs_server {
8 struct rpc_clnt * client; /* RPC client handle */
9 struct nfs_rpc_ops * rpc_ops; /* NFS protocol vector */
10 int flags; /* various flags */
11 unsigned int rsize; /* read size */
12 unsigned int rpages; /* read size (in pages) */
13 unsigned int wsize; /* write size */
14 unsigned int wpages; /* write size (in pages) */
15 unsigned int dtsize; /* readdir size */
16 unsigned int bsize; /* server block size */
17 unsigned int acregmin; /* attr cache timeouts */
18 unsigned int acregmax;
19 unsigned int acdirmin;
20 unsigned int acdirmax;
21 unsigned int namelen;
22 char * hostname; /* remote hostname */
23 struct nfs_reqlist * rw_requests; /* async read/write requests */
27 * nfs super-block data in memory
29 struct nfs_sb_info {
30 struct nfs_server s_server;
33 #endif