Re: [PATCH v4 0/3] NFS: Add ALLOCATE and DEALLOCATE support

J. Bruce Fields
2014-11-07T21:22:37Z

On Fri, Nov 07, 2014 at 02:44:24PM -0500, Anna.Schumaker@netapp.com wrote:
> From: Anna Schumaker <Anna.Schumaker@Netapp.com>
>
> These patches add client support for the ALLOCATE and DEALLOCATE operations
> part of NFS v4.2, which are triggered by a vfs_fallocate() call.
>
> Changes in v4:
> - Check if we are modifying a regular file, and return nfserr_inval if not.

Thanks, applying for 3.19 (with minor change noted on patch 2.)

--b.

>
> These patches and the corresponding server changes are available in the
> [fallocate] branch of
>
> git://git.linux-nfs.org/projects/anna/linux-nfs.git
>
> Questions? Comments? Thougts?
>
> Anna
>
>
> Anna Schumaker (3):
> VFS: Rename do_fallocate() to vfs_fallocate()
> nfsd: Add ALLOCATE support
> nfsd: Add DEALLOCATE support
>
> drivers/staging/android/ashmem.c | 2 +-
> fs/ioctl.c | 2 +-
> fs/nfsd/nfs4proc.c | 51 ++++++++++++++++++++++++++++++++++++++++
> fs/nfsd/nfs4xdr.c | 21 +++++++++++++++--
> fs/nfsd/vfs.c | 23 ++++++++++++++++++
> fs/nfsd/vfs.h | 2 ++
> fs/nfsd/xdr4.h | 9 +++++++
> fs/open.c | 5 ++--
> include/linux/fs.h | 2 +-
> mm/madvise.c | 2 +-
> 10 files changed, 111 insertions(+), 8 deletions(-)
>
> --
> 2.1.3
>