xref: /linux/fs/nfs/nfs42.h (revision 93df8a1ed6231727c5db94a80b1a6bd5ee67cec3)
1 /*
2  * Copyright (c) 2014 Anna Schumaker <Anna.Schumaker@Netapp.com>
3  */
4 
5 #ifndef __LINUX_FS_NFS_NFS4_2_H
6 #define __LINUX_FS_NFS_NFS4_2_H
7 
8 /*
9  * FIXME:  four LAYOUTSTATS calls per compound at most! Do we need to support
10  * more? Need to consider not to pre-alloc too much for a compound.
11  */
12 #define PNFS_LAYOUTSTATS_MAXDEV (4)
13 
14 /* nfs4.2proc.c */
15 int nfs42_proc_allocate(struct file *, loff_t, loff_t);
16 int nfs42_proc_deallocate(struct file *, loff_t, loff_t);
17 loff_t nfs42_proc_llseek(struct file *, loff_t, int);
18 int nfs42_proc_layoutstats_generic(struct nfs_server *,
19 				   struct nfs42_layoutstat_data *);
20 /* nfs4.2xdr.h */
21 extern struct rpc_procinfo nfs4_2_procedures[];
22 
23 #endif /* __LINUX_FS_NFS_NFS4_2_H */
24