diff options
| author | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-06-21 11:29:43 -0700 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-09-18 13:36:15 -0700 |
| commit | 8371163afd3cfeb90e4e74176f066ac61d58c235 (patch) | |
| tree | 44b2bed508adb211138816682ec8a2e5217282c9 /tools/perf/scripts/python | |
| parent | b90a91b0cbf6c4ffc3371680e00203ea631aa2e9 (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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
