Anna Schumaker | 1c6dcbe | 2014-09-26 13:58:48 -0400 | [diff] [blame] | 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 | |
Trond Myklebust | be3a5d2 | 2015-06-23 19:51:55 +0800 | [diff] [blame] | 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 | |
Anna Schumaker | 1c6dcbe | 2014-09-26 13:58:48 -0400 | [diff] [blame] | 14 | /* nfs4.2proc.c */ |
Anna Schumaker | f4ac167 | 2014-11-25 13:18:15 -0500 | [diff] [blame] | 15 | int nfs42_proc_allocate(struct file *, loff_t, loff_t); |
Anna Schumaker | 2e72448 | 2013-05-21 16:53:03 -0400 | [diff] [blame] | 16 | ssize_t nfs42_proc_copy(struct file *, loff_t, struct file *, loff_t, size_t); |
Anna Schumaker | 624bd5b | 2014-11-25 13:18:16 -0500 | [diff] [blame] | 17 | int nfs42_proc_deallocate(struct file *, loff_t, loff_t); |
Anna Schumaker | 1c6dcbe | 2014-09-26 13:58:48 -0400 | [diff] [blame] | 18 | loff_t nfs42_proc_llseek(struct file *, loff_t, int); |
Trond Myklebust | be3a5d2 | 2015-06-23 19:51:55 +0800 | [diff] [blame] | 19 | int nfs42_proc_layoutstats_generic(struct nfs_server *, |
| 20 | struct nfs42_layoutstat_data *); |
Peng Tao | e5341f3 | 2015-09-26 02:24:35 +0800 | [diff] [blame] | 21 | int nfs42_proc_clone(struct file *, struct file *, loff_t, loff_t, loff_t); |
Anna Schumaker | 1c6dcbe | 2014-09-26 13:58:48 -0400 | [diff] [blame] | 22 | |
| 23 | #endif /* __LINUX_FS_NFS_NFS4_2_H */ |