diff --git a/[refs] b/[refs] index 09e7ab471ef0..407f80cf6f73 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6b39f6d22fbf67cf795c105b4d67c64e9c352ca4 +refs/heads/master: 6b365604ca8c1b67f0d5a816cf5acf2dc3edc229 diff --git a/trunk/fs/9p/vfs_super.c b/trunk/fs/9p/vfs_super.c index 6c812d1c58f1..f84d625b8790 100644 --- a/trunk/fs/9p/vfs_super.c +++ b/trunk/fs/9p/vfs_super.c @@ -86,6 +86,8 @@ v9fs_fill_super(struct super_block *sb, struct v9fs_session_info *v9ses, } else sb->s_op = &v9fs_super_ops; sb->s_bdi = &v9ses->bdi; + if (v9ses->cache) + sb->s_bdi->ra_pages = (VM_MAX_READAHEAD * 1024)/PAGE_CACHE_SIZE; sb->s_flags = flags | MS_ACTIVE | MS_DIRSYNC | MS_NOATIME; if (!v9ses->cache)