Messages in this thread | | | Subject | Re: [PATCH] f2fs: assign REQ_RAHEAD to bio for ->readpages | From | Chao Yu <> | Date | Fri, 22 Jun 2018 15:38:41 +0800 |
| |
On 2018/6/22 3:32, Jaegeuk Kim wrote: > 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> > Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Thanks,
| |