summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-07-20 17:43:34 +0900
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-19 18:16:41 +0900
commiteb67671cd8149d563c04764d39fda16f17194eae (patch)
tree527240a1027883be9e5ae0db63de943300350bf5 /tools/perf/scripts/python
parent2bd734ee2cc8a9fe19ee96a34fc7038117c3b181 (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')
0 files changed, 0 insertions, 0 deletions