OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_6-59-g4750f4c

Gerrit Code Review
Fri, 14 Mar 2014 05:47:26 -0700 (PDT)

The following commit has been merged in the openafs-stable-1_6_x branch:
commit 4750f4ce272f944cc8d02e4fedf6e78ea153d7f9
Author: Andrew Deason <>
Date:   Fri Jan 31 16:46:12 2014 -0600

    afs: Throttle byte-range locks warnings per-file
    Currently, the warning messages about byte-range locks are throttled
    only according to what the last PID of the locking process was. So, if
    that same process performs a bunch of byte-range locks a bunch of
    times, we log this warning message at most once every 2 minutes.
    However, if we have even just one other process also performing
    byte-range locks, the throttling can become pretty useless as
    lastWarnPid ping-pongs back and forth between the two different PIDs.
    This can happen if multiple unrelated byte-range-lock-using pieces of
    software just happen to be running on the same machine, or if a piece
    of software uses byte-range locks after forking into separate
    To avoid flooding the log in situations like this, keep track of the
    last warn time in the relevant vcache, so we don't get frequent
    warnings for byte-range lock requests on the same file.
    Reviewed-by: D Brashear <>
    Tested-by: BuildBot <>
    (cherry picked from commit 9f90b12e14e5511cb1c11cbc4d85cfa291be861f)
    Change-Id: Ia5426e97fa431e6b9eeb1c82e03c74c959249e9a
    Tested-by: BuildBot <>
    Reviewed-by: Andrew Deason <>
    Reviewed-by: D Brashear <>
    Reviewed-by: Stephan Wiesand <>

 src/afs/VNOPS/afs_vnop_flock.c |    5 ++++-
 src/afs/afs.h                  |    1 +
 2 files changed, 5 insertions(+), 1 deletions(-)

OpenAFS Master Repository