diff options
| author | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-06-21 11:29:43 -0700 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-07-27 18:03:59 +0900 |
| commit | e2e59414aae2c8036dfaa57cf6a578e1694945e8 (patch) | |
| tree | 0f6fd32136fac3528728025b63554475100308c5 /tools/perf/scripts/python | |
| parent | f2fs: fix a hungtask problem caused by congestion_wait (diff) | |
| download | linux-e2e59414aae2c8036dfaa57cf6a578e1694945e8.tar.gz linux-e2e59414aae2c8036dfaa57cf6a578e1694945e8.zip | |
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
