linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fideduperange.2: fix the discussion of maximum sizes
@ 2016-11-23  4:22 Darrick J. Wong
       [not found] ` <20161123042222.GA30324-PTl6brltDGh4DFYR7WNSRA@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Darrick J. Wong @ 2016-11-23  4:22 UTC (permalink / raw)
  To: mtk.manpages; +Cc: linux-fsdevel, linux-api, linux-xfs, linux-btrfs, linux-man

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 <darrick.wong@oracle.com>
---
 man2/ioctl_fideduperange.2 |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/man2/ioctl_fideduperange.2 b/man2/ioctl_fideduperange.2
index 2112d10..59f0ea9 100644
--- a/man2/ioctl_fideduperange.2
+++ b/man2/ioctl_fideduperange.2
@@ -95,7 +95,7 @@ struct file_dedupe_range_info {
 .in
 
 Each deduplication operation targets
-.IR length
+.IR src_length
 bytes in file descriptor
 .IR dest_fd
 at offset
@@ -108,8 +108,14 @@ During the call,
 must be open for reading and
 .IR dest_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
+.IR file_dedupe_range
+and the struct
+.IR file_dedupe_range_info
+array must not exceed the system page size.
+The maximum size of
+.IR src_length
+is filesystem dependent and is typically 16MiB.
 By convention, the storage used by
 .IR src_fd
 is mapped into

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-23  4:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-23  4:22 [PATCH] fideduperange.2: fix the discussion of maximum sizes Darrick J. Wong
     [not found] ` <20161123042222.GA30324-PTl6brltDGh4DFYR7WNSRA@public.gmane.org>
2016-11-23  4:39   ` Omar Sandoval
2016-11-23  4:47     ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).