diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2020-10-15 20:06:28 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-10-16 11:11:16 -0700 |
commit | fefa7c478fdafe71c64b5ddf817ac0271aed1146 (patch) | |
tree | 2914f3ee4ad601b510eefa45885fe15d3fd9ddb8 /mm/page_io.c | |
parent | 7b3df3b9ac7e807bf1b6fcc03077bd80068f3d3c (diff) | |
download | linux-stable-fefa7c478fdafe71c64b5ddf817ac0271aed1146.tar.gz linux-stable-fefa7c478fdafe71c64b5ddf817ac0271aed1146.tar.bz2 linux-stable-fefa7c478fdafe71c64b5ddf817ac0271aed1146.zip |
mm/readahead: add page_cache_sync_ra and page_cache_async_ra
Reimplement page_cache_sync_readahead() and page_cache_async_readahead()
as wrappers around versions of the function which take a readahead_control
in preparation for making do_sync_mmap_readahead() pass down an RAC
struct.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: David Howells <dhowells@redhat.com>
Cc: Eric Biggers <ebiggers@google.com>
Link: https://lkml.kernel.org/r/20200903140844.14194-8-willy@infradead.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_io.c')
0 files changed, 0 insertions, 0 deletions