diff options
| author | Zhang Yi <yi.zhang@huawei.com> | 2026-03-27 18:29:35 +0800 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2026-04-09 21:57:52 -0400 |
| commit | 7d81ec0246ff74b10d92a4617fea84eaf06162c0 (patch) | |
| tree | 0adfaf2247b6e11356b7ebb8824d43a6fa751c29 /tools/perf/scripts/python/bin | |
| parent | c4602a1d09ec7c6dd6f53e5faf3f04e9c02d71eb (diff) | |
ext4: ensure zeroed partial blocks are persisted in SYNC mode
In ext4_zero_range() and ext4_punch_hole(), when operating in SYNC mode
and zeroing a partial block, only data=journal modes guarantee that the
zeroed data is synchronously persisted after the operation completes.
For data=ordered/writeback mode and non-journal modes, this guarantee is
missing.
Introduce a partial_zero parameter to explicitly trigger writeback for
all scenarios where a partial block is zeroed, ensuring the zeroed data
is durably persisted.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://patch.msgid.link/20260327102939.1095257-10-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
