1#ifndef _NFS_FS_SB
2#define _NFS_FS_SB
3
4#include <linux/list.h>
5
6/*
7 * NFS client parameters stored in the superblock.
8 */
9struct nfs_server {
10	struct rpc_clnt *	client;		/* RPC client handle */
11	struct nfs_rpc_ops *	rpc_ops;	/* NFS protocol vector */
12	int			flags;		/* various flags */
13	unsigned int		rsize;		/* read size */
14	unsigned int		rpages;		/* read size (in pages) */
15	unsigned int		wsize;		/* write size */
16	unsigned int		wpages;		/* write size (in pages) */
17	unsigned int		dtsize;		/* readdir size */
18	unsigned int		bsize;		/* server block size */
19	unsigned int		acregmin;	/* attr cache timeouts */
20	unsigned int		acregmax;
21	unsigned int		acdirmin;
22	unsigned int		acdirmax;
23	unsigned int		namelen;
24	char *			hostname;	/* remote hostname */
25	struct nfs_reqlist *	rw_requests;	/* async read/write requests */
26	struct list_head	lru_read,
27				lru_dirty,
28				lru_commit,
29				lru_busy;
30};
31
32/*
33 * nfs super-block data in memory
34 */
35struct nfs_sb_info {
36	struct nfs_server	s_server;
37};
38
39#endif
40