[PATCH v3 0/3] xfs and DAX atomic writes changes

From: John Garry
Date: Thu Jul 24 2025 - 04:13:28 EST


This series contains an atomic writes fix for DAX support on xfs and
an improvement to WARN against using IOCB_ATOMIC on the DAX write path.

Also included is an xfs atomic writes mount option fix.

Based on xfs -next at ("b0494366bd5b Merge branch 'xfs-6.17-merge' into
for-next")

John Garry (3):
fs/dax: Reject IOCB_ATOMIC in dax_iomap_rw()
xfs: disallow atomic writes on DAX
xfs: reject max_atomic_write mount option for no reflink

fs/dax.c | 3 +++
fs/xfs/xfs_file.c | 6 +++---
fs/xfs/xfs_inode.h | 11 +++++++++++
fs/xfs/xfs_iops.c | 5 +++--
fs/xfs/xfs_mount.c | 19 +++++++++++++++++++
5 files changed, 39 insertions(+), 5 deletions(-)

--
2.43.5