]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: readpages() should submit IO as read-ahead
authorJens Axboe <axboe@kernel.dk>
Fri, 17 Aug 2018 22:45:42 +0000 (15:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Aug 2018 23:20:29 +0000 (16:20 -0700)
commit50bc81f31320307728685879f33ce9d5ad67154a
tree55210efe4060c7c457e1a072d532534eb8a8cff2
parentb04bb12be4c8a7b91f1d4ea635917e5cad671286
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>
fs/ext4/ext4.h
fs/ext4/inode.c
fs/ext4/readpage.c