OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3969-g2286fac

Gerrit Code Review gerrit@openafs.org
Tue, 8 Oct 2013 05:52:33 -0700 (PDT)


The following commit has been merged in the master branch:
commit 0b1ee8c1c359fe16693bf117524f54160ebe53e3
Author: Ben Kaduk <kaduk@mit.edu>
Date:   Mon Jul 29 14:22:46 2013 -0400

    Reorder bosserver startup prior to pthreads
    
    The rx calls will take locks when built in pthreaded mode, and must go
    after rx_Init().  Some other setup would benefit from using time-domain
    locking and should run before we go multithreaded.
    
    In particular, initialize bozo_confdir while single-threaded, as it is
    otherwise protected by the afsconf internal locking.  While here, pass
    NULL to afsconf_SetCellInfo -- bozo_confdir would always be NULL there,
    anyway.
    
    Change a couple globals into local variables in main; they are just
    used to defer setup after argument parsing.
    
    ReadBozoFile will create worker threads to monitor child processes,
    so it cannot move up too far.
    
    Change when we daemonize, too.
    
    Change-Id: If7b6883748919270c9a5a41cd8e6fb724e95aa36
    Reviewed-on: http://gerrit.openafs.org/10285
    Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
    Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>

 src/bozo/bosserver.c |  169 ++++++++++++++++++++++++++------------------------
 1 files changed, 88 insertions(+), 81 deletions(-)

-- 
OpenAFS Master Repository