OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_19-50-g44df109

Gerrit Code Review gerrit@openafs.org
Mon, 3 Dec 2012 20:17:59 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 44df10954ba228a61251aa1fc77f65d63d289779
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.
    
    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>
    (cherry picked from commit 66a5703463baad5739b6d47ed12d0a3a7b0c489a)
    
    Change-Id: Iec0b8b7e4976cc94b7fb55999c108b1bc09ed8b9
    Reviewed-on: http://gerrit.openafs.org/8594
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-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