diff options
author | Jaegeuk Kim | 2018-06-21 11:29:43 -0700 |
---|---|---|
committer | Jaegeuk Kim | 2018-07-27 18:03:59 +0900 |
commit | e2e59414aae2c8036dfaa57cf6a578e1694945e8 (patch) | |
tree | 0f6fd32136fac3528728025b63554475100308c5 /kernel | |
parent | 2a63531a612f776ea754fee6272fc8f16a06b9d6 (diff) |
f2fs: assign REQ_RAHEAD to bio for ->readpages
As Jens reported, we'd better assign REQ_RAHEAD to bio by the fact that
->readpages is called only from read-ahead.
In Documentation/filesystems/vfs.txt,
readpages: called by the VM to read pages associated with the address_space
object. This is essentially just a vector version of
readpage. Instead of just one page, several pages are
requested.
readpages is only used for read-ahead, so read errors are
ignored. If anything goes wrong, feel free to give up.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions