]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mkfs: require reflink for max_atomic_write option for-next
authorJohn Garry <john.g.garry@oracle.com>
Wed, 30 Jul 2025 10:13:20 +0000 (10:13 +0000)
committerAndrey Albershteyn <aalbersh@kernel.org>
Fri, 8 Aug 2025 11:39:31 +0000 (13:39 +0200)
commit264762bb42b9d32793161c0d64c5a34e1f741fd3
tree105d98ec5c9676c900bab8404d24809e235efb5f
parent466e8aa6e0e80a0a54a939b35d6e755d82c14435
mkfs: require reflink for max_atomic_write option

For max_atomic_write option to be set, it means that the user wants to
support atomic writes up to that size.

However, to support this we must have reflink, so enforce that this is
available.

Signed-off-by: John Garry <john.g.garry@oracle.com>
Suggested-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
mkfs/xfs_mkfs.c