nfs: Add ALLOCATE support

This patch adds support for using the NFS v4.2 operation ALLOCATE to
preallocate data in a file.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
This commit is contained in:
Anna Schumaker
2014-11-25 13:18:15 -05:00
committed by Trond Myklebust
parent e9f456ca50
commit f4ac1674f5
11 changed files with 183 additions and 1 deletions

View File

@@ -6,6 +6,7 @@
#define __LINUX_FS_NFS_NFS4_2_H
/* nfs4.2proc.c */
int nfs42_proc_allocate(struct file *, loff_t, loff_t);
loff_t nfs42_proc_llseek(struct file *, loff_t, int);
/* nfs4.2xdr.h */