diff options
author | Jan Kara <jack@suse.cz> | 2024-06-25 12:18:54 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-07-03 19:30:27 -0700 |
commit | 878343dfa491e5c29bb6741a798229f051d3c8eb (patch) | |
tree | 36c782d69bddc6a00d92e62ca5ff41cfb08a54a2 /mm/dmapool_test.c | |
parent | 7c877586da3178974a8a94577b6045a48377ff25 (diff) |
readahead: drop pointless index from force_page_cache_ra()
Current index to readahead is tracked in readahead_control and properly
updated by page_cache_ra_unbounded() (read_pages() in fact). So there's
no need to track the index separately in force_page_cache_ra().
Link: https://lkml.kernel.org/r/20240625101909.12234-4-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Tested-by: Zhang Peng <zhangpengpeng0808@gmail.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/dmapool_test.c')
0 files changed, 0 insertions, 0 deletions