@@ -83,6 +83,12 @@ is useful for optimizing append workloads.
Because allocation is done in block size chunks,
.BR fallocate ()
may allocate a larger range of disk space than was specified.
+.PP
+Filesystems which allow files to share the same physical storage may
+employ copy on write to unshare the physical blocks to guarantee that
+subsequent writes will not fail due to lack of disk space.
+If the disk blocks are then re-shared, a subsequent write may still
+fail due to lack of space.
.SS Deallocating file space
Specifying the
.BR FALLOC_FL_PUNCH_HOLE
Add a blurb to the fallocate manpage explaining that the fallocate command may use CoW to unshare blocks to guarantee that a disk write won't fail with ENOSPC. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> --- man2/fallocate.2 | 6 ++++++ 1 file changed, 6 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html