OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3053-gada1fc2

Gerrit Code Review gerrit@openafs.org
Mon, 29 Oct 2012 09:08:59 -0700 (PDT)


The following commit has been merged in the master branch:
commit ada1fc25679db5abc887fb52d30e32bb2713cae3
Author: Simon Wilkinson <sxw@your-file-system.com>
Date:   Tue Oct 23 12:41:07 2012 +0100

    rx: Make lock-free call data explicit
    
    For speed, the application thread accesses a number of elements of
    the call structure without holding the call lock. This is safe, as
    long as the application thread is the only place in which these
    items of data are accessed.
    
    Make this distinction explicit by creating a new structure to hold
    all of these fields, and include this structure within the rx_call.
    
    This turns up one place in the code (SendXmitList) which accesses an
    application private piece of data in the listener and event threads.
    A forthcoming patch will fix this.
    
    Change-Id: I7b5ffb8b5ce68a2186e37ae64461fe356a40603e
    Reviewed-on: http://gerrit.openafs.org/8285
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
    Reviewed-by: Derrick Brashear <shadow@your-file-system.com>

 src/rx/rx.c        |   48 +++---
 src/rx/rx_call.h   |   45 +++---
 src/rx/rx_packet.c |    2 +-
 src/rx/rx_rdwr.c   |  503 ++++++++++++++++++++++++++--------------------------
 4 files changed, 305 insertions(+), 293 deletions(-)

-- 
OpenAFS Master Repository