diff options
author | 2023-10-27 09:58:24 +0200 | |
---|---|---|
committer | 2025-03-03 08:16:44 -0700 | |
commit | 6fff175279e4682b4eff25182808e0b1c90347cf (patch) | |
tree | e479e6c1994ad90546ca61bb3c91ea766531a54a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | xfs: skip always_cow inodes in xfs_reflink_trim_around_shared (diff) | |
download | wireguard-linux-6fff175279e4682b4eff25182808e0b1c90347cf.tar.xz wireguard-linux-6fff175279e4682b4eff25182808e0b1c90347cf.zip |
xfs: refine the unaligned check for always COW inodes in xfs_file_dio_write
For always COW inodes we also must check the alignment of each individual
iovec segment, as they could end up with different I/Os due to the way
bio_iov_iter_get_pages works, and we'd then overwrite an already written
block. The existing always_cow sysctl based code doesn't catch this
because nothing enforces that blocks aren't rewritten, but for zoned XFS
on sequential write required zones this is a hard error.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions