]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: Support atomic write for statx
authorJohn Garry <john.g.garry@oracle.com>
Tue, 5 Nov 2024 00:14:03 +0000 (16:14 -0800)
committerDarrick J. Wong <djwong@djwong.org>
Tue, 5 Nov 2024 00:22:10 +0000 (16:22 -0800)
commit6432c6e723fffd93e5cb65117ff48a3aa734e259
tree8290fcd3caca0e27b93ebf9b52b4bcb71f03d7e2
parent9e0933c21c128d6d8ac4d8aae0babaf9a43100b8
xfs: Support atomic write for statx

Support providing info on atomic write unit min and max for an inode.

For simplicity, currently we limit the min at the FS block size. As for
max, we limit also at FS block size, as there is no current method to
guarantee extent alignment or granularity for regular files.

Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: John Garry <john.g.garry@oracle.com>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.h
fs/xfs/xfs_inode.h
fs/xfs/xfs_iops.c