OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_6pre2-4-gb7c5502

Gerrit Code Review
Fri, 12 Jun 2020 11:41:43 -0400

The following commit has been merged in the openafs-stable-1_8_x branch:
commit b7c5502516333d41aa1fa046c918dfece722f77c
Author: Cheyenne Wills <>
Date:   Fri May 15 10:40:20 2020 -0600

    LINUX-5.7: replace __pagevec_lru_add with lru_cache_add_file
    The Linux function __pagevec_lru_add is no longer exported in Linux
    5.7-rc1 commit bde07cfc65da5fe6c63fe23f035f5ccc0ffd89e0
    "mm/swap.c: not necessary to export __pagevec_lru_add()".
    As a replacement, the Linux function lru_cache_add_file can be used for
    adding a page to the lru cache.  The internal processing of
    lru_cache_add_file manages its own internal pagevec and performs the
    Introduce an autoconf test for lru_cache_add_file and replace the calls
    associated with __pagevec_lru_add with lru_cache_add_file.
    NOTE: see Linux commit a0b8cab3b9b2efadabdcff264c450ca515e2619c
    "mm: remove lru parameter from __pagevec_lru_add and remove parts of
    pagevec API" as a reference for this change.
    The lru_cache_add_file was introduced in Linux 2.6.28, therefore this
    change affects systems with Linux 2.6.28 kernels and later.
    Reviewed-by: Andrew Deason <>
    Reviewed-by: Benjamin Kaduk <>
    Tested-by: BuildBot <>
    (cherry picked from commit 17b42fe67c18fab0003fb712092d36f06c93f2eb)
    Change-Id: I206925d1659164a54e0c3a41b82a1733cb656b41
    Tested-by: BuildBot <>
    Tested-by: Cheyenne Wills <>
    Reviewed-by: Mark Vitale <>
    Reviewed-by: Stephan Wiesand <>

 src/afs/LINUX/osi_vnodeops.c |   49 ++++++++++++++++++++++++++++++++++++------
 src/cf/linux-kernel-func.m4  |    5 ++++
 2 files changed, 47 insertions(+), 7 deletions(-)

OpenAFS Master Repository