OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-482-g9563807

Gerrit Code Review gerrit@openafs.org
Thu, 28 Nov 2019 02:20:14 -0500


The following commit has been merged in the master branch:
commit 9563807791e2402f7a214a90e96cf6ed8ea5abfb
Author: Marcio Barbosa <mbarbosa@sinenomine.net>
Date:   Thu Nov 7 00:10:12 2019 -0300

    afs: afs_pag_wait() makes process unkillable
    
    To enforce a maximum average rate of one PAG allocation per second,
    afs_pag_wait(), called by afs_setpag*(), sleeps until the difference
    between the current time and pag_epoch gets greater than pagCounter.
    Unfortunately, this function ignores the code returned by afs_osi_Wait().
    As a result, it is not possible to kill the process that requested the
    new pag while afs_pag_wait() is sleeping.
    
    To fix this problem, do not ignore the code returned by afs_osi_Wait().
    
    Change-Id: I6be11a569edcafa6ecdf716e5315fc75f5a128e8
    Reviewed-on: https://gerrit.openafs.org/12260
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

 src/afs/afs_osi_pag.c |   21 +++++++++++++++------
 1 files changed, 15 insertions(+), 6 deletions(-)

-- 
OpenAFS Master Repository