Skip to content

nfs: add NFSv42 CLONE support

Peng Tao linux-nfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6nfs42: add CLONE xdr functionsfs/nfs/nfs42xdr.c fs/nfs/nfs4xdr.c include/linux/nfs4.h +1 more+118 -10 replies
2/6nfs42: add CLONE proc functionsfs/nfs/nfs42.h fs/nfs/nfs42proc.c fs/nfs/nfs4proc.c +1 more+75 -10 replies
3/6nfs42: add NFS_IOC_CLONE ioctlfs/nfs/nfs4file.c include/uapi/linux/nfs.h+106 -00 replies
4/6nfs: get clone_blksize when probing fsinfofs/nfs/client.c fs/nfs/nfs4proc.c fs/nfs/nfs4xdr.c +3 more+30 -00 replies
5/6nfs42: respect clone_blksizefs/nfs/nfs4file.c+11 -00 replies
6/6nfs42: add NFS_IOC_CLONE_RANGE ioctlfs/nfs/nfs4file.c include/uapi/linux/nfs.h+22 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] nfs: add NFSv42 CLONE support

Hi Trond,

This is the same patchset that was sent in July. It added NFSv42 CLONE support to nfs. Follow btrfs lead to use same ioctl for the CLONE functionality, as sugggested by Christoph.

nfsd CLONE support will be post separately, to make the client side change easy to merge, since nfsd change would conflict heavily with Anna's COPY work.

Cheers,
Tao

Peng Tao (6):
nfs42: add CLONE xdr functions
nfs42: add CLONE proc functions
nfs42: add NFS_IOC_CLONE ioctl
nfs: get clone_blksize when probing fsinfo
nfs42: respect clone_blksize
nfs42: add NFS_IOC_CLONE_RANGE ioctl

 fs/nfs/client.c           |   1 +
 fs/nfs/nfs42.h            |   1 +
 fs/nfs/nfs42proc.c        |  71 ++++++++++++++++++++++++++
 fs/nfs/nfs42xdr.c         |  97 ++++++++++++++++++++++++++++++++++-
 fs/nfs/nfs4file.c         | 127 ++++++++++++++++++++++++++++++++++++++++++++++
 fs/nfs/nfs4proc.c         |   4 +-
 fs/nfs/nfs4xdr.c          |  26 ++++++++++
 include/linux/nfs4.h      |   3 ++
 include/linux/nfs_fs_sb.h |   2 +
 include/linux/nfs_xdr.h   |  20 ++++++++
 include/uapi/linux/nfs.h  |  11 ++++
 11 files changed, 361 insertions(+), 2 deletions(-)
Signature · 1 line
1.8.3.1