Return-Path: Received: from mx142.netapp.com ([216.240.21.19]:62252 "EHLO mx142.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752379AbcD2UmU (ORCPT ); Fri, 29 Apr 2016 16:42:20 -0400 From: Anna Schumaker To: , , , Subject: [PATCH v4 0/3] NFSv4.2: Add support for the COPY operation Date: Fri, 29 Apr 2016 16:42:09 -0400 Message-ID: <1461962533-26534-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 and server support for the NFS v4.2 COPY operation, and make use of the new copy_file_range() system call. Changes in v4: - Rename nfsd_copy_range() -> nfsd_copy_file_range() to match clone - Remove extra size checks that are handled by the VFS Still missing: - xfstests unit tests Questions, comments, and other testing ideas would be greatly appreciated! Thanks, Anna *** BLURB HERE *** Anna Schumaker (4): NFS: Add nfs_commit_file() NFS: Add COPY nfs operation NFSD: Implement the COPY call vfs_copy_range() test program fs/nfs/internal.h | 1 + fs/nfs/nfs42.h | 1 + fs/nfs/nfs42proc.c | 105 +++++++++++++++++++++++++++++++++ fs/nfs/nfs42xdr.c | 146 ++++++++++++++++++++++++++++++++++++++++++++++ fs/nfs/nfs4file.c | 23 ++++++++ fs/nfs/nfs4proc.c | 1 + fs/nfs/nfs4xdr.c | 1 + fs/nfs/pagelist.c | 6 +- fs/nfs/write.c | 41 +++++++++++-- fs/nfsd/nfs4proc.c | 90 ++++++++++++++++++++++++---- fs/nfsd/nfs4xdr.c | 63 +++++++++++++++++++- fs/nfsd/vfs.c | 6 ++ fs/nfsd/vfs.h | 2 + fs/nfsd/xdr4.h | 23 ++++++++ include/linux/nfs4.h | 1 + include/linux/nfs_fs_sb.h | 1 + include/linux/nfs_xdr.h | 26 +++++++++ nfscopy.c | 59 +++++++++++++++++++ 18 files changed, 577 insertions(+), 19 deletions(-) create mode 100644 nfscopy.c -- 2.8.0