From: John Garry Date: Tue, 3 Dec 2024 14:53:59 +0000 (+0000) Subject: man/man2/statx.2: Update STATX_WRITE_ATOMIC filesystem support X-Git-Tag: man-pages-6.10~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d47bd08d8b254ff1dc46726e38fa205ad5eecba5;p=thirdparty%2Fman-pages.git man/man2/statx.2: Update STATX_WRITE_ATOMIC filesystem support Linux v6.13 will include atomic write support for xfs and ext4, so update STATX_WRITE_ATOMIC commentary to mention that. Cc: "Darrick J. Wong" Cc: Signed-off-by: John Garry Message-ID: <20241203145359.2691972-1-john.g.garry@oracle.com> [alx: ffix] Signed-off-by: Alejandro Colomar --- diff --git a/man/man2/statx.2 b/man/man2/statx.2 index c5b5a28ec..7fab1d3d8 100644 --- a/man/man2/statx.2 +++ b/man/man2/statx.2 @@ -482,6 +482,15 @@ The minimum and maximum sizes (in bytes) supported for direct I/O .RB ( O_DIRECT ) on the file to be written with torn-write protection. These values are each guaranteed to be a power-of-2. +.IP +.B STATX_WRITE_ATOMIC +.RI ( stx_atomic_write_unit_min , +.IR stx_atomic_write_unit_max , +and +.IR stx_atomic_write_segments_max ) +is supported on block devices since Linux 6.11. +The support on regular files varies by filesystem; +it is supported by xfs and ext4 since Linux 6.13. .TP .I stx_atomic_write_segments_max The maximum number of elements in an array of vectors