Skip to content

VFS: In-kernel copy system call

Anna Schumaker linux-api linux-btrfs linux-fsdevel linux-nfs 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest1 of 4 patches 4 repliesIn review
  2. v80 of 4 patches 5 repliesSuperseded
  3. v52 of 9 patches 37 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v46 of 9 patches3 repliesSuperseded
v31 of 9 patches3 repliesSuperseded
v14 of 8 patches47 repliesSuperseded

Changes in v9 from the cover letter

- Update syscall number for sys_mlock2()
- Fix calls to rw_verify_area()

1 of 4 patches is in this archive. The cover letter announces 4.

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/4x86: add sys_copy_file_range to syscall tablesarch/x86/entry/syscalls/syscall_32.tbl arch/x86/entry/syscalls/syscall_64.tbl+2 -00 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChristoph HellwigJosef BacikDavid SterbaDarrick J. WongPadraig Brady
SeriesR-b R-b R-b R-b R-b R-b R-b
2/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v9 thread

Cover letter [PATCH v9 0/4] VFS: In-kernel copy system call

Copy system calls came up during Plumbers a while ago, mostly because several filesystems (including NFS and XFS) are currently working on copy acceleration implementations. We haven't heard from Zach Brown in a while, so I volunteered to push his patches upstream so individual filesystems don't need to keep writing their own ioctls.

Changes in v9:
- Update syscall number for sys_mlock2()
- Fix calls to rw_verify_area()

Thanks,
Anna

Anna Schumaker (1):
vfs: Add vfs_copy_file_range() support for pagecache copies

Zach Brown (3):
vfs: add copy_file_range syscall and vfs helper
x86: add sys_copy_file_range to syscall tables
btrfs: add .copy_file_range file operation

 arch/x86/entry/syscalls/syscall_32.tbl |   1 +
 arch/x86/entry/syscalls/syscall_64.tbl |   1 +
 fs/btrfs/ctree.h                       |   3 +
 fs/btrfs/file.c                        |   1 +
 fs/btrfs/ioctl.c                       |  91 ++++++++++++++----------
 fs/read_write.c                        | 125 +++++++++++++++++++++++++++++++++
 include/linux/fs.h                     |   3 +
 include/linux/syscalls.h               |   3 +
 include/uapi/asm-generic/unistd.h      |   4 +-
 kernel/sys_ni.c                        |   1 +
 10 files changed, 193 insertions(+), 40 deletions(-)
Signature · 1 line
2.6.2