[OpenAFS] 1.3.77 Brokenness
Jack Neely
jjneely@pams.ncsu.edu
Fri, 14 Jan 2005 16:39:00 -0500
--IU5/I01NYhRvwH70
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Derrick,
That patch works. OpenAFS seems to work fairly well in memcache mode.
Not seeing file corruption of missing files.
The attached version of the patch (mainly for the list) applies to
1.3.77. So, I'm using this + Matthew's patches for a working 1.3.77.
Jack
--
Jack Neely <slack@quackmaster.net>
Realm Linux Administration and Development
PAMS Computer Operations at NC State University
GPG Fingerprint: 1917 5AC1 E828 9337 7AA4 EA6B 213B 765F 3B6A 5B89
--IU5/I01NYhRvwH70
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="memcache.patch"
--- src/afsd/afsd.c.old 2005-01-14 13:27:10.557882648 -0500
+++ src/afsd/afsd.c 2005-01-14 13:28:06.141432664 -0500
@@ -1932,7 +1932,11 @@
if (afsd_debug)
printf("%s: Calling AFSOP_VOLUMEINFO: volume info file is '%s'\n", rn,
fullpn_VolInfoFile);
- call_syscall(AFSOP_VOLUMEINFO, fullpn_VolInfoFile);
+
+ /* once again, meaningless for a memory-based cache. */
+ if (!(cacheFlags & AFSCALL_INIT_MEMCACHE))
+ call_syscall(AFSOP_VOLUMEINFO, fullpn_VolInfoFile);
+
/*
* Pass the kernel the name of the afs logging file holding the volume
--IU5/I01NYhRvwH70--