diff options
author | Jan Kara <jack@suse.cz> | 2024-06-25 13:18:54 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-07-04 05:30:27 +0300 |
commit | 878343dfa491e5c29bb6741a798229f051d3c8eb (patch) | |
tree | 36c782d69bddc6a00d92e62ca5ff41cfb08a54a2 /include/linux/pagemap.h | |
parent | 7c877586da3178974a8a94577b6045a48377ff25 (diff) | |
download | linux-878343dfa491e5c29bb6741a798229f051d3c8eb.tar.xz |
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 'include/linux/pagemap.h')
0 files changed, 0 insertions, 0 deletions