diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-10-30 00:42:10 +0100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2018-10-30 00:42:10 +0100 |
commit | eca3654e3cc7d93e9734d0fa96cfb15c7f356244 (patch) | |
tree | 00e5f8bd5de34435872d8cb222daaec79ede3961 /Documentation/filesystems/affs.txt | |
parent | vfs: plumb remap flags through the vfs dedupe functions (diff) | |
download | linux-eca3654e3cc7d93e9734d0fa96cfb15c7f356244.tar.xz linux-eca3654e3cc7d93e9734d0fa96cfb15c7f356244.zip |
vfs: enable remap callers that can handle short operations
Plumb in a remap flag that enables the filesystem remap handler to
shorten remapping requests for callers that can handle it. Now
copy_file_range can report partial success (in case we run up against
alignment problems, resource limits, etc.).
We also enable CAN_SHORTEN for fideduperange to maintain existing
userspace-visible behavior where xfs/btrfs shorten the dedupe range to
avoid stale post-eof data exposure.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'Documentation/filesystems/affs.txt')
0 files changed, 0 insertions, 0 deletions