OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-1941-g6ee14ee

Gerrit Code Review gerrit@openafs.org
Fri, 2 Dec 2011 15:54:19 -0800 (PST)


The following commit has been merged in the master branch:
commit 500ffccfd66123c74a0d32c04801e5906f58e58a
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Fri Dec 2 11:21:46 2011 -0500

    Windows: buf_GetNewLocked should use cleaned cm_buf
    
    buf_GetNewLocked() searches the free buffer list for a buffer
    that has a 0 refcnt, is not in the chunk that is being populated,
    is not actively having I/O performed on it and is not dirty.
    If it comes across a dirty buffer, it calls buf_Clean() with
    the assumption that buf_CleanAsync() (as it was previously called)
    was in fact asynchronous and would return immediately.  Instead
    buf_Clean() is synchronous and when it completes the buffer will
    in most cases be clean.  buf_GetNewLocked() should use the newly
    cleaned buffer if it is still available and not continue the
    search from the next entry in the free buffer list.
    
    Change-Id: Iae629df57b9d27a813f7f4c6740be23bd33fe039
    Reviewed-on: http://gerrit.openafs.org/6174
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>

 src/WINNT/afsd/cm_buf.c |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository