The following commit has been merged in the master branch:
commit c9a4e11bbac143f7e44af4eb1e6fae1653679e33
Author: Ben Kaduk <[email protected]>
Date:   Thu Mar 11 00:13:12 2010 -0500

    Allocate and free backing store for event mutices
    
    Actually get memory for the event mutex.  With this and a locking
    tweak, afsd actually starts (with memcache; the UFS cache still
    has some locking issues).
    Note that struct mtx is small enough that we may want to just
    include it inline in afs_event_t and avoid having to do a separate
    allocation/free step.  However, Derrick wants to merge the FBSD and
    DARWIN versions of this file, so stick with the more compatible
    version for now.
    I find that without the memset(), mtx_init() will (sometimes?) complain
    that the mutex is already initialized.  The glock should ensure
    serialization here, though, so that we only allocate and initialize
    one mutex per event.
    Also remove an unnecessary cast while here.
    
    Change-Id: Ib304f4301a478a82f0fb8c9ae3bfee98a2a28acd
    Reviewed-on: http://gerrit.openafs.org/1560
    Reviewed-by: Simon Wilkinson <[email protected]>
    Reviewed-by: Derrick Brashear <[email protected]>
    Tested-by: Derrick Brashear <[email protected]>

 src/afs/FBSD/osi_sleep.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to