diff options
author | Zhang Yi <[email protected]> | 2024-06-18 22:21:12 +0800 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-06-19 15:58:28 +0200 |
commit | 602f09f4029c7b5e1a2f44a7651ac8922a904a1b (patch) | |
tree | c9d38d11b2aa0aa0f1df57040e1aab8865724b2e /tools/perf/scripts/python/parallel-perf.py | |
parent | d048945150b798147b324f05f7e8c857772b0d3f (diff) |
iomap: don't increase i_size in iomap_write_end()
This reverts commit '0841ea4a3b41 ("iomap: keep on increasing i_size in
iomap_write_end()")'.
After xfs could zero out the tail blocks aligned to the allocation
unitsize and convert the tail blocks to unwritten for realtime inode on
truncate down, it couldn't expose any stale data when unaligned truncate
down realtime inodes, so we could keep on keeping i_size for
IOMAP_UNSHARE and IOMAP_ZERO in iomap_write_end().
Signed-off-by: Zhang Yi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions