fs/ntfs3: improve readahead for bitmap initialization and large directory scans

Previously sequential reads operations relied solely on single-page reads,
causing the block layer to perform many synchronous I/O requests,
especially for large volumes or large directories. This patch introduces
explicit readahead via page_cache_sync_readahead() and file_ra_state to
reduce I/O latency and improve sequential throughput.

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
This commit is contained in:
Konstantin Komarov 2025-12-08 23:27:20 +03:00
commit 989e29450e
No known key found for this signature in database
GPG key ID: A9B0331F832407B6
6 changed files with 79 additions and 25 deletions