Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx12.netapp.com ([216.240.18.77]:39076 "EHLO mx12.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756211AbaJXOmi (ORCPT ); Fri, 24 Oct 2014 10:42:38 -0400 From: Anna Schumaker To: , Subject: [PATCH v2 0/2] NFS: Add ALLOCATE and DEALLOCATE support Date: Fri, 24 Oct 2014 10:42:11 -0400 Message-ID: <1414161733-26726-1-git-send-email-Anna.Schumaker@Netapp.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-nfs-owner@vger.kernel.org List-ID: 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 v2: - Use nfs_server_capable() for checking server capabilities. - Set the only valid fallocate() modes to either 0 or PUNCH_HOLE | KEEP_SIZE. 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 (2): nfs: Add ALLOCATE support nfs: Add DEALLOCATE support fs/nfs/nfs42.h | 2 + fs/nfs/nfs42proc.c | 92 +++++++++++++++++++++++++++++++ fs/nfs/nfs42xdr.c | 136 ++++++++++++++++++++++++++++++++++++++++++++++ fs/nfs/nfs4_fs.h | 1 + fs/nfs/nfs4file.c | 22 ++++++++ fs/nfs/nfs4proc.c | 4 +- fs/nfs/nfs4xdr.c | 2 + include/linux/nfs4.h | 2 + include/linux/nfs_fs_sb.h | 2 + include/linux/nfs_xdr.h | 28 ++++++++++ 10 files changed, 290 insertions(+), 1 deletion(-) -- 2.1.2