OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74_1-31-g014821d

Gerrit Code Review gerrit@openafs.org
Tue, 27 Apr 2010 12:41:41 -0700 (PDT)


The following commit has been merged in the master branch:
commit 014821d281cac7815ac7908a853191b17bf2a868
Author: Derrick Brashear <shadow@dementia.org>
Date:   Mon Apr 26 17:43:16 2010 -0400

    flush changes on LOCK_EX unlock
    
    right now, flock with LOCK_EX, on unlock, triggers an async store.
    make it sync, but also, make sure to ask to have any in-memory
    data sent to us (e.g. VM_StoreAllSegments); unlike Solaris
    VMSYNC_INVAL, we don't want to invalidate the pages, just get copies
    written back.
    
    LOCK_SH did not, does not and AFAICT should not trigger writes.
    
    Change-Id: Id4a72f73b685b5566bb31f6f610f22d806899280
    Reviewed-on: http://gerrit.openafs.org/1846
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/afs/VNOPS/afs_vnop_flock.c |    2 +-
 src/afs/afs.h                  |    2 +-
 src/afs/afs_segments.c         |    4 +++-
 3 files changed, 5 insertions(+), 3 deletions(-)

-- 
OpenAFS Master Repository