4 #include <linux/list.h>
5 #include <linux/backing-dev.h>
8 * NFS client parameters stored in the superblock.
11 struct rpc_clnt * client; /* RPC client handle */
12 struct rpc_clnt * client_sys; /* 2nd handle for FSINFO */
13 struct nfs_rpc_ops * rpc_ops; /* NFS protocol vector */
14 struct backing_dev_info backing_dev_info;
15 int flags; /* various flags */
16 unsigned int caps; /* server capabilities */
17 unsigned int rsize; /* read size */
18 unsigned int rpages; /* read size (in pages) */
19 unsigned int wsize; /* write size */
20 unsigned int wpages; /* write size (in pages) */
21 unsigned int dtsize; /* readdir size */
22 unsigned int bsize; /* server block size */
23 unsigned int acregmin; /* attr cache timeouts */
24 unsigned int acregmax;
25 unsigned int acdirmin;
26 unsigned int acdirmax;
28 char * hostname; /* remote hostname */
30 struct sockaddr_in addr;
32 /* Our own IP address, as a null-terminated string.
33 * This is used to generate the clientid, and the callback address.
37 struct nfs4_client * nfs4_state; /* all NFSv4 state starts here */
38 struct list_head nfs4_siblings; /* List of other nfs_server structs
39 * that share the same clientid
41 u32 attr_bitmask[2];/* V4 bitmask representing the set
42 of attributes supported on this
44 u32 acl_bitmask; /* V4 bitmask representing the ACEs
45 that are supported on this
50 /* Server capabilities */
51 #define NFS_CAP_READDIRPLUS (1U << 0)
52 #define NFS_CAP_HARDLINKS (1U << 1)
53 #define NFS_CAP_SYMLINKS (1U << 2)
54 #define NFS_CAP_ACLS (1U << 3)