OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre5-32-g5dac29b

Gerrit Code Review gerrit@openafs.org
Fri, 27 May 2011 10:36:06 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 5dac29b0fd07e22d2e145912588858c81f202061
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Thu Mar 17 16:32:00 2011 -0500

    libafs: Do not osi_FlushPages for dirs
    
    Directory contents are never mapped or stored in pages, so dealing
    with page invalidation on directories is just overhead. So make
    osi_FlushPages a no-op when we're given a directory, which can avoid a
    lot of locks and other processing (particularly when we are called in
    afs_getattr in BOZONLOCK_ENV).
    
    Reviewed-on: http://gerrit.openafs.org/4259
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    (cherry picked from commit a6f18413edceed1b0d532005eb62cb1886e7a6f3)
    
    Change-Id: I48dafa5fb442cfc92fb673f2b26e1034fc44c0c7
    Reviewed-on: http://gerrit.openafs.org/4730
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/afs/afs_osi_vm.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

-- 
OpenAFS Master Repository