From: Darrick J. Wong <hidden> Date: 2016-11-23 04:48:21
Fix the discussion of the limitations on the dest_count and src_length
parameters to the fideduperange ioctl to reflect what's actually in the
kernel.
Signed-off-by: Darrick J. Wong <redacted>
---
man2/ioctl_fideduperange.2 | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
@@ -95,7 +95,7 @@ struct file_dedupe_range_info { .in Each deduplication operation targets-.IRlength+.IRsrc_length bytes in file descriptor .IRdest_fd at offset
@@ -108,8 +108,15 @@ During the call, must be open for reading and .IRdest_fd must be open for writing.-For any call to this ioctl, there may not be more than 65,536-requests attached; each request may not exceed 16MiB.+The combined size of the struct+.IRfile_dedupe_range+and the struct+.IRfile_dedupe_range_info+array must not exceed the system page size.+The maximum size of+.IRsrc_length+is filesystem dependent and is typically 16MiB.+This limit will be enforced silently by the filesystem. By convention, the storage used by .IRsrc_fd is mapped into
@@ -144,6 +151,13 @@ is set to indicate the error. .SHERRORS Error codes can be one of, but are not limited to, the following: .TP+.BENOMEM+The kernel was unable to allocate sufficient memory to perform the+operation or+.IRdest_count+is so large that the input argument description spans more than a single+page of memory.+.TP .BEBADF .IRsrc_fd is not open for reading;--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tue, Nov 22, 2016 at 08:48:16PM -0800, Darrick J. Wong wrote:
quoted hunk
Fix the discussion of the limitations on the dest_count and src_length
parameters to the fideduperange ioctl to reflect what's actually in the
kernel.
Signed-off-by: Darrick J. Wong <redacted>
---
man2/ioctl_fideduperange.2 | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
@@ -95,7 +95,7 @@ struct file_dedupe_range_info { .in Each deduplication operation targets-.IRlength+.IRsrc_length bytes in file descriptor .IRdest_fd at offset
@@ -108,8 +108,15 @@ During the call, must be open for reading and .IRdest_fd must be open for writing.-For any call to this ioctl, there may not be more than 65,536-requests attached; each request may not exceed 16MiB.+The combined size of the struct+.IRfile_dedupe_range+and the struct+.IRfile_dedupe_range_info+array must not exceed the system page size.+The maximum size of+.IRsrc_length+is filesystem dependent and is typically 16MiB.+This limit will be enforced silently by the filesystem. By convention, the storage used by .IRsrc_fd is mapped into
@@ -144,6 +151,13 @@ is set to indicate the error. .SHERRORS Error codes can be one of, but are not limited to, the following: .TP+.BENOMEM+The kernel was unable to allocate sufficient memory to perform the+operation or+.IRdest_count+is so large that the input argument description spans more than a single+page of memory.+.TP .BEBADF .IRsrc_fd is not open for reading;
@@ -95,7 +95,7 @@ struct file_dedupe_range_info { .in Each deduplication operation targets-.IRlength+.IRsrc_length bytes in file descriptor .IRdest_fd at offset
@@ -108,8 +108,15 @@ During the call, must be open for reading and .IRdest_fd must be open for writing.-For any call to this ioctl, there may not be more than 65,536-requests attached; each request may not exceed 16MiB.+The combined size of the struct+.IRfile_dedupe_range+and the struct+.IRfile_dedupe_range_info+array must not exceed the system page size.+The maximum size of+.IRsrc_length+is filesystem dependent and is typically 16MiB.+This limit will be enforced silently by the filesystem. By convention, the storage used by .IRsrc_fd is mapped into
@@ -144,6 +151,13 @@ is set to indicate the error. .SHERRORS Error codes can be one of, but are not limited to, the following: .TP+.BENOMEM+The kernel was unable to allocate sufficient memory to perform the+operation or+.IRdest_count+is so large that the input argument description spans more than a single+page of memory.+.TP .BEBADF .IRsrc_fd is not open for reading;
From: Michael Kerrisk (man-pages) <hidden> Date: 2016-11-23 07:19:23
On 11/23/2016 05:49 AM, Omar Sandoval wrote:
On Tue, Nov 22, 2016 at 08:48:16PM -0800, Darrick J. Wong wrote:
quoted
Fix the discussion of the limitations on the dest_count and src_length
parameters to the fideduperange ioctl to reflect what's actually in the
kernel.
Signed-off-by: Darrick J. Wong <redacted>
---
man2/ioctl_fideduperange.2 | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)