diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-07-21 08:46:33 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-19 18:16:43 +0900 |
| commit | 5b676a77f3e47a20c7e6849e6e832cb43112f6e8 (patch) | |
| tree | 869db7c3e4b18e88ca1e9de2834e17c854b0fc48 /tools/perf/scripts/python/task-analyzer.py | |
| parent | a8a4681f2bfca3a782d6dfbba64d9f2a0ec90ba4 (diff) | |
ntfs: skip reads for full compression unit overwrites
ntfs_compress_write() reads every page in a compression unit before copying
new data into it. The read is unnecessary when an aligned write replaces
every byte covered by the page-cache folios.
Detect full page-aligned compression unit overwrites and grab locked cache
folios without reading them. Keep the read-modify-write path for partial
units and units that cover only part of a large page.
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
