OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3178-g66a5703

Gerrit Code Review gerrit@openafs.org
Mon, 3 Dec 2012 14:07:32 -0800 (PST)


The following commit has been merged in the master branch:
commit 66a5703463baad5739b6d47ed12d0a3a7b0c489a
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Sat Dec 1 07:30:57 2012 -0500

    Windows: Restore "fs getcacheparms" used space
    
    buf_Init() adds all of the available buffers to the free queue
    at startup and cm_data.buf_freeCount tracks the number of items
    in the free queue.  So it cannot be used as a method of reporting
    how much of the cache space has been used.   Add a new buf_usedCount
    parameter to the cm_memmap data to track the number of cache blocks
    that have been used up to the total number of allocated blocks.
    buf_usedCount can then be used in cm_IoctlGetCacheParms to restore
    the original behavior.
    
    Change-Id: I3ecdfdbda1c423551b7e7691243696e0f1553edc
    Reviewed-on: http://gerrit.openafs.org/8578
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
    Tested-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/WINNT/afsd/cm_buf.c    |    3 +++
 src/WINNT/afsd/cm_ioctl.c  |    2 +-
 src/WINNT/afsd/cm_memmap.c |    3 ++-
 src/WINNT/afsd/cm_memmap.h |    4 +++-
 4 files changed, 9 insertions(+), 3 deletions(-)

-- 
OpenAFS Master Repository