OpenAFS Master Repository branch, master, updated. 69cf150be870f4b4f9d10b7d0b0aa780054c6958

Gerrit Code Review gerrit@openafs.org
Wed, 22 Jul 2009 11:02:03 -0700 (PDT)


The following commit has been merged in the master branch:
commit 69cf150be870f4b4f9d10b7d0b0aa780054c6958
Author: Felix Frank <ffrank@satyr4.ifh.de>
Date:   Thu Jul 2 08:55:47 2009 +0200

    Unite CacheStoreProcs and add abstraction calls.
    
    The cache type specific differencies among afs_MemCacheStoreProc
    and afs_UFSCacheStoreProc are divided into two sets of "storeOps".
    Upon rxfs_storeInit, the appropriate set is chosen.
    
    FIXME: Simon suggests that there should be a single set of storeOps,
    as the main difference lies in what rx_ calls must be made.
    This decision would then be made by calling a wrapper function from
    each storeOp. These wrappers should be cachetype-specific and protocol-
    independent. They would be associated to struct afs_cacheOps.
    Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/107
    Tested-by: Russ Allbery <rra@stanford.edu>
    Reviewed-by: Russ Allbery <rra@stanford.edu>

 src/afs/afs.h            |    9 +
 src/afs/afs_chunkops.h   |    2 -
 src/afs/afs_dcache.c     |    4 +-
 src/afs/afs_fetchstore.c |  384 +++++++++++++++++++++++++++++-----------------
 src/afs/afs_prototypes.h |    2 +-
 5 files changed, 254 insertions(+), 147 deletions(-)

-- 
OpenAFS Master Repository