diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-08-17 18:45:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-08-17 19:20:29 -0400 |
commit | ac22b46a0b65dbeccbf4d458db95687e825bde90 (patch) | |
tree | 55210efe4060c7c457e1a072d532534eb8a8cff2 /fs/ext4/ext4.h | |
parent | 5e9d398240b2292b1091f921d29bbab374b755fd (diff) |
ext4: readpages() should submit IO as read-ahead
a_ops->readpages() is only ever used for read-ahead. Ensure that we
pass this information down to the block layer.
Link: http://lkml.kernel.org/r/20180621010725.17813-5-axboe@kernel.dk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Chris Mason <clm@fb.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 1fc013f3d944..0f0edd1cd0cd 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h | |||
@@ -3062,7 +3062,7 @@ static inline void ext4_set_de_type(struct super_block *sb, | |||
3062 | /* readpages.c */ | 3062 | /* readpages.c */ |
3063 | extern int ext4_mpage_readpages(struct address_space *mapping, | 3063 | extern int ext4_mpage_readpages(struct address_space *mapping, |
3064 | struct list_head *pages, struct page *page, | 3064 | struct list_head *pages, struct page *page, |
3065 | unsigned nr_pages); | 3065 | unsigned nr_pages, bool is_readahead); |
3066 | 3066 | ||
3067 | /* symlink.c */ | 3067 | /* symlink.c */ |
3068 | extern const struct inode_operations ext4_encrypted_symlink_inode_operations; | 3068 | extern const struct inode_operations ext4_encrypted_symlink_inode_operations; |