diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-07-20 17:43:34 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-19 18:16:41 +0900 |
| commit | eb67671cd8149d563c04764d39fda16f17194eae (patch) | |
| tree | 527240a1027883be9e5ae0db63de943300350bf5 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 2bd734ee2cc8a9fe19ee96a34fc7038117c3b181 (diff) | |
ntfs: write compressed data before replacing old clusters
ntfs_write_cb() punches the old compression unit and publishes the new
mapping before submitting the replacement data. An allocation or I/O
failure after the punch loses the previous contents and can leave the
mapping pointing at unwritten clusters.
Allocate and write the replacement clusters first. Replace the runlist only
after the synchronous write succeeds, and free new clusters on failure.
Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
