diff options
| author | Zhang Yi <yi.zhang@huawei.com> | 2026-07-14 16:00:39 +0800 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2026-07-22 12:57:16 -0400 |
| commit | b16e9d27a643a3cf8907c994d25ed52717f36418 (patch) | |
| tree | cc7ab0a309536249a21d1659a5d098ec6190d761 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 705a3fd3bac167f1dabe3d3bba46cd484c5528dd (diff) | |
ext4: move partial block zeroing earlier in ext4_zero_range()
In ext4_zero_range(), move the ext4_zero_partial_blocks() call, which
handles unaligned edges, into the same branch where the unaligned range
is preallocated, immediately after ext4_alloc_file_blocks(). This is
safe because there is no dependency between partial block handling and
the subsequent full block handling.
This change will be used by later patches that handle unaligned
FALLOC_FL_WRITE_ZEROES operations, which will need to check the partial
zeroed result.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20260714080044.4038124-5-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
