OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_8_1-62-g5c9ec03

Gerrit Code Review
Thu, 4 Aug 2022 14:07:57 -0400

The following commit has been merged in the openafs-stable-1_8_x branch:
commit 5c9ec0359914e641da69b5490150e74d8ce3b8a7
Author: Cheyenne Wills <>
Date:   Mon Jun 6 12:27:43 2022 -0600

    afs: introduce afs_alloc_ncr/afs_free_ncr
    There is duplicated code for initializing a nocache_read_request
    and also freeing the associated storage in certain cases.  Create a set
    of helper functions that allocates and frees a nocache_read_request and
    its associated structures.
    afs_alloc_ncr allocates a nocache_read_request structure and if not
    UKERNEL, will allocate and initialize the associated uio and iovec
    afs_free_ncr releases a noncache_read_request structure and the
    associated uio and iovec structures if not UKERNEL.
    Update locations that allocate/free nocache_read_request structures to
    use the new functions.
    Reviewed-by: Andrew Deason <>
    Tested-by: BuildBot <>
    Reviewed-by: Benjamin Kaduk <>
    (cherry picked from commit 209eb92448001e59525413610356070d8e4f10a0)
    Change-Id: Id9c23195e062c720fdbde83a9b5d36fb287aa8a4
    Tested-by: BuildBot <>
    Reviewed-by: Andrew Deason <>
    Reviewed-by: Michael Meffie <>
    Reviewed-by: Stephan Wiesand <>

 src/afs/LINUX/osi_vnodeops.c | 41 +++++++++-----------
 src/afs/UKERNEL/afs_usrops.c |  8 +++-
 src/afs/afs_bypasscache.c    | 92 +++++++++++++++++++++++++++++++++++++++-----
 src/afs/afs_bypasscache.h    |  3 +-
 4 files changed, 108 insertions(+), 36 deletions(-)

OpenAFS Master Repository