[v8,00/20] client and server support for "inter" SSC copy
mbox series

Message ID 20191010124622.27812-1-olga.kornievskaia@gmail.com
Headers show
Series
  • client and server support for "inter" SSC copy
Related show

Message

Olga Kornievskaia Oct. 10, 2019, 12:46 p.m. UTC
-- forgot to cc linux-nfs

--client patches
-- no code changes but I want to note that in my previous client-server
submission (as oppose to the last just client side submission), i have 
forgotten to include one of the patches. this submission corrects that
and is the same submission from client-only submission from July8th.
That patch is: "NFS based on file size issue sync copy or fallback to
generic copy offload"

-- server patches
-- removed the check for copy_notify state on clientid destruction
-- removed the code with unused arg to nfsd4_verify_copy()
-- changed the check_if_stalefh_allowed as per Bruce suggestion to
no return status and set op->status if 2nd putfh is missing in the
compound

patch series is available from git branch "linux-ssc-for-5-5" (forced
update):
git://linux-nfs.org/projects/aglo/linux.git

Olga Kornievskaia (20):
  NFS NFSD: defining nl4_servers structure needed by both
  NFS: add COPY_NOTIFY operation
  NFS: add ca_source_server<> to COPY
  NFS: inter ssc open
  NFS: skip recovery of copy open on dest server
  NFS: for "inter" copy treat ESTALE as ENOTSUPP
  NFS: COPY handle ERR_OFFLOAD_DENIED
  NFS: also send OFFLOAD_CANCEL to source server
  NFS handle NFS4ERR_PARTNER_NO_AUTH error
  NFS: handle source server reboot
  NFS based on file size issue sync copy or fallback to generic copy
    offload
  NFS: replace cross device check in copy_file_range
  NFSD fill-in netloc4 structure
  NFSD add ca_source_server<> to COPY
  NFSD COPY_NOTIFY xdr
  NFSD add COPY_NOTIFY operation
  NFSD check stateids against copy stateids
  NFSD generalize nfsd4_compound_state flag names
  NFSD: allow inter server COPY to have a STALE source server fh
  NFSD add nfs4 inter ssc to nfsd4_copy

 fs/nfs/nfs42.h            |  15 +-
 fs/nfs/nfs42proc.c        | 199 +++++++++++++++++----
 fs/nfs/nfs42xdr.c         | 190 +++++++++++++++++++-
 fs/nfs/nfs4_fs.h          |  11 ++
 fs/nfs/nfs4client.c       |   2 +-
 fs/nfs/nfs4file.c         | 139 ++++++++++++++-
 fs/nfs/nfs4proc.c         |   7 +-
 fs/nfs/nfs4state.c        |  40 ++++-
 fs/nfs/nfs4xdr.c          |   1 +
 fs/nfsd/Kconfig           |  10 ++
 fs/nfsd/nfs4proc.c        | 438 ++++++++++++++++++++++++++++++++++++++++++----
 fs/nfsd/nfs4state.c       | 192 +++++++++++++++++---
 fs/nfsd/nfs4xdr.c         | 155 +++++++++++++++-
 fs/nfsd/nfsd.h            |  32 ++++
 fs/nfsd/nfsfh.h           |   5 +-
 fs/nfsd/nfssvc.c          |   6 +
 fs/nfsd/state.h           |  34 +++-
 fs/nfsd/xdr4.h            |  39 ++++-
 include/linux/nfs4.h      |  25 +++
 include/linux/nfs_fs.h    |   4 +-
 include/linux/nfs_fs_sb.h |   1 +
 include/linux/nfs_xdr.h   |  17 ++
 22 files changed, 1441 insertions(+), 121 deletions(-)