]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
ORIG_HEAD
authorKarel Zak <kzak@redhat.com>
Wed, 11 Jul 2018 14:14:53 +0000 (16:14 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 11 Jul 2018 14:14:53 +0000 (16:14 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/fallocate.1

index 0cbb5c9944689327fbc0a3e932334f748efb0fbc..ab9bed14391964d3bb4403b41feed7a5beb1f009 100644 (file)
@@ -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