All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] NFSv4.2: Add support for the COPY operation
@ 2015-12-18 21:05 Anna Schumaker
  2015-12-18 21:05 ` [PATCH v2 1/3] NFSD: Don't pass filehandle to nfs4_preprocess_stateid_op() Anna Schumaker
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Anna Schumaker @ 2015-12-18 21:05 UTC (permalink / raw)
  To: linux-nfs, Trond.Myklebust, bfields, hch

These patches add client and server support for the NFS v4.2 COPY operation,
and depend on the new copy_file_range() system call currently scheduled for
Linux 4.5.

Changes in v2:
- Preprocess filehandle op can choose between current_fh and save_fh
- NFSD doesnt' need to fsync() after vfs_copy_file_range() call
- Mark file as NFS_UNSTABLE in the copy return
- The client should send a commit if the file is copied with anything other
  than NFS_FILE_SYNC
- Fix conflicts with CLONE

Questions, comments, and other testing ideas would be greatly appreciated!

Thanks,
Anna


Anna Schumaker (4):
  NFSD: Don't pass filehandle to nfs4_preprocess_stateid_op()
  NFSD: Implement the COPY call
  NFS: Add COPY nfs operation
  vfs_copy_range() test program

 fs/nfs/nfs42.h            |   1 +
 fs/nfs/nfs42proc.c        | 100 +++++++++++++++++++++++++++++++
 fs/nfs/nfs42xdr.c         | 146 ++++++++++++++++++++++++++++++++++++++++++++++
 fs/nfs/nfs4file.c         |  23 ++++++++
 fs/nfs/nfs4proc.c         |   1 +
 fs/nfs/nfs4xdr.c          |   1 +
 fs/nfs/objlayout/Makefile |   0
 fs/nfsd/nfs4proc.c        | 110 +++++++++++++++++++++++++++-------
 fs/nfsd/nfs4state.c       |  10 +++-
 fs/nfsd/nfs4xdr.c         |  62 +++++++++++++++++++-
 fs/nfsd/state.h           |   7 ++-
 fs/nfsd/vfs.c             |  20 +++++++
 fs/nfsd/vfs.h             |   1 +
 fs/nfsd/xdr4.h            |  23 ++++++++
 include/linux/nfs4.h      |   1 +
 include/linux/nfs_fs_sb.h |   1 +
 include/linux/nfs_xdr.h   |  27 +++++++++
 nfscopy.c                 |  59 +++++++++++++++++++
 18 files changed, 563 insertions(+), 30 deletions(-)
 create mode 100644 fs/nfs/objlayout/Makefile
 create mode 100644 nfscopy.c

-- 
2.6.4


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-01-04 20:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-18 21:05 [PATCH v2 0/3] NFSv4.2: Add support for the COPY operation Anna Schumaker
2015-12-18 21:05 ` [PATCH v2 1/3] NFSD: Don't pass filehandle to nfs4_preprocess_stateid_op() Anna Schumaker
2015-12-20 15:45   ` Christoph Hellwig
2016-01-04 19:01     ` Anna Schumaker
2015-12-18 21:05 ` [PATCH v2 2/3] NFSD: Implement the COPY call Anna Schumaker
2015-12-20 15:50   ` Christoph Hellwig
2016-01-04 19:39     ` Anna Schumaker
2015-12-18 21:05 ` [PATCH v2 3/3] NFS: Add COPY nfs operation Anna Schumaker
2015-12-20 15:53   ` Christoph Hellwig
2016-01-04 20:05     ` Anna Schumaker
2015-12-18 21:05 ` [RFC v2 4/3] vfs_copy_range() test program Anna Schumaker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.