From cf2e1695d465905933fb0122a78e05b034e38253 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 11 Jul 2018 16:14:53 +0200 Subject: [PATCH] ORIG_HEAD Signed-off-by: Karel Zak --- sys-utils/fallocate.1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys-utils/fallocate.1 b/sys-utils/fallocate.1 index 0cbb5c9944..ab9bed1439 100644 --- a/sys-utils/fallocate.1 +++ b/sys-utils/fallocate.1 @@ -54,6 +54,12 @@ location \fIoffset\fR, and the file will be \fIlength\fR bytes smaller. The opt \fB\-\-keep\-size\fR may not be specified for the collapse-range operation. .sp Available since Linux 3.15 for ext4 (only for extent-based files) and XFS. +.sp +A filesystem may place limitations on the granularity of the operation, in +order to ensure efficient implementation. Typically, offset and len must be a +multiple of the filesystem logical block size, which varies according to the +filesystem type and configuration. If a filesystem has such a requirement, +the operation will fail with the error EINVAL if this requirement is violated. .TP .BR \-d , " \-\-dig\-holes" Detect and dig holes. This makes the file sparse in-place, without using extra -- 2.47.3