summaryrefslogtreecommitdiffstats
path: root/.rustfmt.toml
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2024-06-25 12:18:58 +0200
committerAndrew Morton <akpm@linux-foundation.org>2024-07-04 04:30:27 +0200
commit3a7a11a57e464a05bf2ae7ad1e28667890727ed8 (patch)
tree0d2bc1c75ad90dc9492e7999f2ebb8fc141fdda0 /.rustfmt.toml
parentreadahead: drop dead code in ondemand_readahead() (diff)
downloadlinux-3a7a11a57e464a05bf2ae7ad1e28667890727ed8.tar.xz
linux-3a7a11a57e464a05bf2ae7ad1e28667890727ed8.zip
readahead: disentangle async and sync readahead
Both async and sync readahead are handled by ondemand_readahead() function. However there isn't actually much in common. Just move async related parts into page_cache_ra_async() and sync related parts to page_cache_ra_sync(). No functional changes. Link: https://lkml.kernel.org/r/20240625101909.12234-8-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 '.rustfmt.toml')
0 files changed, 0 insertions, 0 deletions