2 * Copyright (c) 2014 Anna Schumaker <Anna.Schumaker@Netapp.com>
5 #ifndef __LINUX_FS_NFS_NFS4_2_H
6 #define __LINUX_FS_NFS_NFS4_2_H
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.
12 #define PNFS_LAYOUTSTATS_MAXDEV (4)
15 int nfs42_proc_allocate(struct file
*, loff_t
, loff_t
);
16 ssize_t
nfs42_proc_copy(struct file
*, loff_t
, struct file
*, loff_t
, size_t);
17 int nfs42_proc_deallocate(struct file
*, loff_t
, loff_t
);
18 loff_t
nfs42_proc_llseek(struct file
*, loff_t
, int);
19 int nfs42_proc_layoutstats_generic(struct nfs_server
*,
20 struct nfs42_layoutstat_data
*);
21 int nfs42_proc_clone(struct file
*, struct file
*, loff_t
, loff_t
, loff_t
);
23 #endif /* __LINUX_FS_NFS_NFS4_2_H */