-openafs (1.3.79-1) unstable; urgency=low
+openafs (1.3.79-1) UNRELEASED; urgency=low
* New upstream version
- Works with 2.6.10, Closes: #296835
* Use amd64 not x86_64 for sysname script, Closes: #296855
+ * Patches from kcr
+ - Loosen dependencies for client and modules
+ - Enable debugging
+ - Some callbacks later stuff and fix short bitfield
+ - Fix permissions on /etc/openafs/server-local
+
- -- Sam Hartman <hartmans@debian.org> Wed, 23 Feb 2005 19:27:56 -0500
+ -- Sam Hartman <hartmans@debian.org> Mon, 4 Apr 2005 00:04:21 -0400
openafs (1.3.77-1) unstable; urgency=low
Package: openafs-kpasswd
Priority: extra
Architecture: i386 powerpc sparc alpha s390 ia64 hppa amd64
-Depends: ${shlibs:Depends}, openafs-client (= ${Source-Version})
+Depends: ${shlibs:Depends}, openafs-client
Conflicts: krb5-user, heimdal-clients, kerberos4kth-clients
Description: The AFS distributed filesystem- old password changing
AFS is a distributed filesystem allowing cross-platform sharing of
Package: openafs-fileserver
Architecture: i386 powerpc sparc alpha s390 ia64 hppa amd64
-Depends: ${shlibs:Depends}, debconf, openafs-client (= ${Source-Version})
+Depends: ${shlibs:Depends}, debconf, openafs-client
Recommends: ntp
Description: The AFS distributed filesystem- file server
AFS is a distributed filesystem allowing cross-platform sharing of
Package: openafs-dbserver
Architecture: i386 powerpc sparc alpha s390 ia64 hppa amd64
-Depends: ${shlibs:Depends}, debconf, openafs-fileserver (= ${Source-Version}), openafs-client (= ${Source-Version}), perl5
+Depends: ${shlibs:Depends}, debconf, openafs-fileserver, openafs-client, perl5
Conflicts: openafs-ptutil
Replaces: openafs-ptutil
Provides: openafs-ptutil
Standards-Version: 3.1.1
Package: openafs-modules-=KVERS
-Conflicts: openafs-client (<< 1.3.64)
+Conflicts: openafs-client (<< 1.2.9)
Provides: openafs-modules2
Architecture: any
Description: The AFS distributed filesystem- Kernel Module
Standards-Version: 3.1.1
Package: openafs-modules-=KVERS
-Conflicts: openafs-client (<< 1.3.64)
+Conflicts: openafs-client (<< 1.2.9)
Provides: openafs-modules2
Architecture: any
Recommends: kernel-image-=KVERS (= =KREVS)
afslogsdir=/var/log/openafs sh configure --with-afs-sysname=$(SYS_NAME) --disable-kernel-module \
--prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
--localstatedir=/var/lib afslocaldir=/etc/openafs/server-local \
- --enable-supergroups --enable-largefile-fileserver
+ --enable-supergroups --enable-largefile-fileserver --enable-debug
chmod a+x src/libafs/make_kbuild_makefile.pl
install -d $(SYS_NAME)/dest/root.client/usr/vice/etc
install -d dest/root.server/usr/afs/bin
# No, includes should not have the x bit set
find debian/libopenafs-dev/usr/include -type f -print | \
xargs chmod a-x
+ # bos gets annoyed if the partitions on /etc/openafs/server-local are too liberal
+ chmod 700 debian/openafs-fileserver/etc/openafs/server-local
# Build architecture-independent files here.
# Pass -i to all debhelper commands in this target to reduce clutter.
-#error kernel code not supported on SunOS 4 \r
+#error kernel code not supported on SunOS 4
-#error kernel code not supported on SunOS 4\r
+#error kernel code not supported on SunOS 4
-#error kernel code not supported on SunOS 4 \r
+#error kernel code not supported on SunOS 4
#include <afs/param.h>
RCSID
- ("$Header: /cvs/openafs/src/viced/callback.c,v 1.55.2.5 2005/01/31 04:10:43 shadow Exp $");
+ ("$Header: /cvs/openafs/src/viced/callback.c,v 1.55.2.7 2005/02/25 19:50:25 shadow Exp $");
#include <stdio.h>
#include <stdlib.h> /* for malloc() */
for (fei = HashTable[hash]; fei; fei = fe->fnext) {
fe = itofe(fei);
if (fe->volid == fid->Volume && fe->unique == fid->Unique
- && fe->vnode == fid->Vnode)
+ && fe->vnode == fid->Vnode && fe->status != FE_LATER)
return fe;
}
return 0;
fe->vnode = fid->Vnode;
fe->unique = fid->Unique;
fe->ncbs = 0;
+ fe->status = 0;
hash = VHash(fid->Volume, fid->Unique);
fe->fnext = HashTable[hash];
HashTable[hash] = fetoi(fe);
TDel(cb);
TAdd(cb, Thead);
}
+ if (newfe == NULL) { /* we are using the new FE */
+ fe->firstcb = cbtoi(cb);
+ fe->ncbs++;
+ cb->fhead = fetoi(fe);
+ }
} else {
cb = newcb;
newcb = NULL;
struct host *host;
struct VCBParams henumParms;
unsigned short tthead = 0; /* zero is illegal value */
+ char hoststr[16];
/* Unchain first */
ViceLog(25, ("Looking for FileEntries to unchain\n"));
for (fe = myfe; fe;) {
register struct CallBack *cbnext;
for (cb = itocb(fe->firstcb); cb; cb = cbnext) {
- host = h_itoh(cb->hhead);
- h_Hold_r(host);
cbnext = itocb(cb->cnext);
- if (!tthead || (TNorm(tthead) < TNorm(cb->thead))) {
- tthead = cb->thead;
+ host = h_itoh(cb->hhead);
+ if (cb->status == CB_DELAYED) {
+ h_Hold_r(host);
+ if (!tthead || (TNorm(tthead) < TNorm(cb->thead))) {
+ tthead = cb->thead;
+ }
+ TDel(cb);
+ HDel(cb);
+ CDel(cb, 0); /* Don't let CDel clean up the fe */
+ /* leave hold for MultiBreakVolumeCallBack to clear */
+ } else {
+ ViceLog(125,
+ ("Found host %s:%d non-DELAYED cb for %u:%u:%u\n",
+ afs_inet_ntoa_r(host->host, hoststr),
+ ntohs(host->port), fe->vnode, fe->unique, fe->volid));
}
- TDel(cb);
- HDel(cb);
- CDel(cb, 0); /* Don't let CDel clean up the fe */
- /* leave hold for MultiBreakVolumeCallBack to clear */
}
myfe = fe;
fe = (struct FileEntry *)((struct object *)fe)->next;
* byte order */
unsigned short port; /* port address of host */
char Console; /* XXXX This host is a console */
- char hostFlags; /* bit map */
+ short hostFlags; /* bit map */
#if FS_STATS_DETAILED
char InSameNetwork; /*Is host's addr in the same network as
* the File Server's? */
ip->linkCount++;
}
- Log("%d inodes to process\n",totalInodes);
+ if (totalInodes % 10000 == 0)
+ Log("%d inodes to process\n",totalInodes);
}
#ifdef AFS_NAMEI_ENV
while (dec_VGLinkH > 0) {