OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-934-g55781a8

Gerrit Code Review gerrit@openafs.org
Sat, 26 Mar 2011 08:25:30 -0700 (PDT)


The following commit has been merged in the master branch:
commit 55781a831954cb1e7253a12e0f9b581b586c3603
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Fri Mar 25 15:54:01 2011 -0500

    viced: REALLYCLOSE origfdP after CoW
    
    In StoreData_RXStyle, we save a pointer to the original FdHandle_t if
    we need to CopyOnWrite the target vnode, for the purposes of possibly
    copying additional data later on.
    
    After the CopyOnWrite call, this points to an inode that is not in the
    current volume, and is thus less likely to be accessed. In CopyOnWrite
    itself, the original file handle is FDH_REALLYCLOSE'd because of this,
    so the handle does not remain in the cache. Do the same in
    StoreData_RXStyle, so origfdP is always FDH_REALLYCLOSE'd after we
    have called CopyOnWrite.
    
    Change-Id: Ibe33d26120eb354318147f3a31fe32d38c6a70c6
    Reviewed-on: http://gerrit.openafs.org/4344
    Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/viced/afsfileprocs.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

-- 
OpenAFS Master Repository