OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1059-gfd62028
Gerrit Code Review
gerrit@openafs.org
Wed, 13 Apr 2011 10:02:26 -0700 (PDT)
The following commit has been merged in the master branch:
commit fd620283a926386d4a90e602a1a47ee622b6a483
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Tue Apr 12 19:41:30 2011 +0100
libafs: Remove afs_read duplication
The disk cache and memcache afs_read functions are effectively
duplicates of each other. Abstract out the common code into a generic
afs_read() function, and put the cache type specific code into
UFSReadUIO (there is already a MemReadUIO which contains the code
necessary for the memcache).
Change-Id: Ic66242fa4695a146ac874a82bd48a7c1f1f412a6
Reviewed-on: http://gerrit.openafs.org/4463
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/VNOPS/afs_vnop_read.c | 560 ++++++++--------------------------------
src/afs/afs.h | 2 -
src/afs/afs_chunkops.h | 4 +-
src/afs/afs_dcache.c | 8 +-
src/afs/afs_prototypes.h | 12 +-
5 files changed, 123 insertions(+), 463 deletions(-)
--
OpenAFS Master Repository