OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre3-32-g8f7ae33

Gerrit Code Review gerrit@openafs.org
Sun, 27 Mar 2011 21:18:07 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 8f7ae330d6491dae015c52ae1a3cf0e2333a349b
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.
    
    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>
    (cherry picked from commit 55781a831954cb1e7253a12e0f9b581b586c3603)
    
    Change-Id: I184a7e0b0ac05361c491821bc6a3756db3e24221
    Reviewed-on: http://gerrit.openafs.org/4352
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

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

-- 
OpenAFS Master Repository