]> Gentwo Git Trees - linux/.git/commit
xfs: support sub-block aligned vectors in always COW mode
authorChristoph Hellwig <hch@lst.de>
Fri, 31 Oct 2025 13:10:27 +0000 (14:10 +0100)
committerChristian Brauner <brauner@kernel.org>
Wed, 5 Nov 2025 12:09:27 +0000 (13:09 +0100)
commit8caec6c9fef70c0d0ce1bf38ad343e18e5e1f6a0
tree46ccec7cee90d87b54c93d8c14c0fe7936a62269
parent001397f5ef4908ea46a63059439e8c3bf3552d9f
xfs: support sub-block aligned vectors in always COW mode

Now that the block layer and iomap have grown support to indicate
the bio sector size explicitly instead of assuming the device sector
size, we can ask for logical block size alignment and thus support
direct I/O writes where the overall size is logical block size
aligned, but the boundaries between vectors might not be.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20251031131045.1613229-3-hch@lst.de
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/xfs/xfs_file.c