diff options
author | Rob Norris <[email protected]> | 2023-06-27 23:44:53 +1000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2023-07-26 08:46:58 -0700 |
commit | 5d12545da8c112aa813560950f39315956338963 (patch) | |
tree | a0c33d5f555bce52a49afbcab4fb1e93729e9079 /module/Kbuild.in | |
parent | a3ea8c8ee6d01aba0d15b4619b8641376fef57e2 (diff) |
linux: implement filesystem-side copy/clone functions
This implements the Linux VFS ops required to service the file
copy/clone APIs:
.copy_file_range (4.5+)
.clone_file_range (4.5-4.19)
.dedupe_file_range (4.5-4.19)
.remap_file_range (4.20+)
Note that dedupe_file_range() and remap_file_range(REMAP_FILE_DEDUP) are
hooked up here, but are not implemented yet.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Kay Pedersen <[email protected]>
Signed-off-by: Rob Norris <[email protected]>
Sponsored-By: OpenDrives Inc.
Sponsored-By: Klara Inc.
Closes #15050
Diffstat (limited to 'module/Kbuild.in')
-rw-r--r-- | module/Kbuild.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/Kbuild.in b/module/Kbuild.in index 485331ac6..c13217159 100644 --- a/module/Kbuild.in +++ b/module/Kbuild.in @@ -461,6 +461,7 @@ ZFS_OBJS_OS := \ zpl_ctldir.o \ zpl_export.o \ zpl_file.o \ + zpl_file_range.o \ zpl_inode.o \ zpl_super.o \ zpl_xattr.o \ |