]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Import 1.4.0 from /afs/grand.central.org/software/openafs. upstream/1.4.0
authorRuss Allbery <rra@debian.org>
Fri, 4 Nov 2005 18:56:44 +0000 (18:56 +0000)
committerRuss Allbery <rra@debian.org>
Fri, 4 Nov 2005 18:56:44 +0000 (18:56 +0000)
26 files changed:
NEWS
configure
configure-libafs
configure-libafs.in
configure.in
src/afs/HPUX/osi_machdep.h
src/afs/SOLARIS/osi_vnodeops.c
src/afs/VNOPS/afs_vnop_lookup.c
src/afs/afs_nfsdisp.c
src/afs/afs_pioctl.c
src/afsd/afsd.c
src/config/NTMakefile.amd64_w2k
src/config/NTMakefile.i386_nt40
src/config/NTMakefile.i386_w2k
src/libadmin/vos/afs_vosAdmin.c
src/libadmin/vos/vsprocs.c
src/libafs/afs.ppc_darwin_70.plist.in
src/libafs/afs.ppc_darwin_80.plist.in
src/libafsrpc/afsrpc.def
src/packaging/HP-UX/files/usr/vice/etc/CellServDB
src/rx/LINUX/rx_kmutex.h
src/rx/rx.c
src/rxgen/rpc_hout.c
src/rxgen/rpc_parse.c
src/rxgen/rpc_parse.h
src/vol/partition.c

diff --git a/NEWS b/NEWS
index 161998b4b6a1154e131b10ecd5a7c0e42914e42b..6d7dd6daaf0eac770d414bd9413041a4f8092757 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,12 +1,41 @@
 OpenAFS News -- history of user-visible changes.
 
-* Changes incorporated in OpenAFS 1.3
+* Changes incorporated in OpenAFS 1.4.0
+
+** Addition of pthreading support in volserver.
+
+** Threading optimization of RX libraries.
+
+** Windows 95/98 client desupported.
+
+** Digital UNIX/Tru64 desupported.
+
+** Windows XP/2003 client includes persistent (across boots) cache support.
+
+** Windows XP/2003 now supports a cache of up to 1.2gb.
+
+** Windows XP/2003 has various improvements to the included GUI and command 
+   line tools.
+
+** Windows XP/2003 now supports AFS UNC paths.
+
+** MacOS X (10.3) and Linux use system inodes instead of a private inode pool.
+
+** Files larger than 2gb are supported in Unix clients, and in servers if the 
+   --enable-largefile-fileserver switch is enabled at configure time.
+
+** Obsolete and insecure auxiliary network daemons (rcp, rsh, ftpd et al)
+   have been removed.
+
+** Fileserver optimizations have been made to improve timeout and callback 
+   breaking behavior to inaccessible clients or clients whose address has
+   changed.
+
+** Kerberos 5 support is integrated.
 
 ** -nosettime is now the default for afsd.  Use "-settime" to get the
    old behavior.
 
-** OpenBSD is now supported.
-
 ** Mountpoint directory information is now only faked for cross-cell
    mountpoints when using the -fakestat flag (e.g. for the directories
    under /afs, but not for most other volumes mounted inside the cell).
index dde06625eb8947abbab09ee71572a2f5f4996fde..46b6fae71b19e81a0ffe900d7a609a066ce1eda1 100644 (file)
--- a/configure
+++ b/configure
@@ -756,7 +756,7 @@ fi
 
 PACKAGE=openafs
 
-VERSION=1.4.0-rc6
+VERSION=1.4.0
 
 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
index 25699bc4289efe09a1bd8021aacb3098c0ed39ef..619b27a10af17d992cf001d5decaeddf858a5a94 100644 (file)
@@ -756,7 +756,7 @@ fi
 
 PACKAGE=openafs-libafs
 
-VERSION=1.4.0-rc6
+VERSION=1.4.0
 
 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
index ed7b0d0b503ff0a7e54a7056ef680ba43018017d..9d58fd1de1f17c42845d89c214559370425279f3 100644 (file)
@@ -1,5 +1,5 @@
 AC_INIT(src/libafs/Makefile.common.in)
-AM_INIT_AUTOMAKE(openafs-libafs,1.4.0-rc6)
+AM_INIT_AUTOMAKE(openafs-libafs,1.4.0)
 AC_CONFIG_HEADER(src/config/afsconfig.h)
 define(OPENAFS_CONFIGURE_LIBAFS)
 
index e85e7555fbb1de446d7e7946c857b8c633415351..5b955770de390d6152c05107c0779ebbdba0f1a4 100644 (file)
@@ -1,5 +1,5 @@
 AC_INIT(src/config/stds.h)
-AM_INIT_AUTOMAKE(openafs,1.4.0-rc6)
+AM_INIT_AUTOMAKE(openafs,1.4.0)
 AC_CONFIG_HEADER(src/config/afsconfig.h)
 
 AC_PROG_CC
index d66f068ef07eb4725a2dd7715f3bfdd3ad3a49f5..f16c7bf3d468c3ae584139aa3c46ea4c6e98a81d 100644 (file)
@@ -109,7 +109,9 @@ int afs_osi_Wakeup(void *event);
 #if !defined(AFS_HPUX110_ENV)
 extern caddr_t kmem_alloc();
 #endif
+#if defined(AFS_HPUX1111_ENV)
 #include <sys/kthread_iface.h> /* for kt_cred() */
+#endif
 
 /* Expected to be available as a patch from HP */
 /* See section D of the top level README for details */
index e38baefc807112f18fee09bdf8dad7262e74d6b9..4f598383e84eb5e3225157c744037b7ef1b948ea 100644 (file)
@@ -11,7 +11,7 @@
 #include "afs/param.h"
 
 RCSID
-    ("$Header: /cvs/openafs/src/afs/SOLARIS/osi_vnodeops.c,v 1.20.2.3 2005/09/29 20:35:45 shadow Exp $");
+    ("$Header: /cvs/openafs/src/afs/SOLARIS/osi_vnodeops.c,v 1.20.2.3.2.1 2005/10/12 06:06:47 shadow Exp $");
 
 /*
  * SOLARIS/osi_vnodeops.c
@@ -1673,6 +1673,24 @@ gafs_rename(aodp, aname1, andp, aname2, acred)
 
     AFS_GLOCK();
     code = afs_rename(aodp, aname1, andp, aname2, acred);
+#ifdef AFS_SUN510_ENV
+    if (code == 0) {
+       struct vcache *avcp = NULL;
+       
+       (void) afs_lookup(andp, aname2, &avcp, NULL, 0, NULL, acred);
+       if (avcp) {
+           struct vnode *vp = AFSTOV(avcp), *pvp = AFSTOV(andp);
+           
+           mutex_enter(&vp->v_lock);
+           kmem_free(vp->v_path, strlen(vp->v_path) + 1);
+           vp->v_path = NULL;
+           mutex_exit(&vp->v_lock);
+           VN_SETPATH(afs_globalVp, pvp, vp, aname2, strlen(aname2));
+           
+           AFS_RELE(avcp);
+       }
+    }
+#endif
     AFS_GUNLOCK();
     return (code);
 }
index 3692e21a9993cf1867fc448c4d6b9a2c00e401ea..326b7e77a776d35b7642bf4937fa482f52249872 100644 (file)
@@ -18,7 +18,7 @@
 #include "afs/param.h"
 
 RCSID
-    ("$Header: /cvs/openafs/src/afs/VNOPS/afs_vnop_lookup.c,v 1.50.2.10 2005/07/21 04:49:19 shadow Exp $");
+    ("$Header: /cvs/openafs/src/afs/VNOPS/afs_vnop_lookup.c,v 1.50.2.10.2.2 2005/10/12 06:13:24 shadow Exp $");
 
 #include "afs/sysincludes.h"   /* Standard vendor system headers */
 #include "afsincludes.h"       /* Afs-based standard headers */
index a90a41ab29ce33d0f2655cd211bad3f2bd93289b..2e50759898d4eb3cdc6741d6074731e5325d6f1e 100644 (file)
@@ -11,7 +11,7 @@
 #include "afs/param.h"
 
 RCSID
-    ("$Header: /cvs/openafs/src/afs/afs_nfsdisp.c,v 1.18.2.1 2004/11/09 17:18:18 shadow Exp $");
+    ("$Header: /cvs/openafs/src/afs/afs_nfsdisp.c,v 1.18.2.1.4.2 2005/10/13 18:27:32 shadow Exp $");
 
 /* Ugly Ugly Ugly  but precludes conflicting XDR macros; We want kernel xdr */
 #define __XDR_INCLUDE__
@@ -63,8 +63,12 @@ struct afs_nfs2_resp {
 };
 
 #ifndef ACL2_NPROC
+#if defined(AFS_SUN510_ENV)
+#define ACL2_NPROC      6
+#else
 #define ACL2_NPROC      5
 #endif
+#endif
 struct afs_nfs_disp_tbl afs_rfs_disp_tbl[RFS_NPROC];
 struct afs_nfs_disp_tbl afs_acl_disp_tbl[ACL2_NPROC];
 
@@ -221,6 +225,14 @@ acl2_to_afs_call(int which, caddr_t * args, fhandle_t ** fhpp)
            fhp = &sargs->fh;
            break;
        }
+#if defined(AFS_SUN510_ENV) 
+    case ACLPROC2_GETXATTRDIR:
+       {
+           struct GETXATTRDIR2args *sargs = (struct GETXATTRDIR2args *)args;
+           fhp = &sargs->fh;
+           break;
+       }
+#endif
     default:
        return NULL;
     }
@@ -685,12 +697,34 @@ afs_acl2_access(char *args, char *xp, char *exp, char *rp, char *crp)
     return;
 }
 
-struct afs_nfs_disp_tbl afs_acl_disp_tbl[5] = {
+#if defined(AFS_SUN510_ENV) 
+void
+afs_acl2_getxattrdir(char *args, char *xp, char *exp, char *rp, char *crp)
+{
+    u_int call;
+    struct cred *svcred = curthread->t_cred;
+    curthread->t_cred = (struct cred *)crp;
+    call =
+       afs_nfs2_dispatcher(1, ACLPROC2_GETXATTRDIR, (char *)args, &exp, rp, crp);
+    if (call > 1)
+       afs_nfs2_noaccess((struct afs_nfs2_resp *)xp);
+    else
+       (*afs_acl_disp_tbl[ACLPROC2_GETXATTRDIR].orig_proc) (args, xp, exp, rp,
+                                                       crp);
+    curthread->t_cred = svcred;
+    return;
+}
+#endif
+
+struct afs_nfs_disp_tbl afs_acl_disp_tbl[ACL2_NPROC] = {
     {afs_nfs2_null},
     {afs_acl2_getacl},
     {afs_acl2_setacl},
     {afs_acl2_getattr},
-    {afs_acl2_access}
+    {afs_acl2_access},
+#if defined(AFS_SUN510_ENV) 
+    {afs_acl2_getxattrdir}
+#endif
 };
 
 /* Munge the dispatch tables to link us in first */
@@ -719,8 +753,12 @@ afs_xlatorinit_v2(struct rfs_disp_tbl *_rfs_tbl,
 #endif
 
 #ifndef ACL3_NPROC
+#if defined(AFS_SUN510_ENV)
+#define ACL3_NPROC      4
+#else
 #define ACL3_NPROC      3
 #endif
+#endif
 
 struct afs_nfs_disp_tbl afs_rfs3_disp_tbl[RFS3_NPROC];
 struct afs_nfs_disp_tbl afs_acl3_disp_tbl[ACL3_NPROC];
@@ -814,51 +852,84 @@ nfs3_to_afs_call(int which, caddr_t * args, nfs_fh3 ** fhpp, nfs_fh3 ** fh2pp)
     case NFSPROC3_CREATE:
        {
            CREATE3args *arg = (CREATE3args *) args;
+#ifdef AFS_SUN58_ENV
+           fhp1 = (nfs_fh3 *) arg->where.dirp;
+#else
            fhp1 = (nfs_fh3 *) & arg->where.dir;
+#endif
            break;
        }
     case NFSPROC3_MKDIR:
        {
            MKDIR3args *arg = (MKDIR3args *) args;
+#ifdef AFS_SUN58_ENV
+           fhp1 = (nfs_fh3 *) arg->where.dirp;
+#else
            fhp1 = (nfs_fh3 *) & arg->where.dir;
+#endif
            break;
        }
     case NFSPROC3_SYMLINK:
        {
            SYMLINK3args *arg = (SYMLINK3args *) args;
+#ifdef AFS_SUN58_ENV
+           fhp1 = (nfs_fh3 *) arg->where.dirp;
+#else
            fhp1 = (nfs_fh3 *) & arg->where.dir;
+#endif
            break;
        }
     case NFSPROC3_MKNOD:
        {
            MKNOD3args *arg = (MKNOD3args *) args;
+#ifdef AFS_SUN58_ENV
+           fhp1 = (nfs_fh3 *) arg->where.dirp;
+#else
            fhp1 = (nfs_fh3 *) & arg->where.dir;
+#endif
            break;
        }
     case NFSPROC3_REMOVE:
        {
            REMOVE3args *arg = (REMOVE3args *) args;
+#ifdef AFS_SUN58_ENV
+           fhp1 = (nfs_fh3 *) arg->object.dirp;
+#else
            fhp1 = (nfs_fh3 *) & arg->object.dir;
+#endif
            break;
        }
     case NFSPROC3_RMDIR:
        {
            RMDIR3args *arg = (RMDIR3args *) args;
+#ifdef AFS_SUN58_ENV
+           fhp1 = (nfs_fh3 *) arg->object.dirp;
+#else
            fhp1 = (nfs_fh3 *) & arg->object.dir;
+#endif
            break;
        }
     case NFSPROC3_RENAME:
        {
            RENAME3args *arg = (RENAME3args *) args;
+#ifdef AFS_SUN58_ENV
+           fhp1 = (nfs_fh3 *) arg->from.dirp;
+           fhp2 = (nfs_fh3 *) arg->to.dirp;
+#else
            fhp1 = (nfs_fh3 *) & arg->from.dir;
            fhp2 = (nfs_fh3 *) & arg->to.dir;
+#endif
            break;
        }
     case NFSPROC3_LINK:
        {
            LINK3args *arg = (LINK3args *) args;
            fhp1 = (nfs_fh3 *) & arg->file;
+#ifdef AFS_SUN58_ENV
+           fhp2 = (nfs_fh3 *) arg->link.dirp;
+#else
            fhp2 = (nfs_fh3 *) & arg->link.dir;
+#endif
            break;
        }
     case NFSPROC3_READDIR:
@@ -933,6 +1004,14 @@ acl3_to_afs_call(int which, caddr_t * args, nfs_fh3 ** fhpp)
            fhp = &sargs->fh;
            break;
        }
+#if defined(AFS_SUN510_ENV) 
+    case ACLPROC3_GETXATTRDIR:
+       {
+           struct GETXATTRDIR3args *sargs = (struct GETXATTRDIR3args *)args;
+           fhp = &sargs->fh;
+           break;
+       }
+#endif
     default:
        return NULL;
     }
@@ -961,6 +1040,9 @@ afs_nfs3_dispatcher(int type, afs_int32 which, char *argp,
        return 2;
 
     sa = (struct sockaddr *)svc_getrpccaller(rp->rq_xprt)->buf;
+    if (sa == NULL) 
+       return;
+
     if (sa->sa_family == AF_INET)
        client = ((struct sockaddr_in *)sa)->sin_addr.s_addr;
 
@@ -1518,10 +1600,32 @@ afs_acl3_setacl(char *args, char *xp, char *exp, char *rp, char *crp)
     return;
 }
 
-struct afs_nfs_disp_tbl afs_acl3_disp_tbl[3] = {
+#if defined(AFS_SUN510_ENV) 
+void
+afs_acl3_getxattrdir(char *args, char *xp, char *exp, char *rp, char *crp)
+{
+    u_int call;
+    struct cred *svcred = curthread->t_cred;
+    curthread->t_cred = (struct cred *)crp;
+    call =
+       afs_nfs3_dispatcher(1, ACLPROC3_GETXATTRDIR, (char *)args, &exp, rp, crp);
+    if (call > 1)
+       afs_nfs3_noaccess((struct afs_nfs3_resp *)xp);
+    else
+       (*afs_acl3_disp_tbl[ACLPROC3_GETXATTRDIR].orig_proc) (args, xp, exp, rp,
+                                                        crp);
+    curthread->t_cred = svcred;
+    return;
+}
+#endif
+
+struct afs_nfs_disp_tbl afs_acl3_disp_tbl[ACL3_NPROC] = {
     {afs_nfs2_null},
     {afs_acl3_getacl},
     {afs_acl3_setacl},
+#if defined(AFS_SUN510_ENV) 
+    {afs_acl3_getxattrdir},
+#endif
 };
 
 /* Munge the dispatch tables to link us in first */
index f04a9a2bebcf5120a70a05701437db0cef563560..75a2e3874ab3129981ae2d0ef6a61d4ed9a28a43 100644 (file)
@@ -11,7 +11,7 @@
 #include "afs/param.h"
 
 RCSID
-    ("$Header: /cvs/openafs/src/afs/afs_pioctl.c,v 1.81.2.18 2005/07/21 04:49:18 shadow Exp $");
+    ("$Header: /cvs/openafs/src/afs/afs_pioctl.c,v 1.81.2.18.2.1 2005/10/15 01:44:50 shadow Exp $");
 
 #include "afs/sysincludes.h"   /* Standard vendor system headers */
 #ifdef AFS_OBSD_ENV
@@ -967,6 +967,19 @@ afs_syscall_pioctl(path, com, cmarg, follow)
     } else
        vp = NULL;
 
+#if defined(AFS_SUN510_ENV)
+    if (vp && !IsAfsVnode(vp)) {
+       struct vnode *realvp;
+       
+       if (VOP_REALVP(vp, &realvp) == 0) {
+           struct vnode *oldvp = vp;
+           
+           VN_HOLD(realvp);
+           vp = realvp;
+           AFS_RELE(oldvp);
+       }
+    }
+#endif
     /* now make the call if we were passed no file, or were passed an AFS file */
     if (!vp || IsAfsVnode(vp)) {
 #if defined(AFS_SUN5_ENV)
index 2d98c5f71dc61f1d15f82177cf7d46d2e8e11dd9..430e38cf358b173e3bd8036c80b2368459571dcd 100644 (file)
@@ -57,7 +57,7 @@
 #include <afs/param.h>
 
 RCSID
-    ("$Header: /cvs/openafs/src/afsd/afsd.c,v 1.43.2.10 2005/06/21 20:13:52 shadow Exp $");
+    ("$Header: /cvs/openafs/src/afsd/afsd.c,v 1.43.2.10.4.1 2005/10/13 21:01:49 shadow Exp $");
 
 #define VFS 1
 
@@ -78,6 +78,7 @@ RCSID
 #include <errno.h>
 #include <sys/time.h>
 #include <dirent.h>
+#include <sys/wait.h>
 
 
 #ifdef HAVE_SYS_PARAM_H
@@ -1747,6 +1748,9 @@ mainproc(as, arock)
                     enable_process_stats);
        exit(1);
     }
+#ifdef AFS_SUN510_ENV
+    waitpid((pid_t) -1, NULL, 0);
+#endif
 #endif
     if (afsd_verbose)
        printf("%s: Forking rx callback listener.\n", rn);
index bff040eefbe64bfbc02215c208708d6216ad117b..ff97f8f646a25192a1b7c58d9e8c6423cffa1bf3 100644 (file)
@@ -80,13 +80,9 @@ LIB = $(AFSDEV_LIB)
 #define used in WinNT/2000 installation and program version display
 AFSPRODUCT_VER_MAJOR=1
 AFSPRODUCT_VER_MINOR=4
-AFSPRODUCT_VER_PATCH=0005
+AFSPRODUCT_VER_PATCH=0008
 AFSPRODUCT_VER_BUILD=0
 
-# For MSI installer, each major release should have a different GUID
-# http://msdn.microsoft.com/library/en-us/msi/setup/changing_the_product_code.asp
-AFSPRODUCT_VER_GUID=CC59770C-4690-4531-BAEB-55A5A6D2EEB9
-
 AFSPRODUCT_VERSION=$(AFSPRODUCT_VER_MAJOR).$(AFSPRODUCT_VER_MINOR).$(AFSPRODUCT_VER_PATCH)
 AFSPRODUCT_FILE_VERSION=$(AFSPRODUCT_VER_MAJOR),$(AFSPRODUCT_VER_MINOR),$(AFSPRODUCT_VER_PATCH),$(AFSPRODUCT_VER_BUILD)
 # Set CELLNAME_DEFAULT to "your cell name"
index 5ad03a17f08282e36d1c5348798ff33074bee7f5..b193fdb87fb4e1deb81258aa79f9a65953119774 100644 (file)
@@ -80,13 +80,9 @@ LIB = $(AFSDEV_LIB)
 #define used in WinNT/2000 installation and program version display
 AFSPRODUCT_VER_MAJOR=1
 AFSPRODUCT_VER_MINOR=4
-AFSPRODUCT_VER_PATCH=0005
+AFSPRODUCT_VER_PATCH=0008
 AFSPRODUCT_VER_BUILD=0
 
-# For MSI installer, each major release should have a different GUID
-# http://msdn.microsoft.com/library/en-us/msi/setup/changing_the_product_code.asp
-AFSPRODUCT_VER_GUID=B7F03C11-E7E7-41F5-BEFD-C738EB5B075F
-
 AFSPRODUCT_VERSION=$(AFSPRODUCT_VER_MAJOR).$(AFSPRODUCT_VER_MINOR).$(AFSPRODUCT_VER_PATCH)
 AFSPRODUCT_FILE_VERSION=$(AFSPRODUCT_VER_MAJOR),$(AFSPRODUCT_VER_MINOR),$(AFSPRODUCT_VER_PATCH),$(AFSPRODUCT_VER_BUILD)
 # Set CELLNAME_DEFAULT to "your cell name"
index 9eb0818d473b09e6a0650ca7a6f5e2eb2a749649..c96f1c1cb17d87614e7271ccf52c97824638c0cc 100644 (file)
@@ -79,13 +79,9 @@ LIB = $(AFSDEV_LIB)
 
 #define used in WinNT/2000 installation and program version display
 AFSPRODUCT_VER_MINOR=4
-AFSPRODUCT_VER_PATCH=0005
+AFSPRODUCT_VER_PATCH=0008
 AFSPRODUCT_VER_BUILD=0
 
-# For MSI installer, each major release should have a different GUID
-# http://msdn.microsoft.com/library/en-us/msi/setup/changing_the_product_code.asp
-AFSPRODUCT_VER_GUID=B2220B3E-B61D-4CC7-9D4B-17BA918D049C
-
 AFSPRODUCT_VERSION=$(AFSPRODUCT_VER_MAJOR).$(AFSPRODUCT_VER_MINOR).$(AFSPRODUCT_VER_PATCH)
 AFSPRODUCT_FILE_VERSION=$(AFSPRODUCT_VER_MAJOR),$(AFSPRODUCT_VER_MINOR),$(AFSPRODUCT_VER_PATCH),$(AFSPRODUCT_VER_BUILD)
 # Set CELLNAME_DEFAULT to "your cell name"
index dc740c273cc9b51285f4b250b714a967bd431180..f34f8abb9f583d175369617113f459e69ee0b902 100644 (file)
@@ -11,7 +11,7 @@
 #include <afs/param.h>
 
 RCSID
-    ("$Header: /cvs/openafs/src/libadmin/vos/afs_vosAdmin.c,v 1.9 2003/12/07 22:49:32 jaltman Exp $");
+    ("$Header: /cvs/openafs/src/libadmin/vos/afs_vosAdmin.c,v 1.9.10.2 2005/10/13 18:29:41 shadow Exp $");
 
 #include <afs/stds.h>
 #include <stdio.h>
index 3373b1b2be53af50d9905b7e471c7c4ac80b8e89..050bd19fedfd1ea455c59d25e166b865c4f7db17 100644 (file)
@@ -22,7 +22,7 @@
 #include <afs/param.h>
 
 RCSID
-    ("$Header: /cvs/openafs/src/libadmin/vos/vsprocs.c,v 1.11 2003/11/29 22:08:14 jaltman Exp $");
+    ("$Header: /cvs/openafs/src/libadmin/vos/vsprocs.c,v 1.11.10.2 2005/10/13 18:29:41 shadow Exp $");
 
 #include "vsprocs.h"
 #include "vosutils.h"
index 58e0900b502bec34139f9e367e0bdc53c56da96a..e7424458bb2e27b1c78c71fd0bb3253764c0f26e 100644 (file)
        <key>CFBundlePackageType</key>
        <string>KEXT</string>
        <key>CFBundleShortVersionString</key>
-       <string>1.3.99</string>
+       <string>1.4.0</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>1.3.99</string>
+       <string>1.4.0</string>
        <key>OSBundleLibraries</key>
        <dict>
                <key>com.apple.kernel.bsd</key>
index 0383e3e827c25db0e4c399ceb2a661a61db4a192..eafa9d313c859aff76f0da76609b1b9bd449de7b 100644 (file)
        <key>CFBundlePackageType</key>
        <string>KEXT</string>
        <key>CFBundleShortVersionString</key>
-       <string>1.3.82</string>
+       <string>1.4.0</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>1.3.82</string>
+       <string>1.4.0</string>
        <key>OSBundleLibraries</key>
        <dict>
                <key>com.apple.kernel.bsd</key>
index bbca603012785499e9844c7621233a9f009b8793..98f09e6e1bc87c139f73347fd2b83a557f111a5a 100644 (file)
@@ -128,8 +128,8 @@ EXPORTS
        RXSTATS_QueryRPCStatsVersion            @133
        RXSTATS_ClearProcessRPCStats            @134
        RXSTATS_ClearPeerRPCStats               @135
-
-
+       rx_clearProcessRPCStats                 @136
+       rx_clearPeerRPCStats                    @137
        rxi_connAbortThreshhold                 @138 DATA
        rxi_connAbortDelay                      @139 DATA
        rxi_callAbortThreshhold                 @140 DATA
@@ -215,11 +215,5 @@ EXPORTS
         rx_StartClientThread                    @220
        rxkad_global_stats_lock                 @221 DATA
        rxkad_stats_key                         @222 DATA
-       rx_enableProcessRPCStats                @223
-       rx_disableProcessRPCStats               @224
-       rx_clearProcessRPCStats                 @225
-       rx_enablePeerRPCStats                   @226
-       rx_disablePeerRPCStats                  @227
-       rx_clearPeerRPCStats                    @228
         
 
index 267842111a12529ef5fb8c1faad7769970219344..3c6316a288376385eaf207771d9cae1b0ea72378 100644 (file)
@@ -1,4 +1,4 @@
->grand.central.org      #GCO Public CellServDB 16 Mar 2005
+>grand.central.org      #GCO Public CellServDB 15 Oct 2005
 18.7.14.88                      #grand-opening.mit.edu
 128.2.191.224                   #penn.central.org
 130.237.48.87                   #andrew.e.kth.se
 >ams.cern.ch            #AMS Experiment
 137.138.206.77                  #pcamsf2.cern.ch
 137.138.206.123                 #pcamsf4.cern.ch
+>epfl.ch                #Swiss Federal Institute of Technology at Lausanne
+128.178.2.6                     #kd1.epfl.ch
+128.178.2.7                     #kd2.epfl.ch
+128.178.2.8                     #kd3.epfl.ch
 >ethz.ch                #Swiss Federal Inst. of Tech. - Zurich, Switzerland
 129.132.97.19                   #amalthea.ethz.ch
 129.132.97.27                   #nethzafs-001.ethz.ch
@@ -40,8 +44,7 @@
 130.85.24.11                    #weasel
 130.85.24.13                    #straykitten
 >midnightlinux.com      #Midnight Linux, Pittsburgh PA
-66.93.62.18                     #romulus.midnihtlinux.com
-66.93.62.20                     #yar.midnightlinux.com
+208.10.142.82                   #outpost.midnightlinux.com
 >setfilepointer.com     #SetFilePointer.com
 63.224.10.2                     #hamlet.SetFilePointer.com
 63.224.10.4                     #troilus.SetFilePointer.com
 134.155.97.204                  #afsdb1.uni-mannheim.de
 134.155.97.205                  #afsdb2.uni-mannheim.de
 134.155.97.206                  #afsdb3.uni-mannheim.de
+>uni-paderborn.de       #University of Paderborn, Germany
+131.234.137.10                  #afsdb1.uni-paderborn.de
+131.234.137.11                  #afsdb2.uni-paderborn.de
+131.234.137.12                  #afsdb3.uni-paderborn.de
 >physik.uni-wuppertal.de #Physics department of Bergische Universität Wuppertal
 132.195.104.3                   #afs1.physik.uni-wuppertal.de
 132.195.104.230                 #afs2.physik.uni-wuppertal.de
 128.2.10.28                     #vice28.fs.andrew.cmu.edu
 128.2.32.44                     #new-vice12.fs.andrew.cmu.edu
 >club.cc.cmu.edu        #Carnegie Mellon University Computer Club
-128.2.4.132                     #zirconium.club.cc.cmu.edu
-128.2.4.181                     #yttrium.club.cc.cmu.edu
+128.237.157.11                  #sodium.club.cc.cmu.edu
+128.237.157.13                  #potassium.club.cc.cmu.edu
 >chem.cmu.edu           #Carnegie Mellon University - Chemistry Dept.
 128.2.40.134                    #afs.chem.cmu.edu
 128.2.40.140                    #afs2.chem.cmu.edu
 141.211.211.53                  #gerow.lsa.umich.edu
 141.211.211.72                  #collines.lsa.umich.edu
 141.211.211.153                 #hodges.lsa.umich.edu
->math.lsa.umich.edu     #University of Michigan - Math Department
-141.211.61.40                   #ike.math.lsa.umich.edu
-141.211.61.41                   #clark.math.lsa.umich.edu
-141.211.61.42                   #nimitz.math.lsa.umich.edu
 >umr.edu                #University of Missouri - Rolla
 131.151.1.59                    #afsdb1.umr.edu
 131.151.1.70                    #afsdb3.umr.edu
 144.92.13.15                    #curly.cae.wisc.edu
 144.92.13.16                    #moe.cae.wisc.edu
 >hep.wisc.edu           #University of Wisconsin -- High Energy Physics
-128.104.28.219                  #anise.physics.wisc.edu
+128.104.28.219                  #anise.hep.wisc.edu
 >physics.wisc.edu       #Univ. of Wisconsin-Madison, Physics Department
 128.104.160.13                  #kendra.physics.wisc.edu
 128.104.160.14                  #fray.physics.wisc.edu
 128.104.160.15                  #buffy.physics.wisc.edu
+>ciemat.es              #Ciemat, Madrid, Spain
+130.206.11.42                   #afsdb1.ciemat.es
+130.206.11.217                  #afsdb2.ciemat.es
+130.206.11.247                  #afsdb3.ciemat.es
 >ifca.unican.es         #Instituto de Fisica de Cantabria (IFCA), Santander, Spain
 193.144.209.20                  #gridwall.ifca.unican.es
 >ific.uv.es             #Instituto de Fisica Corpuscular, Valencia, Spain
 128.55.128.254                  #lurch.nersc.gov
 >bme.hu                 #Budapest University of Technology and Economics
 152.66.241.6                    #afs.iit.bme.hu
+>kfki.hu                #Research Institute for Nuclear and Particle Physics - Budapest,H
+148.6.8.14                      #afs.kfki.hu
 >caspur.it              #CASPUR Inter-University Computing Consortium, Rome
 193.204.5.45                    #pomodoro.caspur.it
 193.204.5.46                    #banana.caspur.it
 >icemb.it               #ICEMB, Universita' La Sapienza - Rome - Italy
 193.204.6.130                   #icembfs.caspur.it
 >infn.it                #Istituto Nazionale di Fisica Nucleare (INFN), Italia
-131.154.1.7                     #afs3.infn.it
-141.108.3.252                   #afs1.infn.it
-192.84.134.75                   #afs2.infn.it
+131.154.1.7                     #afscnaf.infn.it
+141.108.26.75                   #afsrm1.roma1.infn.it
+192.84.134.75                   #afsna.na.infn.it
 >ba.infn.it             #INFN, Sezione di Bari
 193.206.185.235                 #baafsserver.ba.infn.it
 >kloe.infn.it           #INFN, KLOE experiment at Laboratori di Frascati
 >ictp.trieste.it        #The Abdus Salam International Centre for Theoretical Physics (IC
 140.105.16.8                    #fs1.ictp.trieste.it
 140.105.16.9                    #fs2.ictp.trieste.it
+>math.unifi.it          #math.unifi.it
+150.217.34.182                  #xeno.math.unifi.it
 >ing.uniroma1.it        #Universita' La Sapienza, Fac. Ingeneria
 151.100.85.253                  #alfa.ing.uniroma1.it
+>dia.uniroma3.it        #University Roma Tre - DIA
+193.204.161.79                  #plm.dia.uniroma3.it
+193.204.161.118                 #afs.dia.uniroma3.it
 >vn.uniroma3.it         #University of Rome 3, Area Vasca Navale
 193.204.161.136                 #alfa.dia.uniroma3.it
 193.204.161.137                 #beta.dia.uniroma3.it
 66.92.236.139                   #afs.sinenomine.net
 >slackers.net           #The Slackers' Network
 63.201.48.27                    #alexandria.slackers.net
+>tproa.net              #The People's Republic of Ames
+209.234.76.70                   #service-3.tproa.net
 >nikhef.nl              #The Dutch National Institute for High Energy Physics
 192.16.185.26                   #afs1.nikhef.nl
 192.16.185.27                   #afs2.nikhef.nl
->1ts.org                #KCR/private Karl Ramm, Cambridge, MA
+>1ts.org                #1TS.ORG, Cambridge, MA
 4.36.43.102                     #dol-guldur.1ts.org
+69.25.196.51                    #pancake.1ts.org
 >bazquux.org            #Baz Quux Organization
 66.207.142.196                  #baxquux.org
 >coed.org               #Adam Pennington's Cell
 66.93.61.184                    #vice1.coed.org
-128.2.4.163                     #vice3.coed.org
+128.237.157.35                  #vice3.coed.org
 >dementia.org           #Dementia Unlimited
 128.2.12.45                     #alycia.dementia.org
 128.2.120.216                   #meredith.dementia.org
->firelion.org           #firelion.org
-24.28.77.209                    #sirius.firelion.org
 >hackish.org            #Hackish.org
 24.167.65.213                   #avatar.sys.hackish.org
 128.2.120.138                   #kurma.sys.hackish.org
 204.29.154.12                   #iota.nomh.org
 204.29.154.32                   #adversity.xi.nomh.org
 >oc7.org                #The OC7 Project
-128.2.6.107                     #vice3.oc7.org
-128.2.122.140                   #vice2.oc7.org
+128.2.122.140                   #knife.oc7.org
+207.22.77.170                   #spoon.oc7.org
 >openafs.org            #OpenAFS Project
-128.2.13.199                    #virtue.openafs.org
+18.7.14.88                      #grand-opening.mit.edu
+128.2.191.224                   #penn.central.org
+130.237.48.87                   #andrew.e.kth.se
 >e.kth.se               #Royal Institute of Technology, Elektro
 130.237.32.145                  #sonen.e.kth.se
 130.237.48.7                    #anden.e.kth.se
index 8e08f004f2d1ed8b6d53a00446ab708dff047a00..cf6828e46f20d32b07f73fde194bc55ba40f1ae8 100644 (file)
@@ -65,9 +65,9 @@ MUTEX_ISMINE(afs_kmutex_t * l)
 #define MUTEX_EXIT             afs_mutex_exit
 
 #if defined(AFS_LINUX24_ENV)
-#define CV_INIT(cv,b,c,d)      do { (cv)->seq = 0; init_waitqueue_head(&(cv)->waitq); } while (0)
+#define CV_INIT(cv,b,c,d)       do { (cv)->seq = 0; init_waitqueue_head(&(cv)->waitq); } while (0)
 #else
-#define CV_INIT(cv,b,c,d)      init_waitqueue((struct wait_queue**)(cv))
+#define CV_INIT(cv,b,c,d)      do { (cv)->seq = 0; init_waitqueue(&(cv)->waitq); } while (0)
 #endif
 #define CV_DESTROY(cv)
 #define CV_WAIT_SIG(cv, m)     afs_cv_wait(cv, m, 1)
index ea42a1edd297f14385be7d237eb241626c1deffc..50e69f3e74ee7497aa816cfff5029eb542559c20 100644 (file)
@@ -17,7 +17,7 @@
 #endif
 
 RCSID
-    ("$Header: /cvs/openafs/src/rx/rx.c,v 1.58.2.28 2005/09/17 20:00:39 jaltman Exp $");
+    ("$Header: /cvs/openafs/src/rx/rx.c,v 1.58.2.28.2.1 2005/10/08 04:01:00 jaltman Exp $");
 
 #ifdef KERNEL
 #include "afs/sysincludes.h"
@@ -5171,13 +5171,13 @@ rxi_Start(struct rxevent *event, register struct rx_call *call,
                    call->flags &= ~RX_CALL_TQ_BUSY;
                    if (call->tqWaiters || (call->flags & RX_CALL_TQ_WAIT)) {
                        dpf(("call %x has %d waiters and flags %d\n", call, call->tqWaiters, call->flags));
-                   }
 #ifdef RX_ENABLE_LOCKS
-                   osirx_AssertMine(&call->lock, "rxi_Start start");
-                   CV_BROADCAST(&call->cv_tq);
+                       osirx_AssertMine(&call->lock, "rxi_Start start");
+                       CV_BROADCAST(&call->cv_tq);
 #else /* RX_ENABLE_LOCKS */
-                   osi_rxWakeup(&call->tq);
+                       osi_rxWakeup(&call->tq);
 #endif /* RX_ENABLE_LOCKS */
+                   }
                    return;
                }
                if (call->error) {
@@ -5191,13 +5191,13 @@ rxi_Start(struct rxevent *event, register struct rx_call *call,
                    call->flags &= ~RX_CALL_TQ_BUSY;
                    if (call->tqWaiters || (call->flags & RX_CALL_TQ_WAIT)) {
                        dpf(("call %x has %d waiters and flags %d\n", call, call->tqWaiters, call->flags));
-                   }
 #ifdef RX_ENABLE_LOCKS
-                   osirx_AssertMine(&call->lock, "rxi_Start middle");
-                   CV_BROADCAST(&call->cv_tq);
+                       osirx_AssertMine(&call->lock, "rxi_Start middle");
+                       CV_BROADCAST(&call->cv_tq);
 #else /* RX_ENABLE_LOCKS */
-                   osi_rxWakeup(&call->tq);
+                       osi_rxWakeup(&call->tq);
 #endif /* RX_ENABLE_LOCKS */
+                   }
                    rxi_CallError(call, call->error);
                    return;
                }
@@ -5279,13 +5279,13 @@ rxi_Start(struct rxevent *event, register struct rx_call *call,
            call->flags &= ~RX_CALL_TQ_BUSY;
            if (call->tqWaiters || (call->flags & RX_CALL_TQ_WAIT)) {
                dpf(("call %x has %d waiters and flags %d\n", call, call->tqWaiters, call->flags));
-           }
 #ifdef RX_ENABLE_LOCKS
-           osirx_AssertMine(&call->lock, "rxi_Start end");
-           CV_BROADCAST(&call->cv_tq);
+               osirx_AssertMine(&call->lock, "rxi_Start end");
+               CV_BROADCAST(&call->cv_tq);
 #else /* RX_ENABLE_LOCKS */
-           osi_rxWakeup(&call->tq);
+               osi_rxWakeup(&call->tq);
 #endif /* RX_ENABLE_LOCKS */
+           }
        } else {
            call->flags |= RX_CALL_NEED_START;
        }
index 805364f5b275cfecf6ec56e341da10ea5d243610..1c002082aea3e6cd393f10f322a923836f590bc6 100644 (file)
@@ -36,7 +36,7 @@
 #include <afs/param.h>
 
 RCSID
-    ("$Header: /cvs/openafs/src/rxgen/rpc_hout.c,v 1.7 2003/07/15 23:16:40 shadow Exp $");
+    ("$Header: /cvs/openafs/src/rxgen/rpc_hout.c,v 1.7.10.2 2005/10/15 21:53:58 jaltman Exp $");
 
 #include <stdio.h>
 #include <string.h>
@@ -259,8 +259,9 @@ static void
 psprocdef(definition * defp)
 {
     int split_flag = defp->pc.split_flag;
+    int multi_flag = defp->pc.multi_flag;
 
-    if (split_flag) {
+    if (split_flag || multi_flag) {
        psproc1(defp, 1, "int", "Start",
                (1 << DEF_INPARAM) | (1 << DEF_INOUTPARAM));
        psproc1(defp, 1, "int", "End",
@@ -269,7 +270,8 @@ psprocdef(definition * defp)
        psproc1(defp, 0, "int", "", 0xFFFFFFFF);
     }
 
-    psproc1(defp, 1, "afs_int32", "S", 0xFFFFFFFF);
+    if (*ServerPrefix)
+       psproc1(defp, 1, "afs_int32", ServerPrefix, 0xFFFFFFFF);
 }
 
 
index 7dbfdc5469dd6f998df856ba47b4a95c67816cba..a0ec08129aa0d00c7bed4140f57f72912745cb63 100644 (file)
@@ -36,7 +36,7 @@
 #include <afs/param.h>
 
 RCSID
-    ("$Header: /cvs/openafs/src/rxgen/rpc_parse.c,v 1.18 2004/05/05 03:24:57 jaltman Exp $");
+    ("$Header: /cvs/openafs/src/rxgen/rpc_parse.c,v 1.18.10.1 2005/10/15 01:21:21 shadow Exp $");
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -775,7 +775,10 @@ check_proc(definition * defp, token * tokp, int noname)
     scan4(TOK_SPLIT, TOK_MULTI, TOK_EQUAL, TOK_SEMICOLON, &tok);
     if (tok.kind == TOK_MULTI) {
        proc_multi = 1;
+       defp->pc.multi_flag = 1;
        scan2(TOK_EQUAL, TOK_SEMICOLON, &tok);
+    } else {
+       defp->pc.multi_flag = 0;
     }
     if (tok.kind == TOK_SPLIT) {
        proc_split = 1;
index 84c2adfa6520f0dbf104b77970d5156be32ceaa9..81977e9a32101d0c647eab8bc5bb0b6353700ec4 100644 (file)
@@ -188,6 +188,7 @@ struct procedure_def {
 #define        INOUT   2
     short paramtypes[3];
     char split_flag;
+    char multi_flag;
     relation rel;
     proc1_list *plists;
 };
index f8a530ad183adef3d178789223fc54d771570ebc..4f836981c5bb10846ff639d2c8789c782ccde3da 100644 (file)
@@ -21,7 +21,7 @@
 #include <afs/param.h>
 
 RCSID
-    ("$Header: /cvs/openafs/src/vol/partition.c,v 1.30.2.1 2004/08/25 07:14:19 shadow Exp $");
+    ("$Header: /cvs/openafs/src/vol/partition.c,v 1.30.2.1.4.1 2005/10/17 20:48:29 shadow Exp $");
 
 #include <ctype.h>
 #ifdef AFS_NT40_ENV
@@ -346,13 +346,13 @@ VCheckPartition(char *part, char *devname)
        Log("This program is compiled without AFS_NAMEI_ENV, but partition %s seems to contain volumes which use the namei-interface; aborting\n", part);
        return -1;
     }
-#endif /* AFS_NAMEI_ENV */
-#endif
 
 #ifdef AFS_SGI_XFS_IOPS_ENV
     if (VerifyXFSInodeSize(part, status.st_fstype) < 0)
        return -1;
 #endif
+#endif /* AFS_NAMEI_ENV */
+#endif
 
 #if defined(AFS_DUX40_ENV) && !defined(AFS_NAMEI_ENV)
     if (status.st_ino != ROOTINO) {