OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_72-28-gf96ca93

Gerrit Code Review gerrit@openafs.org
Wed, 17 Feb 2010 09:58:48 -0800 (PST)


The following commit has been merged in the master branch:
commit f96ca93b733ef27cd8a58fcc7462ce4a2f4b2f4a
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Wed Dec 2 13:37:27 2009 -0600

    salvager: avoid needing temp files to stay around
    
    The salvager makes use of a couple of temporary files to store some
    information while doing a salvage. Instead of referring to these files
    by path name everywhere, pass around file handles instead. That way we
    can unlink the files immediately, and they will be deleted on close.
    This removes one of the roadblocks to allowing multiple salvages on the
    same partition to occur at once (since otherwise other salvagers would
    remove the temporary files on startup), and also makes it much less
    likely that old temporary files will be left lying around in the first
    place.
    
    Change-Id: Idfc696c2c75e21db717c720bd950af6e2766b9aa
    Reviewed-on: http://gerrit.openafs.org/1263
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/vol/listinodes.c  |   67 ++++++-------------------------------------
 src/vol/namei_ops.c   |   28 ++++--------------
 src/vol/namei_ops.h   |    2 +-
 src/vol/ntops.c       |   29 ++++--------------
 src/vol/ntops.h       |    2 +-
 src/vol/nuke.c        |    7 ----
 src/vol/vol-salvage.c |   75 ++++++++++++++++++++++++++-----------------------
 src/vol/vol-salvage.h |    2 +-
 8 files changed, 65 insertions(+), 147 deletions(-)

-- 
OpenAFS Master Repository