diff options
author | David Howells <dhowells@redhat.com> | 2017-01-05 11:38:35 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2017-01-06 17:54:41 +0100 |
commit | 91b467e0a3f5fa861265eda94640b7d4c0290551 (patch) | |
tree | f5047799b3a947492e0321459c9fffb30a7c2ae7 /fs/afs/volume.c | |
parent | afs: Make afs_fs_fetch_data() take a list of pages (diff) | |
download | linux-91b467e0a3f5fa861265eda94640b7d4c0290551.tar.xz linux-91b467e0a3f5fa861265eda94640b7d4c0290551.zip |
afs: Make afs_readpages() fetch data in bulk
Make afs_readpages() use afs_vnode_fetch_data()'s new ability to take a
list of pages and do a bulk fetch.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/volume.c')
-rw-r--r-- | fs/afs/volume.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/afs/volume.c b/fs/afs/volume.c index d142a2449e65..546f9d01710b 100644 --- a/fs/afs/volume.c +++ b/fs/afs/volume.c @@ -106,6 +106,7 @@ struct afs_volume *afs_volume_lookup(struct afs_mount_params *params) volume->cell = params->cell; volume->vid = vlocation->vldb.vid[params->type]; + volume->bdi.ra_pages = VM_MAX_READAHEAD*1024/PAGE_SIZE; ret = bdi_setup_and_register(&volume->bdi, "afs"); if (ret) goto error_bdi; |