*** empty log message ***
[arla.git] / ChangeLog.2002
blob2ad6e2d2ebc95a5784f46047554a2a7331e9b271
1 2002-12-30  Love  <lha@stacken.kth.se>
3         * appl/vos/vos.8: fix Dt section
4         
5         * appl/bos/bos.8: fix Dt section
6         
7         * tests: switch to emacs-21.2
9         * tests/generic-build: send error output to fd 4 (progress)
10         
11 2002-12-29  Love  <lha@stacken.kth.se>
13         * configure.in (bsd): don't check for kernel make_dev, we no
14         longer need it
16         * nnpfs/bsd/nnpfs_wrap-bsd.c (make_devices/destroy_devices):
17         remove ifdef on HAVE_KERNEL_MAKE_DEV since we no longer support
18         pre freebsd 4.1, rename remove_devices to destroy_devices to match
19         destroy_dev, also remove support for CDEV_MODULE (freebsd 4.0)
20         
21         * appl/mpp/mpp.c (mpp_isblank): returns an int
22         
23         * nnpfs/bsd/Makefile.in: fix pre and post ld magic helper objects
24         for freebsd < 5
26         * conf/Makefile.in: (clean): remove arla.spec
27         
28         * configure.in: (AC_OUTPUT): don't build conf/arla.conf and
29         conf/arla.spec, let the makefile do that.
30         
31 2002-12-21  Love  <lha@stacken.kth.se>
33         * rx/rxperf.c: s/strings.h/string.h/ for mem* functions
35         * scripts/arla-release.sh: autom4te.cache is a directory
37         * configure.in: pre7
39         * HACKING: don't fail if automake failes for now
41         * appl/fs/fs.1: s/comand/command/; from openbsd
43 2002-12-20  Love  <lha@stacken.kth.se>
45         * arlad/fcache.c (fcache_init): don't set fprioritylevel, its
46         already set
47         
48         * INSTALL: update to match configure options
49         
50         * INSTALL: no mmaptime
51         
52         * configure.in: no mmaptime
53         
54         * util/mmaptime.h: OBSOLETE
55         
56         * util/mmaptime.c: OBSOLETE
57         
58         * lwp/fasttime.c: no mmaptime
59         
60         * rxkad/rxkad_locl.h: no mmaptime
61         
62         * rx/rx_locl.h: no mmaptime
63         
64         * arlad/arla_local.h: no mmaptime
65         
66         * nnpfs/bsd/bin/startarla.in: move mknod after kldload so devfs
67         have its chance to do its magic dance
69         * doc/real-world.texi: update port and natkeep stuff
70         
71         * INSTALL: update port info
72         
73         * configure.in: if netbsd, set default_sys to /usr/src/sys
74         
75 2002-12-19  Love  <lha@stacken.kth.se>
77         * configure.in: pre6
79         * arlad/fcache.[ch]: split find_first_fs into two parts,
80         init_fs_context and find_first_fs.  now the vldb operation can
81         return error values to caller. This fixes problem haba had with
82         expired token in root's pag
84         * conf/arla.conf.in: remove fpriority as a configurable option, to
85         be folded into the connection level instead
86         
87         * arlad/arla.{c,conf.in}: remove fpriority as a configurable
88         option, to be folded into the connection level instead
90         * configure.in: remove test for mnt_nvnodelist
92         * nnpfs/bsd: change how nnpfs nodes are looked up to a hash
93         instead of a linked list (the struct mount->m_vnodes list). This
94         removes a race, an autoconf test and make it faster
96         * conf/arla.conf{,.in}: generate arla.conf so we can changes the
97         value depending on target platform
99         * configure.in: ARLA_CONF_*: move arla.conf tunable option to here
100         
101         * tests/run-tests.in: make date in test output less verbose
102         
103 2002-12-18  Love  <lha@stacken.kth.se>
105         * NEWS: FreeBSD 5.0 is in 0.36
106         
107         * scripts/arla-release.sh: remove autom4te.cache if there is a
108         $HOME/.gnupg, sign tar-boll
109         
110         * nnpfs/bsd/nnpfs_common-bsd.c (MALLOC_DEFINE): make helptests
111         better
112         
113         * configure.in: pre5
114         
115         * nnpfs/bsd/nnpfs_syscalls-wrap-freebsd.c: force install afs
116         syscall
118         * tests/build-gdb: 5.3 is released
119         
120         * nnpfs/bsd/nnpfs_vnodeops-bsd.c: add debug output to
121         nnpfs_pathconf
123         * nnpfs/bsd/nnpfs_vnodeops-bsd.c: add vop_pathconf
124         
125         * configure.in: check for vop_stdpathconf
126         
127         * nnpfs/bsd/nnpfs_vnodeops-common.c (nnpfs_read_common): make sure
128         we don't touch the vnode after we have done a vrecycle(), also
129         make sure we don't look at the content of the vnode after we have
130         release the vnode
132         * nnpfs/bsd: split the malloc type in 4 diffrent malloc types
134         * nnpfs/bsd/nnpfs_vnodeops-bsd.c (nnpfs_link): FreeBSD 5.0 doesn't
135         need to lock the vnode in VOP_LINK
137         * nnpfs/bsd/nnpfs/nnpfs_locl.h: move NNPFS_MAKE_VROOT to
138         nnpfs_locl.h include <sys/vnode.h>
139         
140         * nnpfs/bsd/nnpfs_vnodeops-bsd.c (nnpfs_abortop,cleanup_cnp):
141         remember to clear the HASBUF flag when when freeing the component
142         name in the uma_zfree case
144 2002-12-17  Love  <lha@stacken.kth.se>
146         * configure.in: add some freebsd 5 CFLAGS
147         
148         * nnpfs/bsd/nnpfs_vnodeops-common.c: comment out cruft after
149         #endif/#else
151         * nnpfs/bsd/nnpfs/nnpfs_locl.h: if exists, include <vm/uma.h>
152         prototype for (freebsd5) compat VT_ defines
153         
154         * nnpfs/bsd/nnpfs_vfsops-freebsd.c: provide compat VT_ defines
155         
156         * nnpfs/bsd/nnpfs_message.c: use NNPFS_MAKE_VROOT comment out text
157         after #endif
158         
159         * nnpfs/bsd/nnpfs/nnpfs_common.h: add helper macro
160         NNPFS_MAKE_VROOT that sets that VROOT flag on a vnode this is
161         since freebsd 5 split that v_flag field into too parts v_iflag and
162         v_vflag because of locking issues
164         * tests/run-tests.in: make sure the hostname is always set to
165         something so we don't pass a - to mkdir
166         
167         * nnpfs/bsd/nnpfs_dev-common.c (nnpfs_cursig): its not easy to
168         find the CURSIG for freebsd5, lets just ignore it for now (and
169         return 0)
170         
171         * nnpfs/bsd/Makefile.in: build glue for freebsd5
172         
173         * configure.in: add some freebsd 5 glue: add automake variable
174         FBSD5, check for <vm/uma.h>, and uma_zfree_arg()
175         
176         * nnpfs/bsd/Makefile.in: yet another way to build vnode_if.h
177         (freebsd 5.0)
179 2002-12-16  Love  <lha@stacken.kth.se>
181         * arlad/arla.conf.5: s/maxium/maximum/g ; Jesper Louis Andersen;
182         from OpenBSD
184 2002-12-15  Love  <lha@stacken.kth.se>
186         * rx/rx.c: remove more rx_{Read,Write}Proc
187         
188         * rx/rx_user.h: cleanup, ident, don't provide a prototype for
189         fprintf
191         * rx/rx_user.h: kill USE_MMAPTIME
192         
193         * rx/rx_rdwr.c: remove all rx_{Read,Write}proc and use
194         rx_Write/rx_Read
196         * rx/rx.h: ident some functions remove all rx_{Read,Write}proc and
197         use rx_Write/rx_Read
198         
199         * arlad/messages.c (possibly_have_network): Ignore `0' as an ipv4
200         address it wont work either. Comment on what v6 addresses to
201         ignore.
203 2002-12-11  Love  <lha@stacken.kth.se>
205         * rxkad/rxk_crpt.c: remove rx_SlowPutInt32 proto, no longer used
206         
207         * arlad/messages.c (viocconnect): when reconnecting, get a new
208         uuid to make sure the fileserver doesn't get upset with us
209         
210 2002-12-07  Love  <lha@stacken.kth.se>
212         * configure.in: remember the flags we tested comerr with
213         
214 2002-12-06  Love  <lha@stacken.kth.se>
216         * util/log.c: avoid using reserved word 'log'
217         
218         * lib/ko/kocell.c: avoid using reserved word 'log'
219         
220         * arlad/arladeb.h: avoid using reserved word 'log'
221         
222         * arlad/arladeb.c: avoid using reserved word 'log'
223         
224 2002-12-04  Tomas Olsson  <tol@stacken.kth.se>
226         * nnpfs/bsd/nnpfs_syscalls-wrap-bsd.c (try_install_syscall): on
227         openbsd, ignore that AFS_SYSCALL appears used
229 2002-12-03  Love  <lha@stacken.kth.se>
231         * appl/mac/install/StartupParameters.plist: add missing ;
233         * appl/mac/make-mac-package.in: cleanup
234         
235         * NEWS: Changes in release 0.35.11
236         
237 2002-12-03  Tomas Olsson  <tol@stacken.kth.se>
239         * nnpfs/bsd/nnpfs_vnodeops-bsd.c (nnpfs_symlink):
240         vput for OpenBSD <= 3.2
242 2002-12-03  Love  <lha@stacken.kth.se>
244         * appl/mac/mafslog/mafslog.m: 1.2.2.1->1.2.2.2: change order where
245         we do k_hasafs() so we can tell use that afs client isn't started
247         * appl/mac/install/Arla: handle kext's
249 2002-12-02  Love  <lha@stacken.kth.se>
251         * appl/mac/mafslog/appl_locl.h: remove, no longer needed
253         * appl/mac/mafslog/mafslog.m: inline appl_local.h so we use it
254         itstead of the appl_local.h in arlalib, left over from when this
255         program didn't use arlalib
257         * appl/mac/mafslog/Makefile.in: no bundle for cocoa application
259         * appl/mac/mafslog/Makefile.in: use libtool (for real this time)
261         * appl/mac/mafslog/PkgInfo: add
263         * appl/mac/mafslog/Info.plist: add
265         * appl/mac/arlacmm/Makefile.in: libtool
267         * appl/mac/Arla_Configuration/Makefile.in: libtool
269         * HACKING: automake lib/sl/Makefile
271         * lib/sl/Makefile.in: remove, use automake file
273 2002-12-01  Love  <lha@stacken.kth.se>
275         * appl/mac/mafslog: prototype afslog
277 2002-11-30  Tomas Olsson  <tol@stacken.kth.se>
279         * tests/run-tests.in: print date when each test is started
281         * tests/build-emacs{,-j}: build --without-x, emacs-21.2
283         * tests/generic-build: pass $CONFIGURE_ARGS to configure
285 2002-11-30  Love  <lha@stacken.kth.se>
287         * arlad/messages.c: (break_callback): mirror the token managment code 
288         from the kernel in here so it will be use by all users of
289         break_callback()
291         * arlad/fcache.c (stale): have break_callback() manaage the tokens
292         when we call it, if not just clear then (since the node isn't in
293         the kernel)
295 2002-11-29  Tomas Olsson  <tol@stacken.kth.se>
297         * configure.in (vfs_mount test): include param.h before proc.h
299         * doc/{debugging,oddities}.texi: speling
301         * lwp/make-process.o.sh.in: speling
303         * nnpfs/{aix,irix,sunos,linux,solaris}/nnpfs_node.c 
304         (new_nnpfs_node): speling
305         
306         * arlad/inter.c (cm_open): update tokens on NNPFS_OPEN_*
308 2002-11-28  Love  <lha@stacken.kth.se>
310         * nnpfs/include/nnpfs/nnpfs_queue.h: some useful list macros
312         * arlad/fcache.c (cleaner): the 50 is really
313         NNPFS_GC_NODES_MAX_HANDLE
315         * ydr: generate free functions (from assar), remove tcpdump stuff
317         * ydr/main.c: don't call generate_tcpdump_patches
318         
319         * rx/rx_pkt.h: replace rx_{Put,Get}Long with rx_Slow{Get,Put}Long
320         
321         * rx/rx_pkt.c (rxi_ReceiveDebugPacket): use rx_SlowPutLong
322         
323         * rx/rx.h: add a rock for the service to hide stuff under
324         
325         * rx/rx_globs.h: make rxi_Alloc return void *
326         
327 2002-11-26  Harald Barth  <haba@stacken.kth.se>
329         * conf/CellServDB: More followers from northern Sweden
331 2002-11-26  Mattias Amnefelt  <mattiasa@e.kth.se>
333         * nnpfs/linux/nnpfs/nnpfs_node.h (1.20.2.2 -> 1.20.2.3) nodelist
334         * nnpfs/linux/nnpfs/nnpfs_fs.h (1.21.2.3 -> 1.21.2.4) nodelist
335         is now a hashtable
336         * nnpfs/linux/nnpfs_vfsops.c (1.71.2.3 -> 1.71.2.4)
337         (xfs_read_super): call xn_init_head instead of INIT_LIST_HEAD
338         * nnpfs/linux/nnpfs_node.c (1.51.2.6 -> 1.51.2.7) nodelist is now
339         a hashtable
340         * nnpfs/linux/nnpfs_dev.c (1.77.2.6 -> 1.77.2.7) (free_node): use
341         xn_deletedp
342         
343 2002-11-18  Love  <lha@stacken.kth.se>
345         * arlad/Makefile.in: build ptest, the poller test
346         
347         * arlad/ptest.c: poller test
348         
349 2002-11-14  Love  <lha@stacken.kth.se>
351         * conf/CellServDB (athena.mit.edu): update prill.mit.edu
352         
353 2002-11-12  Mattias Amnefelt  <mattiasa@e.kth.se>
355         * rx/rxdebug.c (MainCommand): don't change tstats.version if it's
356         outside limits
358 2002-11-08  Tomas Olsson  <tol@stacken.kth.se>
360         * nnpfs/linux/nnpfs_message.c (nnpfs_message_installdata): log
361         error on data w/o token
362         * .cvsignore: added compile
364 2002-11-05  Harald Barth  <haba@stacken.kth.se>
366         * arlad/cred.c: spelling
368 2002-11-04  Harald Barth  <haba@stacken.kth.se>
370         * configure.in: Building snapshot
371         * scripts/arla-release.sh: Fix regexp and more variable quoting
373 2002-10-31  Love  <lha@stacken.kth.se>
375         * appl/vos/vos_listaddrs.c: try to make listaddr work again
376         
377         * rxdef/vldb.xg: fix VL_GetAddrs, broken prototype
378         
379         * configure.in: more quoting for AC_PROG_EGREP, now it works for
380         2.54
382 2002-10-30  Love  <lha@stacken.kth.se>
384         * rxkad/rxk_serv.c (decode_krb5_ticket): check the enc-type of the
385         encrypted part of the ticket, make sure its des
386         
387 2002-10-29  Love  <lha@stacken.kth.se>
389         * configure.in: fix comment for PROG_EGREP
390         
391 2002-10-29  Tomas Olsson  <tol@stacken.kth.se>
393         * nnpfs/winnt/bin/nnpfs-helper.c: simple logging
394         * nnpfs/winnt/inc/nnpfs_fastio.h: added; fast I/O prototypes
395         * nnpfs/winnt/inc/nnpfs_list.h: simple list implementation
396         * nnpfs/winnt/src/sources (SOURCES): added nnpfs_fastio.c
397         * nnpfs/winnt/src/nnpfs_fastio.c: added; fast I/O routines
398         * nnpfs/winnt/src/nnpfs.rc: not xfs any more
399         * nnpfs/winnt/src/nnpfs_{dev,dnlc,fbuf,init,message,misc,node,vops}.c: 
400         write support
401         * nnpfs/winnt/inc/nnpfs_{deb,dev,dnlc,ioctl,locl,node,proto}.h:
402         write support
404 2002-10-28  Harald Barth  <haba@stacken.kth.se>
406         * configure.in: This makes my autoconf complain less
407         * arlad/nnpfs.c: Give better error message
409 2002-10-24  Harald Barth  <haba@stacken.kth.se>
411         * arlad/fcache.c: Do not zero tokens if the tokens tell us that it
412         is still in use from another place.
414 2002-10-20  Tomas Olsson  <tol@stacken.kth.se>
416         * doc/nnpfs.txt: spelling
417         * tests/part-files: spelling
419 2002-10-20  Love  <lha@stacken.kth.se>
421         * arlad/fcache.c (write_attr): fix broken assert
422         
423         * tests/apwd.c: make readlink take size(buf) - 1, NUL terminate
424         string remove unused variable
425         
426 2002-10-19  Love  <lha@stacken.kth.se>
428         * configure.in: add AC_PROG_EGREP since modern autoconf failes to
429         a depend on that in AC_EGREP_CCP
430         
431         * lib/cmd: move to bit bucket for recycling
433         * configure.in: no makefile for lib/cmd
434         
435         * lib/Makefile.in: don't build libcmd
436         
437         * appl/afsutils/Makefile.in: don't -lcmd, its not needed
438         
439         * conf/CellServDB: no more {cs,graphics}.cornell.edu from Mitch
440         Collinsworth on arla-drinkers
441         
442         * util/heap.c (heap_remove): assert the we we don't try to remove
443         a heap element that was inserted w/o a heap_ptr
444         
445 2002-10-17  Love  <lha@stacken.kth.se>
447         * **/*.[0-9]: format, indent, new sentence, new line
449 2002-10-15  Love  <lha@stacken.kth.se>
451         * arlad/poller.c (poller_add_conn): use cell from conn
452         
453         * arlad/poller.c: remove a race when polling a server remove a
454         race when adding/re-adding a entry fix a memory leak
455         
456 2002-10-11  Mattias Amnefelt  <mattiasa@e.kth.se>
458         * appl/lib/arlalib.c (arlalib_get_cred_krb) try user given cell
459         before we try to guess
461 2002-10-08  Love  <lha@stacken.kth.se>
463         * tools/release-tools/tar-rootify.c: s/<strings.h>/<string.h>/
464         * tools/release-tools/cpio-rootify.c: s/<strings.h>/<string.h>/
465         
466 2002-10-03  Love  <lha@stacken.kth.se>
468         * appl/mac/make-mac-package.sh.in: look for more places where
469         arla-$VERSION.pax.gz might hide
470         
471         * nnpfs/bsd/nnpfs_vnodeops-bsd.c (nnfs_page{in,out}): if no apple,
472         #error-out
474         * nnpfs/bsd/nnpfs_vnodeops-bsd.c (nnpfs_pagein): Zero out rest of
475         last page if there wasn't enough data in the file
476         
477 2002-10-02  Love  <lha@stacken.kth.se>
479         * conf/CellServDB (iastate.edu): update, from Tracy Di Marco White
480         <gendalia@iastate.edu>
482         * lib/ko/kocell.c: fix NUL termination of fgets string
483         
484         * lib/cmd/cmd.c: fix NUL termination of fgets string
485         
486         * appl/mpp/mpp.c: fix NUL termination of fgets string
487         
488         * rx/rxperf.c: fix NUL termination of fgets string
489         
490         * arlad/fprio.c: fix NUL termination of fgets string
491         
492         * arlad/arla.c: fix NUL termination of fgets string
493         
494 2002-09-30  Love  <lha@stacken.kth.se>
496         * arlad/arla-cli.c: add new command, sleep
498         * arlad/state.c (state_store_fcache): plug memory leak, use static
499         buffer
501         * arlad/state.c (state_store_volcache): plug memory leak, use static
502         buffer
504 2002-09-30  Tomas Olsson  <tol@nada.kth.se>
506         * lwp/plwp.c (Cal_Highest_runnable_priority): highest index is
507         MAX_PRIORITIES - 1
509 2002-09-27  Love  <lha@stacken.kth.se>
511         * lwp/plwp.c: more verbose debugging, set stacksize (otherwise
512         uninited), make Cal_Highest_runnable_priority() work again
514         * rx/rxdebug.c: replace bcopy/bzero with memcpy/memset
515         
516         * INSTALL: update mac os text
517         
518         * nnpfs/include/nnpfs/nnpfs_message.h: add more comments
519         describing nnpfs_node.flags and NNPFS_TOKEN macros
521         * lwp/plwp.c (lwp_init): is a pointer, use it a such
522         
523         * lwp/plwp.c: (Abort_LWP): this function wasn't a vararg function,
524         silly, it should be, make it.
525         
526         * lwp/plwp.c: (LWP_CreateProcess): reorganize to make error
527         handling sane, also do AbortLWP() if pthread_create/CreateThread
528         failes.
529         
530         * lwp/plwp.c: (LWP_CreateProcess): indent
532 2002-09-26  Love  <lha@stacken.kth.se>
534         * lwp/plwp.c (Cal_Highest_runnable_priority): fix broken code
536         * util/log.c: make code common between log_open_stderr and
537         log_open_file that just was in log_open_file so all fields get
538         inited.
540 2002-09-25  Love  <lha@stacken.kth.se>
542         * doc/themis.texi: more themis stuff
543         
544 2002-09-18  Magnus Ahltorp  <ahltorp@nada.kth.se>
546         * appl/cbdebug/cbdebug.c (apropos_cmd): check argc correctly
548 2002-09-17  Love  <lha@stacken.kth.se>
550         * nnpfs/bsd/bin: remove depenecy on roken
552         * lib/ko/koerror.c: Add some more vldb error code that I forgot
553         before
555         * util/log.c: set progname to "unknown-program" when we don't know
556         it (wasn't passed in)
558         * lib/cmd/cmd.c: use getprogname()
559         
560         * cf/check-sl.m4: tests for yes so we don't get -Lyes/lib & co
562         * tests/*.c: use getprogname()
564         * appl/lib/arlalib.c: add localauth again
565         
566         * appl/asrvutil: remove program
568         * configure.in: remove asrvutil
569         
570         * appl/lib/arlalib.c: remove localauth support, I'll rewrite it soon
572         * appl/lib/arlalib.c: if we use openssl, use des_random_key
574         * appl/asrvutil/asrvutil.c: if we use openssl, use des_random_key
575         
576         * nnpfs/bsd/nnpfs_wrap-bsd.c: more more glue code to support
577         netbsd current
579         * nnpfs/bsd/bin/nnpfs_makedev: there might be a optional bdev-num
580         
581 2002-09-16  Magnus Ahltorp  <ahltorp@nada.kth.se>
583         * arlad/fs_errors.h: Define __attribute__ if it's not defined and
584         if not GNUC
586         * util/log.h: Define __attribute__ if it's not defined and if not
587         GNUC
589         * util/util-tester.c: Include roken.h
591         * tests/apwd.c (test_1): Don't do getcwd(NULL, 0), behaviour is
592         undefined
594         * lwp/make-process.o.sh.in: Try to use CPP with .S file
596 2002-09-14  Tomas Olsson  <tol@stacken.kth.se>
598         * nnpfs/include/nnpfs/nnpfs_message.h (NNPFS_TOKEN_GOT): do things
599         the traditional way, deprecate
600         (NNPFS_TOKEN_GOT_{ANY,ALL}): added
602         * nnpfs/include/nnpfs/nnpfs_debug.h: added XDEBREF - track
603         reference counting
605         * nnpfs/include/nnpfs/nnpfs_message.h (NNPFS_TOKEN_GOT): check for
606         all requested tokens
608 2002-09-13  Johan Danielsson  <joda@pdc.kth.se>
610         * nnpfs/bsd/nnpfs_wrap-bsd.c: make this compile with
611         NetBSD-current
613 2002-09-13  Love  <lha@stacken.kth.se>
615         * configure.in: add missing AC_CONFIG_SRCDIR, fix comment
617         * HACKING: we need autoconf 2.53, remove exit 0, add error
618         checking, call automake with -a -c to add missing files
619         
620 2002-09-12  Love  <lha@stacken.kth.se>
622         * appl/vos/vos_listaddrs.c (vos_listaddrs): make it work on cell's
623         with holes in the index array
625         * lwp/make-process.o.sh.in: add -DUSING_ASM to MYDEF add missing
626         MYDEF spelling
627         
628         * configure.in: fix AC_INIT, AM_INIT_AUTOMAKE, and AC_KRB_VERSION
629         
630         * configure.in: catch up with new roken macros
632         * cf:, lib/roken: import new roken from heimdal 0.5
633         
634 2002-09-12  Magnus Ahltorp  <ahltorp@nada.kth.se>
636         * appl/afsutils/Makefile.in: Don't install klog
638         * arlad/fcache.c (cleaner): if state is CL_COLLECT, bail out
639         unconditionally
641         * nnpfs/linux/nnpfs_message.c (nnpfs_force_invalid_xnode): do
642         invalidate_inode_pages
644 2002-09-12  Love  <lha@stacken.kth.se>
646         * configure.in: check for <limits.h>
647         
648         * nnpfs/linux/Makefile.in: catch up with `pacify automake' changes
649         
650         * configure.in: prepare for new libroken, pacify automake
651         
652         * rxkad/Makefile.in: don't misuse VPATH, use srcdir
653         
654         * xfs: xfs is dead, long live nnpfs
656 2002-09-11  Harald Barth  <haba@pdc.kth.se>
658         * nnpfs/linux/nnpfs_dev.c: Place down(), the enter of the mutex,
659         earlier and move asignments which lingered in the variable
660         declaration area inside the area protected by the mutex (compare
661         with the corresponding solaris code). Use the newly assigned value
662         of sleepq in the first part of the for(;;) construct to init the
663         loop variable.
665 2002-09-09  Mattias Amnefelt  <mattiasa@e.kth.se>
667         * configure.in: Try to find linux includefiles in a way consistent
668         with modern linux kernels.
670 2002-09-08  Love  <lha@stacken.kth.se>
672         * nnpfs/bsd/nnpfs_message.c (nnpfs_message_invalidnode): in the
673         __APPLE__ case, vget the node before calling ubc functions
674         
675         * nnpfs/bsd/nnpfs_vnodeops-common.c (nnpfs_handle_stale): set ubc
676         size when invalidating the node
678         * doc/nnpfs.txt: ispelling and technical updates
679         
680         * **/*: 's/nnpfsserver/xfsserver/g'
682         * nnpfs/bsd/nnpfs_message.c: indent
683         
684 2002-09-08 Harald Barth <haba@stacken.kth.se>
686         * doc/nnpfs.txt: Lots of changes, please review.
687         
688 2002-09-08  Mattias Amnefelt  <mattiasa@e.kth.se>
690         * nnpfs/linux/nnpfs_inodeops.c (nnpfs_d_revalidate): added debug
691         message
693 2002-09-08  Magnus Ahltorp  <ahltorp@nada.kth.se>
695         * configure.in: Added --with-milkopart
697         * lib/ko/afs_uuid.c: Include sys/file.h if it exists
699         * configure.in: Added sys/mkdev.h to AC_CHECK_HEADERS
701 2002-09-07  Love  <lha@stacken.kth.se>
703         * configure.in: require autoconf 2.53
704         
705 2002-09-07  Mattias Amnefelt  <mattiasa@e.kth.se>
707         * lib/ko/kocell.c (cell_init): read cells from $CELLSERVDBFILE if
708         set. also protect suid-binaries
710         * appl/udebug/udebug.c: print alternate addresses
711         * rxdef/ubik.xg: added alternate addresses in ubik_sdebug
713         * appl/bos/bos.8 (getrestart) updated
715         * appl/fs/fs_setcrypt.c: added help
717 2002-09-07  Love  <lha@stacken.kth.se>
719         * arlad/messages.c: Always set offset in the installdata
720         message. Noticed by <tol@it.su.se>.
722         * arlad/fcache.c: adding missing ) and spelling, From Fredrik Thulin
723         <ft@it.su.se>
725         * nnpfs/linux: handle the changed semantics of ->d_revalidate
727         * nnpfs/irix/nnpfs_vfsops.c: s/xFs/nnpfs/, close that I missed
728         this one :)
730         * **/* (with exception of ChangeLog,NEWS and timeline.texi):
731         s/xfs/nnpfs/g;s/XFS/NNPFS/g
732         
733         * nnpfs: repo copy of xfs
734         
735         * xfs: rename to nnpfs
737         * arlad/stats.c (collectstats_hostpart): remove gracious extra
738         varible
740         * arlad/messages.h: remove FETCH_BLOCKSIZE
741         
742         * arlad/stats.c: define MIN_FETCH_BLOCKSIZE here and
743         s/FETCH_BLOCKSIZE/MIN_FETCH_BLOCKSIZE/
745         * arlad/stats.c (collectstats_hostpart,collectstats_init): use
746         growing hashtab
748         * arlad/stats.c (hostpart_addhash): use hashtabaddreplace() to
749         avoid memory leak
751         * arlad/message.[ch],stats.[ch]: enable prefetch again
753         * arlad/messages.c (xfs_message_putattr): don't update length at
754         the same time as we update attributes, since the fileserver can't
755         handle that.
757 2002-09-06  Love  <lha@stacken.kth.se>
759         * configure.in: fix netbsd-lkm with relative $srcdir
760         
761 2002-09-05  Love  <lha@stacken.kth.se>
763         * arlad/stats.c (collectstats_stop): don't count statistics if
764         partition is -1
766 2002-08-29  Magnus Ahltorp  <ahltorp@nada.kth.se>
768         * xfs/bsd/Makefile.in: Changed Mac OS X to use kext:s
770         * xfs/bsd/Info.plist.in: Added
772         * configure.in: Added COM_APPLE_KERNEL_BSD and xfs/bsd/Info.plist
773         generation
775 2002-08-26  Love  <lha@stacken.kth.se>
777         * tools/release-tools/Makefile.in: don't install/uninstall
778         
779 2002-08-25  Love  <lha@stacken.kth.se>
781         * conf/CellServDB: su.se does afsdb, so should you
782         
783 2002-08-24  Love  <lha@stacken.kth.se>
785         * lib/bufdir/fbuf.c: Don't map the whole file in mmap_copy.*
786         functions, do instead chunks of mmap_max_size (10M). This way
787         operating system that have problems to maps things larger then
788         600M will still work.
789         
790 2002-08-21  Love  <lha@stacken.kth.se>
792         * xfs/linux/xfs_syscalls.c (sys_afs_int): simplify len logic in
793         the copyout case
794         
795         * xfs/linux/xfs_inodeops.c: (xfs_d_delete): fix comment
797 2002-08-17  Love  <lha@stacken.kth.se>
799         * rxkad/Makefile.in: build fc_test
800         
801 2002-08-16  Love  <lha@stacken.kth.se>
803         * arlad/messages.c (token_for_cell): use XFS_MSG_MAX_DATASIZE for
804         buffer size
806         * arlad/messages.c (viocsettok): more error checking
807         (token_for_cell): more error checking
809         * appl/lib/tokens.c (arlalib_token_iter): more error checking
810         
811 2002-08-15  Love  <lha@stacken.kth.se>
813         * Release 0.35.9, see the branch for relevant patches
814         
815 2002-08-14  Love  <lha@stacken.kth.se>
817         * NEWS: sync with 0.35 branch
818         
819 2002-08-13  Love  <lha@stacken.kth.se>
821         * arlad/arla.c (arla_init): if the user choose "syslog" as
822         log_file, change it to "syslog:no-delay" to be helpful since that
823         is probably what the user wants
824         
825         * NEWS: sync in changes from 0.35.9
826         
827         * xfs/aix/xfs_syscalls.c (xfs_pioctl_call): use
828         XFS_MSG_MAX_DATASIZE
830         * xfs/solaris/xfs_syscalls.c (remote_pioctl): use
831         XFS_MSG_MAX_DATASIZE
833         * xfs/bsd/xfs_syscalls-common.c (remote_pioctl): use
834         XFS_MSG_MAX_DATASIZE
836         * xfs/linux/xfs_syscalls.c (sys_afs_int): use XFS_MSG_MAX_DATASIZE
837         
838         * xfs/include/xfs/xfs_message.h (XFS_MSG_MAX_DATASIZE): new
839         constant
840         (xfs_message_pioctl, xfs_message_wakeup_data): use XFS_MSG_MAX_DATASIZE
842         * include/kafs.h: add common pioctl's
843         
844 2002-08-10  Love  <lha@stacken.kth.se>
846         * conf/CellServDB: add lns.mit.edu
847         
848 2002-08-09  Love  <lha@stacken.kth.se>
850         * cf/*: do offical workaround for LTLIBOBJS
851         
852         * configure.in: add AC_PROG_EGREP for those that have it do
853         LTLIBOBJS wordaround as documented
854         
855 2002-08-05  Love  <lha@stacken.kth.se>
857         * rxdef/vldb.xg: set limit to bulkaddrs<>
858         
859         * ydr/output.c (gen_check_overflow): check for overflows
860         (encode_string):check for length -1 that would break the code otherwise
861         (encode_varray): use gen_check_overflow
863         * lib/Makefile.in: no libacl for now
864         
865         * rxdef/volumeserver.xg: sync with openafs s/replicas/manyDests/,
866         put a limit on it too
867         
868         * rxdef/volumeserver.xg: AFSVolForwardMultiple/multi_results is
869         OUT
871 2002-08-01  Love  <lha@stacken.kth.se>
873         * arlad/messages.c (xfs_message_create): handle tokens for
874         installnode
875         (xfs_message_mkdir): ditto
876         (xfs_message_getdata): don't allow to open directories with DATA_W
877         Noticed by <tol@stacken.kth.se>
879 2002-07-27  Love  <lha@stacken.kth.se>
881         * arlad/fcache.c (purge_cred): use FCACHE2XFSNODE_NO_LENGTH
882         
883         * arlad/messages.c: move the fake_stat code into
884         afsstatus2xfs_attr(), obey the FCACHE2XFSNODE_LENGTH flag in
885         afsstatus2xfs_attr(). this the had the effect that token changes
886         will update rights when running with fake_stat
888         * arlad/messages.h: change the FCACHE2XFSNODE flags to be more
889         sane, the one that we really what make a make is possible to avoid
890         is update the length of the file, so make that a flag instead
891         
892         * appl/mac/make-mac-package.sh.in: added more descriptive helptext,
893         added Id tag
894         
895         * tests/intr-read[123]: intr-read is not a fast test
897         * conf/CellServDB (in2p3.fr): update
898         * conf/CellServDB (rl.ac.uk): update
899         
900 2002-07-26  Love  <lha@stacken.kth.se>
902         * tools/release-tools/common.c: use strtoq if there is no strtoll
903         use strol if there is no strtoq
904         
905         * configure.in: check for strtoq
907         * arlad/fcache.c (do_read_attr): print out warning with error
908         before setting error to ENETDOWN
910         * appl/mac/make-mac-package.sh.in: post-process with release-tools
911         
912 2002-07-25  Love  <lha@stacken.kth.se>
914         * lib/ko/kocell.c (cell_new_dynamic): remove write-to-CellServDB
915         code
917         * lib/ko/Makefile.in: added commented out ares support
918         
919         * appl/perf/afsfsperf.c: add -smallrun, spelling, help-tests From:
920         Harald Barth <haba@pdc.kth.se>
921         
922 2002-07-24  Love  <lha@stacken.kth.se>
924         * lib/ko/restest.c: memset dbservers, print address, fix usage of
925         _ko_resolve_host
927         * lib/ko/ares.c: implementation of a libares resolver backend, need
928         some patches to work
929         
930         * lib/ko/kocell.c (dns_lookup_cell): don't add time to the tll for
931         hosts that have invalid timeout/address since that will render the
932         address (0.0.0.0) valid
933         
934         * arlad/arladeb.h: unbreak (c)
935         
936 2002-07-24  Tomas Olsson  <tol@stacken.kth.se>
938         * xfs/winnt/bin/xfs-helper.c (device_thread, loop): cleaner debug
939         output, don't fail when ioctl says ENOMEM DEBUG off by default
941 2002-07-24  Love  <lha@stacken.kth.se>
943         * lib/ko/resolve.c: simplify, fixed some minor bugs, more strcasecmp
944         
945         * lib/ko/reswinnt.c: first shot of a windows <windns.h> resolver
946         for libko
948         * lib/ko/Makefile.in: restest
949         
950         * lib/ko/restest.c: restest
952         * lib/ko/kocell.c (dns_lookup_cell): make lowest ttl 5 minutes,
953         move comment
955         * lib/ko/resnull.c: Dummy implementation of resolver api
956         
957         * lib/ko/Makefile.in: add RESOLVE_[CO]
958         
959         * lib/ko/resolve.c: Implementation of resolver api using roken
960         resolve.h moved from kocell.c
961         
962         * lib/ko/kocell.c: use the independant resolver api to resolve
963         cell/hosts
965         * lib/ko/ko_locl.h: create a resolver independant resolver api for
966         libko
968 2002-07-23  Tomas Olsson  <tol@stacken.kth.se>
970         * arlad/xfs.h (xfs_message_receive): remove duplicate
972         * xfs/winnt/src/* handle symlinks, reset cache, ...
973         
974         * xfs/winnt/inc/xfs_proto.h (xfs_alloc{,_link}): new arg - tag
976         * xfs/winnt/inc/xfs_node.h (xfs_node_{gc_all,invalid}): added
978         * xfs/winnt/inc/xfs_locl.h (xfs_node): reference counts are now long
979         (xfs_channel): add wake_event
980         define XFS_MAX_SYMLINKS
982 2002-07-23  Love  <lha@stacken.kth.se>
984         * arlad/fcache.c (find_volume): only tell us to go get the rw
985         volume if there exists one
987         * arlad/Makefile.in: bring uptodate
988         
989         * arlad/volcache.c: push the disconnected test to later in the
990         code so dynroot volumes lookups will work
991         (volume_uptodatep): the volume is only valid in the disconnected
992         case when we have valid data
993         
994         * arlad/dynroot.c: add aliases to the generated dynroot
995         
996         * lib/ko/kocell.c: add support for aliases in dynroot
997         
998         * lib/ko/ko.h (cell_alias_foreach): new function
999         (cell_addalias): new function
1001         * arlad/arla.c (params): sort and add fetch_block
1002         
1003         * arlad/inter.c: indent
1004         
1005         * arlad/dynroot.h: update (c)
1006         
1007         * arlad/{darla.c,darla.h,discon.h,discon_log.c,discon_log.h,
1008         reconnect.c,reconnect.h}: mark obsolete
1010         * arlad/stats.c (stats_set_prefetch): no return from void
1011         
1012         * arlad/stats.c (stats_set_prefetch): new function, set prefetch
1013         variable
1014         (stats_prefetch): return fetch_block_size instead of fixed size
1016         * arlad/stats.h (stats_set_prefetch): new function, set prefetch
1017         variable
1019         * arlad/arla_local.h: stop include unused files export
1020         fetch_block_size
1021         
1022         * arlad/*.[58]: update, improve, add more junk
1024 2002-07-22  Love  <lha@stacken.kth.se>
1026         * configure.in: check for lchflags too
1027         
1028 2002-07-21  Love  <lha@stacken.kth.se>
1030         * arlad/inter.c (cm_check_consistency): fcache_calculate_usage now
1031         correctly returns a int64_t
1033         * arlad/fcache.h (fcache_calculate_usage): return a int64_t
1034         * arlad/fcache.c (fcache_calculate_usage): return a int64_t
1035         
1036         * arlad/fcache.c (write_data): fix byte accounting, we leaked
1037         bytes here before
1039 2002-07-20  Love  <lha@stacken.kth.se>
1041         * arlad/dynroot.c (dynroot_get_node): use propper fcache function
1042         to update accunting length
1043         
1044         * arlad/fcache.c (read_data): decide how much read-ahead using the
1045         function stats_prefetch()
1046         (sum_node): include dynroot nodes again
1048         * arlad/stats.h: warpping and prototype for stats_prefetch()
1049         
1050         * arlad/stats.c (stats_prefetch): return how much readahead we
1051         should do for this fileserver, now wired to FETCH_BLOCKSIZE
1052         
1053         * arlad/arla_local.h: add "stats.h"
1055         * arlad/fcache.h: move out collectstats_ functions to stats.h
1056         
1057         * arlad/{Makefile.in.stats.[ch].fcache.c}: break out statistics
1058         counting to own module
1060         * arlad/fcache.c (cleaner): removed unused debugging code
1061         
1062         * INSTALL: --with-krbafs, point toward README
1063         
1064         * xfs/bsd/Makefile.in: add a install-native that tries to do the
1065         right thing make lkmdir mean lkmdir (almost at least)
1066         (same for uninstall)
1068         * xfs/bsd/bin/Makefile.in: make lkmdir mean lkmdir (almost at
1069         least)
1071 2002-07-17  Mattias Amnefelt  <mattiasa@e.kth.se>
1073         * arlad/disco.c (disco_print_entry) terminate default with break
1075 2002-07-16  Love  <lha@stacken.kth.se>
1077         * appl/vos/vos_common.c: fix memset arguments, from openbsd
1078         
1079         * include/Makefile.in (LOCL_HEADERS): split out roken headers
1080         
1081         * configure.in: provide am conditional ARLA_LOCAL_ROKEN that can
1082         be used in makefiles
1084 2002-07-15  Love  <lha@stacken.kth.se>
1086         * appl/mpp/mpp.c: fix expansion of macros
1087         
1088         * tests/*.c: s/set_progname/setprogname/
1090         * xfs/bsd/xfs/xfs_node.h (xfs_node): lockf should me a pointer to
1091         a struct lockf
1093         * lib/cmd/testc.c: s/set_progname/setprogname/
1094         
1095 2002-07-14  Love  <lha@stacken.kth.se>
1097         * configure.in: KERNEL_FUNCS+= lf_advlock
1099         * xfs/bsd/xfs_vnodeops-bsd.c, xfs/bsd/xfs/xfs_node.h: do local
1100         locking if possible
1102 2002-07-11  Love  <lha@stacken.kth.se>
1104         * scripts/arla-release.sh: manage current arla version extracting
1105         too (AM_INIT_AUTOMAKE vs VERSION)
1107         * appl/afsutils/klog.c: rewrite the code even more, this sucks
1108         
1109         * appl/afsutils/klog.c: fix for finding of ticket based on
1110         proposal from Christopher Wing <wingc@engin.umich.edu> on
1111         arla-drinkers, changed by me.
1113 2002-07-11  Magnus Ahltorp  <ahltorp@nada.kth.se>
1115         * appl/mac/make-mac-package.sh.in: Make script take srcdir and
1116         destdir
1118 2002-07-10  Love  <lha@stacken.kth.se>
1120         * arlad/reconnect.c: s/rx_Error/rx_GetCallError/
1121         * arlad/fcache.c: s/rx_Error/rx_GetCallError/
1122         * lib/bufdir/fbuf.c: s/rx_Error/rx_GetCallError/
1123         
1124         * arlad/xfs.c: move rpc messages counters to a struct to make
1125         easier to add new counters
1127 2002-07-09  Love  <lha@stacken.kth.se>
1129         * appl/vos/vos_{examine,vldbexamine}.c: fix printing when
1130         volserdown, broken printing.
1132 2002-07-08  Tomas Olsson  <tol@stacken.kth.se>
1134         * xfs/winnt/bin/xfs-helper.c (device_thread): proper bailout on error
1135         (loop): repeat recv until we have the whole packet
1137         * xfs/winnt/inc/xfs_{dnlc,errno,locl,node,proto}.h:
1138         read some more
1140         * xfs/winnt/src/xfs_{deb,dev,dnlc,fbuf,init,message,misc,node,vops}.c:
1141         read some more
1143 2002-07-05  Love  <lha@stacken.kth.se>
1145         * NEWS: mention afs3-callback
1146         
1147         * arlad/arlad.c (client_port): default to 0, and thus to
1148         afscallbackport.
1150         * arlad/arla.c (rxinit): if no port is specified use
1151         afscallbackport
1153 2002-07-04  Love  <lha@stacken.kth.se>
1155         * arlad/fcache.c (cleaner): Change where we update the cleaner run
1156         number of the node to just after we check for it. Each change of
1157         state in the cleaner will change the cleaner run number so that
1158         each state look at every node. Fixes bug noticed by
1159         <tol@stacken.kth.se>.
1161         * arlad/fcache.c (cleaner): always consider a node cleanable if
1162         its used in the first step, since we never clean used used nodes
1163         later in the code.
1164         (invalidator): use ADEBINVALIDATOR
1165         (read_data): fix needbytes calculation
1167         * arlad/arladebu.c (arla_deb_units): add ADEBINVALIDATOR
1168         * arlad/arladeb.h: masks: add ADEBINVALIDATOR
1169         
1170 2002-07-03  Love  <lha@stacken.kth.se>
1172         * appl/perf: add from milko appl tree, clean up
1174         * configure.in (AC_OUTPUT): move perf form milko appl to arla appl
1175         
1176         * doc/xfs.txt (version): clean up
1177         (installdata): make more sane
1179         * conf/freebsd/freebsd4-rc.arla: freebsd 4 start script
1180         (/etc/rc.arla)
1182 2002-07-02  Love  <lha@stacken.kth.se>
1184         * appl/mpp/mpp.c (expand_macro): fix a broken case where there was
1185         multiple macros on the same row
1186         
1187 2002-07-01  Love  <lha@stacken.kth.se>
1189         * arlad/arla.c (read_conffile): make negative boolan values work
1190         
1191         * arlad/messages.c: (try_next_fs): protect RXKADUNKNOWNKEY with
1192         #ifdef KERBEROS, from tol
1194         * arlad/cmcb.c: (RXAFSCB_GetCellServDB): fix prototype, from tol
1196         * arlad/arla.c: protect rxkad_level_string with #ifdef KERBEROS
1197         
1198 2002-06-30  Love  <lha@stacken.kth.se>
1200         * arlad/conn.c (conn_dead): tell in what cell the dead host is in
1201         
1202         * tests/run-tests.in: RUN_TESTS += intr-read2 intr-read3
1203         
1204         * tests/intr-read{.c,1,2,3}: sigchild test
1206         * xfs/bsd/xfs_dev-common.c (xfs_block_sigset): ignore dying children
1207         (xfs_message_rpc): correct comment
1209 2002-06-29  Love  <lha@stacken.kth.se>
1211         * arlad/messages.c (xfs_message_open): add tokens to e->tokens,
1212         mirrors cm_open
1214         * xfs/bsd/xfs_vnodeops-netbsd.c (xfs_netbsd_strategy): don't do
1215         sync io
1217         * arlad/inter.c (cm_rename): when renaming a file we also need to
1218         check if the file is in the cache, since in that case we need to
1219         mark it as a silly rename in case its opened by the kernel, and
1220         thus need to write it back to the server (where it no longer
1221         exists!)
1223 2002-06-28  Johan Danielsson  <joda@pdc.kth.se>
1224         
1225         * appl/lib/tokens.c: don't bail out before we get EDOM (signaling
1226         the end of the tokens), the kernel can also return ENOTCONN,
1227         meaning that the index does not exist anymore (for example if the
1228         token has expired)
1229         
1230 2002-06-28  Love  <lha@stacken.kth.se>
1232         * Release 0.35.8, see the branch for relevant patches
1234 2002-06-27  Love  <lha@stacken.kth.se>
1236         * tools/Makefile.in (SUBDIRS): add release-tools
1237         
1238 2002-06-25  Love  <lha@stacken.kth.se>
1240         * lwp/process.sparc.S: rename AS_UNDERSTANDS_REGISTER to
1241         PROG_AS_UNDERSTANDS_REGISTER
1242         
1243         * configure.in: rename AS_UNDERSTANDS_REGISTER to
1244         PROG_AS_UNDERSTANDS_REGISTER
1246 2002-06-24  Love  <lha@stacken.kth.se>
1248         * README: update where krbafs lives
1249         
1250 2002-06-22  Love  <lha@stacken.kth.se>
1252         * xfs/linux/xfs_inodeops.c (xfs_vma_close): don't iput
1253         
1254         * lib/ko/afs_uuid.c (get_node_addr): just use dl->sdl_type
1255         directly instead of fooling around with struct if_data
1256         
1257         * conf/arla.conf: add rxkad-level example
1258         
1259         * lib/ko/kocell.c: remove direct dep on libroken (emalloc/estrdup)
1260         
1261 2002-06-14  Love  <lha@stacken.kth.se>
1263         * ydr/output.c: use rx_SetCallError and rx_GetCallError
1265         * rx/rx.h: add rx_SetCallError and rx_GetCallError
1267 2002-06-13  Love  <lha@stacken.kth.se>
1269         * arlad/arla.conf.5: sort
1270         
1271         * arlad/arla.c: add rxkad-level, sort
1273 2002-06-12  Love  <lha@stacken.kth.se>
1275         * arlad/messages.c: (fcacheentry2xfsnode): add hook for fake_stat
1277         * arlad/arlad.c: (args): add --fake-stat and sort
1278         
1279         * arlad/arla.c,arla_local.h: add fake_stat
1281         * arlad/cb.xg: add GetCacheConfig
1283         * arlad/cmcb.c: add RXAFSCB_GetCacheConfig
1285         * arlad/poller.c: fix comments
1287 2002-06-12  Mattias Amnefelt  <mattiasa@e.kth.se>
1289         * conf/CellServDB: update msc.cornell.edu
1291 2002-06-06  Mattias Amnefelt  <mattiasa@e.kth.se>
1293         * appl/udebug/udebug.c (ProbeHost) Don't try to talk to
1294         0.0.0.0. It won't answer.
1296 2002-06-06  Love  <lha@stacken.kth.se>
1298         * appl/lib/fs_lib.c (getaddrinfo): don't return a negativ error
1299         
1300         * lwp/lwp_asm.c: s/int32_t/unsigned long/
1301         
1302 2002-06-05  Love  <lha@stacken.kth.se>
1304         * lwp/lwp_asm.c: don't used strlcpy, we don't want a dependency on
1305         libroken
1306         
1307 2002-06-05  Mattias Amnefelt  <mattiasa@e.kth.se>
1309         * appl/cbdebug/{localcell,whoareyou}.c: noauth is a flag
1311 2002-06-05  Love  <lha@stacken.kth.se>
1313         * arlad/cmcb.c (RXAFSCB_GetLocalCell): implement
1314         
1315         * appl/cbdebug/cbdebug.1: document localauth and update usage
1316         
1317         * appl/cbdebug: clean up, merge common code, and add localcell
1319         * rxdef/cb.xg: add GetCellServDB and GetLocalCell
1320         
1321 2002-06-04  Love  <lha@stacken.kth.se>
1323         * rx/rxperf.c: if we have getrusage and there is a -G, print
1324         rusage stats
1326         * configure.in: add check for getrusage
1327         
1328         * rx/rxperf.c: comment out rx_window, it doesn't belong here
1329         
1330         * lwp/Makefile.in: lwp redzone
1331         
1332         * configure.in: Add hook to turn off lwp redzone
1333         
1334         * lwp/lwp_asm.c: support those OS need to have have a fd to
1335         /dev/zero when mapping anonymous pages (ie those that doesn't have
1336         MAP_ANON)
1338         * TODO: the arlad bugs are fixed and verified to no occur, remove,
1339         now only xfs item left
1340         
1341         * arlad/fcache.c (throw_entry): make sure there isn't waiters for
1342         this lock, since we don't handle that case right now
1343         
1344 2002-06-03  Love  <lha@stacken.kth.se>
1346         * configure.in: add aafs and release-tools
1347         
1348         * tools/release-tools/Makefile.in: new file
1349         
1350         * tools/release-tools: make compile cleanly
1351         
1352         * tools/release-tools: add cpio-rootifier and break out common stuff
1354         * lwp/plwp.c: remove def of PRE_Block
1355         
1356 2002-06-03  Magnus Ahltorp  <ahltorp@nada.kth.se>
1358         * lib/ko/afs_uuid.c (get_node_addr): check if ifdata is NULL
1360 2002-06-03  Love  <lha@stacken.kth.se>
1362         * tools/release-tools/tar-rootify.c: hack to root-ify tar archives
1364         * aafs/aafs-perl: perl interface to aafs, need some more work
1366         * appl/aafs: fetch info from vldb/volserver server library, more
1367         coming soon
1369         * lwp/process.sparc.S: make it work for netbsd/sparc64 (really any
1370         sparcv9 running !solaris)
1372         * configure.in (netbsd): make for-loop into a while test $#
1373         .. loop so we can parse two component items (-isystem)
1374         
1375         * configure.in (netbsd): make mkinstalldirs quiet
1376         
1377         * INSTALL: add notice about source-code for *BSD and remove text
1378         about netbsd 1.4.2 brokenness
1379         
1380         * configure.in: remove the need to copy the foo.c in the netbsd
1381         buildlink thingy s/with-make/with-bsd-make/
1382         
1383         * README: clean up versions supported
1384         
1385         * INSTALL: add --with-bsd-make
1386         
1387         * configure.in: --with-make, s/dir/make/
1388         
1389         * include/netbsd-lkm: buildlink-env for netbsd lkm's
1390         
1391         * configure.in: provide infrastructure for creating a build-link env in
1392         include/netbsd-lkm for netbsd kernel modules
1393         
1394 2002-06-02  Love  <lha@stacken.kth.se>
1396         * netbsd 1.6 should also do the nm trick
1398         * arlad/arla.conf.5: document the broken parse_units
1399         
1400         * doc/pioctl.texi: document AIOC_GETCACHEPARAMS
1401         
1402         * arlad/messages.c: implement support for AIOC_GETCACHEPARAMS
1403         
1404         * appl: try to support 64-bit cache parameters
1406         * include/kafs.h: add AIOC_GETCACHEPARAMS and its opcodes
1407         
1408         * arlad/arla.c (read_conffile): parse_units returns a int, and
1409         wraps over, assume that negative returns are such overwrapped
1410         values.
1412         * arlad/arla.c (read_conffile): use strtoll if we have it
1413         
1414         * arlad: first part of support of large cache sizes (>4G)
1416         * configure.in: check for <sys/wait.h> we need it if we link
1417         against external roken
1419         * lwp/rw.c: try harder to not store interger in pointer
1420         
1421         * lwp/lwp_asm.c: LWP_REDZONE depends on HAVE_MMAP, make it so
1422         
1423         * lwp: revert the PRE_Block change, it not correct either way, and
1424         it breaks least process.S things by having it a char
1426         * xfs/bsd/xfs_vnodeops-netbsd.c (xfs_netbsd_read): uio_resid might
1427         be long, cast appropriately
1429         * arlad: const poisoning
1431         * arlad/fcache.c: update users of volcache_getby{id,name} to pass
1432         in NULL as type when it isn't need later in the code
1433         
1434         * arlad/volcache.c (create_new_entries): use malloc
1435         (add_clone): remove the suffix type, its no longer used
1436         (*): use dynroot_fetch_root_vldbN, update uses of add_clone
1437         (volcache_getbyname): make it voluntary to send in type
1438         (get_info_loop): pass in the entry to update, not the existing one
1440         * arlad/dynroot.[ch] (dynroot_fetch_root_vldbN): rename from
1441         dynroot_fetch_vldbN()
1443         * arlad/arlad.c: indent
1444         
1445 2002-06-01  Love  <lha@stacken.kth.se>
1447         * lwp: remove register, ident some
1448         make PRE_block an int since some arch .S files access it as such
1449         add some comment to LWP_REDZONE code and rename some
1450         functions/variables, also pass in more info to free (since we know it)
1451         constify some functions
1452         add test-cases for the redzone code
1453         
1454         * conf/CellServDB: remove {mr-afs,blubb}.pdc.kth.se
1455         
1456 2002-05-31  Love  <lha@stacken.kth.se>
1458         * rxdef: stop include stuff we dont need
1460         * arlad/messages.c (CONNMODE_FETCH): open disco log
1461         
1462         * appl/cbdebug/whoareyou.c: include more stuff
1463         
1464         * lib/ko/afs_uuid.c: include more stuff
1465         
1466         * rx: s/MUTEX_.*\>/RX_MUTEX_\1/ to make sure we dont pollute namespace
1468 2002-05-31  Mattias Amnefelt  <mattiasa@e.kth.se>
1470         * appl/vos/vos_listaddrs.c: added -uuid and -host flags
1471         * appl/lib/arlalib.{c,h}: added arlalib_name_to_host
1473 2002-05-31  Love  <lha@stacken.kth.se>
1475         * doc/timeline.texi: mention that the darwin codes originates from lxs
1476         
1477 2002-05-30  Love  <lha@stacken.kth.se>
1479         * rxdef/vldb.xg: add some comments
1480         
1481 2002-05-30  Mattias Amnefelt  <mattiasa@e.kth.se>
1483         * rxdef/vldb.xg: added new returncodes from openafs
1484         * lib/ko/afs_uuid.{c,h} (afsUUID_{hash,from_string,is_nil}) const args
1485         * appl/vos/vos_listaddrs.c: added, implements listaddrs
1486         * appl/vos/vos.{8,c} appl/vos/vos_local.h: added listaddrs
1487         
1488 2002-05-28  Love  <lha@stacken.kth.se>
1490         * arlad/volcache.c (update_entry): common code between
1491         volcache_getbyname, volcache_getbyid and volume_make_uptodate
1492         
1493         (add_clone): add entry even if suffix_type doesn't match type
1494         (remove_clones_from_hashtab): new func
1495         (remove_clone): new func
1496         (add_clones_to_hashtab): comment out code that in spirit is right
1497         (get_info_common): make it take an nvldb entry that will be used when
1498         checking the entry out
1499         (volume_make_uptodate): make it do the correct thing
1501         * lib/ko/kocell.c (updatehosts): where there is no update on the
1502         dbservers array, don't copy it to a new malloced area and free the
1503         old.
1504         (fetch_host): hosts returned by gethostbyname() are valid for 600s.
1506         * TODO: some things fixed, some things doesn't apply
1507         
1508         * arlad/fcache.c
1509         (fcache_reobtain_callbacks,fcache_giveup_all_callbacks): avoid
1510         talking to dead hosts
1512         * arlad/arla.conf.5: fix dynroot example
1513         
1514         * conf/arla.conf: fix dynroot example
1515         
1516         * arlad/arla.c (read_conffile): support boolan values
1517         (conf_params): make dynroot a boolan value
1519 2002-05-27  Love  <lha@stacken.kth.se>
1521         * rxdef/vldb.xg: clean up and add opcodes
1522         
1523         * doc: rename disco-prog.texi to prog-disco.texi
1525 2002-05-27  Magnus Ahltorp  <ahltorp@nada.kth.se>
1527         * appl/fs/fs.c: Spell-checked command descriptions
1529 2002-05-26  Love  <lha@stacken.kth.se>
1531         * doc/disco-prog.texi: clean up
1532         
1533         * doc/prog.texi: add afsUUID
1534         
1535         * doc/arla.texi: add afsUUID
1536         
1537         * include/kafs.h (CONNMODE_CONN_WITHCALLBACKS): add
1538         
1539         * arlad/d-trans.c,disco.[ch],play_disco.c: disco stuff
1541         * arlad/messages.c (*): use disco to store log entries, remove
1542         log_dis stuff, introduce CONNMODE_CONN_WITHCALLBACKS, so that we
1543         reconnect w/o getting callback again
1544         (VenusFid_cmp): move to libko
1546         * arlad/fcache.c (remove_file): add support for disco
1547         
1548         * arlad/fcache.h (FCacheEntry): add disco_id
1549         
1550         * lib/ko/Makefile.in: add misc and add EXEEXT hack for gensysname
1551         
1552         * lib/ko/misc.c: misc stuff, currently VenusFid_cmp that is shared
1553         between aafs and arlad
1554         
1555         * doc: clean up, add docu on new stuff, split of programming stuff in to own section
1556         
1557         * doc/real-world.texi: add note about kimpersonate
1558         
1559 2002-05-25  Love  <lha@stacken.kth.se>
1561         * arlad/poller.c (poller_add): make time timeout stuff work again
1562         
1563         * arlad/poller.c (poller_add): check if the cell has a special
1564         timeout value, in that case we might want to use it (think NAT)
1565         
1566         * lib/ko/kocell.c: add volume-type printing stuff here
1567         
1568         * lib/ko/ko.h: add volume-type printing stuff here add poller
1569         timeout value to cell
1570         
1571         * appl/vos: move volume-type printing stuff to libko
1573         * configure.in: de-support hack for netbsd 1.4.1
1574         
1575         * xfs/bsd/xfs_vnodeops-common.c (xfs_fetch_rights): remove
1576         (xfs_attr_valid): make it check the pag too
1577         (xfs_access_common): stop calling xfs_fetch_rights, xfs_attr_valid
1578         does the same things
1579         
1580         * xfs/bsd/xfs_vnodeops-netbsd.c (xfs_netbsd_strategy): use already
1581         figured out curproc and only update the vattr if the write/read
1582         succeeded
1584 2002-05-24  Love  <lha@stacken.kth.se>
1586         * appl/vos/vos_listvldb.c (vos_listvldb_iter): check error value,
1587         init variables, and even better, free used memory. Bug found by
1588         <jimmy@e.kth.se>
1590         * arlad/arla.c (read_conffile): compare endptr (from strtol) with
1591         '\0' since that is that since of that there wasn't any bad things
1592         in the string.  From: Fredrik Thulin <ft@it.su.se>
1594         * rxdef/vldb.xg (VLSF_NEWREPSITE): dunno what this is ???
1595         
1596         * arlad/reconnect.c (copy_cached_file): open with mode, target
1597         file should be opened with O_TRUNC, from Andreas Ã–stling
1598         <andreaso@it.su.se>
1599         
1600 2002-05-23  Love  <lha@stacken.kth.se>
1602         * util/hash.c (hashtabnewf): size of zero is valid if the hash is
1603         a growing hashtable, remember to store the flags in the newly
1604         created hashtable
1605         (_might_resize): remeber to copy the size too
1607         * arlad/dynroot.c (DYNROOT_ROOTVOLUME_STR): string version of
1608         DYNROOT_ROOTVOLUME
1609         (dynroot_isvolumep): use DYNROOT_ROOTVOLUME_STR
1611         * rx/rxperf.c: clean up comments and usage
1612         
1613 2002-05-22  Love  <lha@stacken.kth.se>
1614         
1615         * (free_fs_server_context): only process marks if there was a
1616         volume entry to process marks in, matters when in disconnected
1617         mode and we failed to talk to the fileserver/volumeserver.
1618         
1619 2002-05-21  Love  <lha@stacken.kth.se>
1621         * doc/ack.texi: update
1622         
1623         * arlad/fcache.c (fcachecmp): use VenusFid_cmp when comparing fids
1624         
1625         * arlad/cmcb.h (cmcb_reinit): new interface
1626         
1627         * arlad/cmcb.c (cmcb_reinit): new interface that get you a new
1628         afsUUID
1629         (cmcb_init): use cmcb_reinit
1630         (RXAFSCB_CallBack): use poller_host2cell
1632 2002-05-18  Love  <lha@stacken.kth.se>
1634         * arlad/poller.c (poller): don't talk to !conn_alive hosts, assume
1635         they are dead
1637         * arlad/arla.conf.5: added dynroot
1638         * conf/arla.conf: add dynroot
1639         
1640 2002-05-17  Love  <lha@stacken.kth.se>
1642         * lib/ko/ko_locl.h: added <limits.h>, needed for standards
1643         complient platforms :)
1645         * arlad/messages.c (viocvenuslog): print cell status
1646         
1647         * lib/ko/kocell.c: rename cell_info to cell_status, like other
1648         modules
1649         * lib/ko/ko.h: rename cell_info to cell_status, like other modules
1650         
1651         * arlad/messages.c (xfs_message_getdata): use message_get_data
1652         when perfetching
1653         
1654 2002-05-17  Harald Barth  <haba@pdc.kth.se>
1656         * arlad/messages.c (xfs_message_getdata): Fetch offset as 
1657         requested from the read instead of taking a random value 
1658         and bracketing it with prefetchsize and filesize.
1660 2002-05-17  Love  <lha@stacken.kth.se>
1662         * appl/lib/arlalib.c (arlalib_get_viceid_servers): make sure res
1663         is inited
1665         * lib/ko/kocell.c (dns_lookup_cell): init lowest_ttl to INT_MAX
1666         and lets catch it in the end of the function.
1667         
1668         * lib/ko/kocell.c (cell_info): print all cell info
1669         
1670         * lib/ko/ko.h: add cell_info()
1671         
1672         * doc/pioctl.texi: add types of data for
1673         STATISTICS_OPCODE_GETENTRY
1675         * appl/fs/fs_statistics.c (stat_types): order types
1676         
1677         * appl/fs/fs.1: getstatistics docu
1678         
1679         * appl/fs/fs_statistics.c: enable stats on fetch status, and while
1680         i'm here, have a table of name and value to have one place where
1681         they exist
1683         * arlad/fcache.c (write_attr): store stats on storestatus
1684         
1685         * include/kafs.h: add STATISTICS_REQTYPE_STORESTATUS
1686         
1687 2002-05-17  Hans Insulander  <hin@stacken.kth.se>
1689         * **/*: diffrent -> different
1691 2002-05-16  Jimmy Engelbrecht  <jimmy@stacken.kth.se>
1693         * appl/fs/fs_statistics.c: statisticscode does now care about writes
1694         * arlad/fcache.c: statisticscode does now care about writes
1695         * include/kafs.h: statisticscode does now care about writes
1696         
1697 2002-05-16  Love  <lha@stacken.kth.se>
1699         * arlad/messages.c (message_get_data): pass in wanted_length so we
1700         can use the function for files that we don't want to fetch the
1701         whole file.
1702         
1703 2002-05-16  Hans Insulander  <hin@stacken.kth.se>
1705         * **/*.[0-9]: Lots of manpage nitpicking. More to come the next
1706         time i'm bored...
1708 2002-05-16  Love  <lha@stacken.kth.se>
1710         * xfs/bsd/xfs_node-bsd.c (free_all_xfs_nodes): FreeBSD and OpenBSD
1711         uses diffrent semantics, FreeBSD have does vrele and OpenBSD does
1712         vgone.
1714         * xfs/bsd/xfs_wrap-bsd.c: print less cryptic message when loading
1715         kernel module, also print out arla and xfs protocol version. From
1716         idea of Lex Wennmacher <wennmach@netbsd.org>
1717         
1718         * xfs/bsd/xfs_vnodeops-netbsd.c (xfs_netbsd_{read,write}): return
1719         EISDIR for VDIR, return EFBIG for negative offsets, update
1720         read/write creds
1722         * arlad/messages.c (possibly_have_network): new function, return
1723         non zero if there possibly is network connectivity
1724         (viocconnect): when going to disconnectivity mode, check for if there
1725         is network with possibly_have_network() before giving up callbacks
1726         
1727         * arlad/volcache.c (volcache_getby{name,id}): if the volume
1728         changed (stablep == FALSE), then remove all markings since they
1729         will not be correct now
1731         * arlad/fcache.h: remove fs_server_context.conns[].status, it
1732         should never have been there and its wasn't used either.
1733         
1734         * arlad/poller.[ch]: new file
1736         * arlad/Makefile.in: common_SRCS,common_OBJS += poller.[co]
1737         
1738         * arlad/arla.c (arla_init): init poller
1739         
1740         * arlad/arla_local.h: move up hash.h, add heap.h and poller.h
1741         
1742         * arlad/volcache.c (volcache_timeout): volcache entry timeout
1743         (recycle_entry): clear status
1744         (volcache_process_marks): process mark on the connection
1745         (volume_uptodatep): volume not uptodate of the volume is too old
1746         (get_info_common): set timeout time
1747         (get_info_loop): change signature to allow passing in a nvldbentry to
1748         be update instead of e->entry.
1749         (get_info_byid): change signature to fit get_info_loop
1750         (get_info_byname): change signature to fit get_info_loop, wake up any
1751         waiters when done.
1752         (volcache_getbyname): instead of passing in a VolCacheEntry, use a
1753         nvldbentry when comparing the entry with the data to determin if
1754         its stable.
1755         (volcache_getbyid): ditto
1756         (volume_downp): test if it was a volume error
1757         (volcache_mark_down): mark the site down appropriately
1758         (volcache_reliablep_el): return true if the site is a good one
1759         (volcache_reliable_el): set that the site is a good one
1760         (volcache_reliablep): rename from volcache_reliable
1761         (volume_make_uptodate): changed signature of get_info_byname
1763         * arlad/volcache.h (volcacheentry): add timeout and status entry,
1764         remove last_fetch add volume server/partion fags
1765         (volume_downp): new function
1766         (void volcache_mark_down): ditto
1767         (void volcache_process_marks): ditto
1768         (volcache_reliablep_el): ditto
1769         (volcache_reliable_el): ditto
1770         (volcache_reliablep): old volcache_reliable
1771         (VOLCACHE_TIMEOUT): timeout
1773         * arlad/messages.c: s/volcache_reliable/volcache_reliablep/
1774         (setrxkcrypt): only clear rxkad conns
1776         * arlad/fcache.c (collectstats_stop): simplify and use data that
1777         now in connection and volcache entry (passes in)
1778         (fs_probe): export
1779         (fcache_poller_unref): new function
1780         (fcache_poller_reref): new function
1781         (throw_entry): remove ref to poller
1782         (create_nodes): init entry->poll to NULL
1783         (invalidator): remove ref to poller
1784         (fs_rtt_cmp): new function, compare to pointers to two fs_server_entry.
1785         (find_partition): find partition of the context that we used
1786         (find_next_fs): rework, now an error is passed in and the old
1787         entry/site is marked dead if there was such an error, if there was
1788         no error with last volume, mark it good. Modify to changes of the
1789         fs_server_context.
1790         (free_fs_server_context): Modify to changes of the fs_server_context,
1791         also call volcache_process_marks().
1792         (find_first_fs): insert a middle case, between the server is bad
1793         (INT_MAX) and the server it up (smoth rtt) there is volume bad
1794         (INT_MAX / 2). Modify to changes of the fs_server_context.
1795         (stale): remove ref to poller
1796         (update_entry): pass in a conn instead of a ip-address, it is to make
1797         it eaiser to find the real identity of the server we talked to.
1798         ref the poller if we have connection, and unref the poller in
1799         there was none (disconnected)
1800         (update_attr_entry): pass in a conn instead of a ip-address.
1801         (resolve_mp): fetch the whole symlink
1802         (*): deal with that update_entry, update_attr_entry, find_next_fs
1803         use conn_ref the make it possible to send conn's around.
1804         
1805         * arlad/fcache.h (FCacheEntry): add poller pointer
1806         (fs_server_context): add status and entry number for a conns[N]
1807         (fs_probe): export function
1809         * arlad/conn.[ch] (conn_ref): new function
1810         
1811         * arlad/dump_state.c (prefix): use ARLACACHEDIR
1812         (print_fcache_entry): print the cache node index
1814 2002-05-12  Love  <lha@stacken.kth.se>
1816         * arlad/cmcb.c: update (c)
1817         
1818         * appl/mpp/mpp.c (main): use growing hashtable
1819         
1820         * util/hash.[ch]: growing hashtable support, api compatible
1822         * util/arlamath.[ch],Makefile.in,util-tester.c: prime-number testing
1823         functions, by mattiasa@e.kth.se, testing by me
1825         * arlad/fcache.c (new_fetched_length): common code that caculates
1826         the new fetched length
1827         (*): use new_fetched_length
1829 2002-05-10  Love  <lha@stacken.kth.se>
1831         * rx/rx_rdwr.c: turn a #ifndef to a #ifdef (like on the other
1832         places ADAPT_WINDOW is used) make the code somewhat easier to
1833         follow
1835         * lib/ko/koerror.c: move #includes to avoid `MAXKTCTICKETLEN'
1836         redefined problem
1838 2002-05-07  Love  <lha@stacken.kth.se>
1840         * appl/mpp/mpp.c (macro_define): make it handle value == NULL
1841         (process_define): when there is no value, pass in NULL
1843         * tests/*: make !-fast test less verbose when running in -fast mode
1845         * lib/cmd/Makefile.in: use DESTDIR when installing man page
1846         
1847         * arlad/fcache.c (trucate_file): mirror code from write_data, now
1848         files don't get full of NULL when using program that ftruncate()
1849         files before they close() them (like rcs and install)
1850         
1851         * doc/themis.texi: add common things to exclude and default
1852         exclude items
1854         * arlad/fcache.c: (write_data): If the hole file is fetched as we
1855         last saw it, lets write down the whole file to the fileserver. If
1856         the file is shrinking, make sure we don't cache non-existing
1857         bytes.
1858         
1859         This fixes problems with previous commit that I should have
1860         noticed
1862         * tests/part-files: make test smaller/faster, add some comments
1863         
1864         * tests/run-tests.in (ARLA_TESTS): add part-files
1865         
1866         * tests/part-files: test if files are written/read correctly when
1867         they are partly modified
1869         * arlad/fcache.c (write_data): only write the content of the file
1870         we have fetched
1872 2002-05-06  Love  <lha@stacken.kth.se>
1874         * arlad/arla.c (conf_params): trim it to make newer gcc happy
1875         
1876         * xfs/linux/xfs_inodeops.c (xfs_release_file): only look at the
1877         I_DIRTY_DATASYNC|I_DIRTY_PAGES flags, not at all flags I_DIRTY
1878         since that is also set for meta data changes (atime modifcation)
1879         
1880         * util/util-tester.c (test_hash): hashtab's are freed by
1881         hashtabrelease()
1883         * appl/mpp/mpp.c: add macro undefine (-U and %undef)
1884         
1885         * arlad/arla.conf.5, conf/arla.conf: document sysname
1886         
1887         * arlad/fcache.[ch],adir.c: We need to keep track of how much of
1888         file is cached so when the truncate is done we wont use and NUL
1889         after the cache file
1891         XXX optimization: if we have the whole file and we are truncating
1892         to a larger will, we already have the data, so we should update
1893         fetched_length to the new size.
1895 2002-05-05  Love  <lha@stacken.kth.se>
1897         * configure.in (AC_OUTPUT): added appl/mpp/Makefile
1898         
1899         * appl/Makefile.in (SUBDIRS): add mpp
1900         
1901         * appl/mpp/mpp.1: manpage
1902         
1903         * appl/mpp/mpp.c: add command line parsing, fix space (' ')
1904         problems
1906 2002-04-30  Love  <lha@stacken.kth.se>
1908         * appl/mpp: add a almost compatible mpp processor, memory hungry
1909         and with a bad attitude toward space
1911         * arlad/fcache.c (collectstats_getentry): replace some 32 that
1912         really was HISTOGRAM_SLOTS
1914         * arlad/messages.c (aioc_statistics): use constants, rewrite if
1915         ().. to switch()
1917 2002-04-29  Love  <lha@stacken.kth.se>
1919         * arlad/arla.c (read_conffile): enable parser to parse strings too
1920         (*): keep up with above change
1921         init varibles
1922         
1923         * arlad/arla-cli.c: renamed the holder of the sysname passed in
1924         vid the argv (and getarg()) to argv_sysname, arla_init changed
1925         signature
1927         * arlad/arlad.c: renamed the holder of the sysname passed in vid
1928         the argv (and getarg()) to argv_sysname, arla_init changed
1929         signature
1931         * arlad/arla_local.h: arla_init changed signature, renamed the
1932         holder of the sysname passed in vid the argv (and getarg()) to
1933         argv_sysname
1935         * arlad/messages.c (vioc_afs_sysname): rename the variable that
1936         hold the temporary sysname
1938         * arlad/fcache.c (fprioritylevel): set default level here
1939         
1940         * appl/vos/vos_examine.c (print_extended_stats): when in extented
1941         mode, print out filecount too
1942         (print_volume): change where \n are added
1944         * doc/pioctl.texi: arla pioctl
1945         
1946         * configure.in: AM_CONDITIONAL's that roken will check (and
1947         disable if necessary) before roken fragment
1948         
1949         * configure.in: reverse the libtool vs automake stuff
1950         
1951         * HACKING: depend on libtool too
1952         
1953         * appl/cbdebug/Makefile.in: sl depend on readline
1954         
1955         * configure.in: move down the kerberos tests to after we check for
1956         libroken
1958         * cf/check-roken.m4: when using an external roken, use -L$dir
1959         -lroken, its not sure that there exists a .a file
1960         
1961         * cf/check-kerberos.m4: check for system kerberos 5 headers first,
1962         this mirrors the pattern of searching for a lib
1964 2002-04-29  Mattias Amnefelt  <mattiasa@e.kth.se>
1966         * xfs/bsd/xfs_vnodeops-osf.c: (1.23.2.4 -> 1.23.2.5) (xfs_fsync) do
1967         ubc_flush_dirty even if !(fflags & FSYNC)
1968         * xfs/bsd/xfs_vnodeops-osf.c: (xfs_fsync): Flush dirty ubc buffers
1970 2002-04-29  Love  <lha@stacken.kth.se>
1972         * ydr/output.c (encode_varray): varray's w/o limit is of size 0,
1973         not -1
1975         * arlad/messages.c: sprinkel some all_powerful_p()
1976         
1977 2002-04-28  Love  <lha@stacken.kth.se>
1979         * rx/{rx_dumptrace.c,rx_trace.[ch]}: these are covered by IBM (c)
1980         
1981         * rx/Makefile.in: remove hack to build rx_trace
1982         
1983         * rx/rx_trace.h: add stuff that is shared between rx_trace.c and
1984         rx_dumptrace.c
1986         * rx/rx_trace.c: remove stuff that is shared with rx_dumptrace.c
1987         
1988         * rx/rx_dumptrace.c: debug program part of rx_trace.c
1989         
1990         * rx/rx_knet.c: remove, not part of arla rx but rather openafs rx
1992         * rx/rx_user.c (rxi_GetUDPSocket,rxi_Listener): keep track of all
1993         sockets we open rxi_Listener can only probe those sockets that are
1994         are rx's instead of iterating over all sockets 0 ->
1995         rx_maxSocketNumber. This matters for win32 enviroment where
1996         sockets typically are large numbers.
1997         
1998         (rxi_Listener): always use IOMGR_Select instead of doing select in
1999         case we are doing a poll since that is was IOMGR select will do
2000         for us if we send in a "poll-timeval" (sec = usec = 0). This fixes
2001         the problem found by Tomas Olsson that select() (the system
2002         version) might have a diffrent calling convention then
2003         IOMGR_Select(), lets say PASCAL. Casting system() and
2004         IOMGR_Select() to the same function pointer will have have fatal
2005         problems.
2006         
2007         Also when here, clean up the code some (like use NULL, etc)
2009 2002-04-27  Love  <lha@stacken.kth.se>
2011         * TODO: some fixes, some more comments
2012         
2013         * HACKING: update what version you need
2015         * xfs/bsd/**[ch]: split xfs_node->cred into rd_cred and wr_cred
2016         and use appropriately
2018         * acconfig.h: remove, now autoconf/autoheader does this
2020         * configure.in: pacify autoconf 2.53
2021         
2022         use AC_HAVE_TYPES instead of AC_GROK_TYPES
2023         
2024         do libtool vs automake stuff
2025         
2026         * cf/kernel*: use patsubst
2028         * __extentions__.m4: __EXTENSIONS__ hack
2030         * cf/misc.m4: fool autoconf 2.53 by using \x40 instead of \100
2031         
2032         * xfs/bsd/bin/mount_xfs.c: start use setprogname()
2033         
2034         * arlad/messages.c: cred_list_pag changed signature
2035         
2036         * arlad/cred.h: cred_list_pag changed signature
2037         
2038         * arlad/cred.c: make the cred list be on the pair `cred,type' to
2039         make diffrence between CRED_KRB4 and CRED_NONE.
2040         
2041         (cred_free): ignore CRED_ROOT_CELL entries, they will be g/c when the
2042         last referrer releases it.
2043         
2044         also make code more consistent.
2045         
2046 2002-04-26  Love  <lha@stacken.kth.se>
2048         * include/kafs.h: allocate AIOC_PTSNAMETOID
2049         
2050         * rxdef/ka.xg: protect MAXKTCTICKETLEN
2051         
2052 2002-04-26  Magnus Ahltorp  <ahltorp@nada.kth.se>
2054         * configure.in: Added -traditional-cpp to CPPFLAGS on Darwin
2056         * Makefile.in: Added CPPFLAGS to ydr's CPP variable
2058 2002-04-26  Love  <lha@stacken.kth.se>
2060         * ydr/output.c (generate_hdr_enum): print out the enum too
2061         * lib/roken/roken.h: now generated
2063         * ydr/output.c: fix some more don't iterate on empty lists
2064         
2065         * ydr/output.c: structs w/o members are 0 sized.
2067         * appl/cbdebug/cbdebug.1: new manpage
2068         
2069         * **/*.c: use setprogname() and getprogname()
2071         * configure.in: check for <glob.h> and <vis.h> and so
2072         AM_CONDITIONAL stuff
2074         * cf/check-kerberos.m4: always run AM_CONDITIONAL(KRB{4,5})
2076         * xfs/linux/xfs_dev.c: indent
2077         
2078 2002-04-25  Love  <lha@stacken.kth.se>
2080         * appl/cbdebug/cbdebug.h,Makefile.in: added real parsing and broke
2081         out whoareyou code.
2082         
2083         * appl/cbdebug/Makefile: some fixes
2084         
2085         * appl/cbdebug/whoareyou.c: some fixes
2086         
2087         * arlad/cmcb.c: some fixes, 
2088         (init_address): don't fail if there isn't any address
2090         * appl/cbdebug/cbdebug.c: move out all useful things, add sl
2091         command parsing
2093         * appl/cbdebug/whoareyou.c (print_addr): move here
2094         (whoareyou): add agetarg command parsing
2096         * arlad/cmcb.c (init_address): break out the initialization
2097         interfaceAddr
2098         (RXAFSCB_InitCallBackState2): use init_address()
2099         (RXAFSCB_WhoAreYou): use init_address()
2101 2002-04-24  Love  <lha@stacken.kth.se>
2103         * NEWS: added UUID
2104         
2105         * appl/Makefile.in (SUBDIRS): add cbdebug
2106         
2107         * include/Makefile.in: add ifaddrs.h and rtbl.h
2108         
2109         * configure.in: check for <ifaddrs.h> and provide automake glue
2110         add appl/cbdebug
2111         
2112         * lib/ko/afs_uuid.[ch]: const poison compare functions
2114         * arlad/arla_local.h: added <ifaddrs.h>
2115         
2116         * arlad/cmcb.c: implement RXAFSCB_ProbeUUID, RXAFSCB_WhoAreYou,
2117         RXAFSCB_InitCallBackState2, and, RXAFSCB_InitCallBackState3
2118         
2119         InitCallBackState{2,3} functions are implemented by simply calling
2120         the common part of InitCallBackState
2121         
2122         Move the InitCallBackState functions next to each other.
2123         
2124         XXX Need to fix the mtu detection and netmask-less ifa's
2125         * appl/cbdebug/cbdebug.c: add <afs_uuid.h>
2126         
2127         * appl/cbdebug: a simple callback manager debug program
2128         
2129         * include/Makefile.in: added afs_uuid.h
2130         
2131         * arlad/arla_local.h: "afs_uuid.h"
2132         
2133         * lib/ko/Makefile.in: LIB_{SOURCES,OBJECTS} += afs_uuid.[ch]
2134         
2135         * lib/ko/afs_uuid.c: fix comment about MS GUID
2136         
2137         * lib/ko/afs_uuid.c: protect the headers <net/if.h>,
2138         <net/if_dl.h>, and <net/if_types.h>
2140         * configure.in: check after <net/if.h>, <net/if_dl.h>, and
2141         <net/if_types.h>
2143         * lib/ko/Makefile.in: sort LIB_OBJECTS and LIB_SOURCES
2144         
2145         * have-struct-field.m4: fix another autoconf 2.52 fallout
2146         
2147         * cf/have-linux-kernel-types.m4: make it work with autoconf 2.52
2149         * cf/have-linux-kernel-type.m4: make it work with autoconf 2.52's
2150         AC_MSG_RESULT
2152         * HACKING: update what version you need, enable users to pass in
2153         ACLOCAL_EXTRA_ARGS as enviroment variable
2154         
2155 2002-04-23  Love  <lha@stacken.kth.se>
2157         * **/Makefile.in: use libtool
2158         
2159         * arlad/arla-cli.c,arlad.c,dump_state.c: use <version.h> again
2161         * configure.in, acconfig.h, missing:
2162         update to 2.52, use libtool and update to
2164         * appl/afsmgr/Makefile.in: remove udebug, its not built here
2165         
2166         * lib/roken/*: merge heimdal 2002-04-23 code
2167         
2168         * cf/*: merge heimdal 2002-04-22 code
2170 2002-04-23  Magnus Ahltorp  <ahltorp@nada.kth.se>
2172         * appl/mac/arlacmm/permwin.c:
2173         Add beep when apply fails. Make Apply button inactive when not needed
2175         * appl/mac/arlacmm/arlacmm.h: Added aclcopy to ArlaCMMType
2177         * appl/mac/arlacmm/dialog.nib/objects.xib,
2178         appl/mac/arlacmm/dialog.nib/info.nib: adduser: make ok button
2179         default
2181         * appl/mac/arlacmm/permwin.c (addAclItem): added duplicate check
2183         * appl/mac/arlacmm/arlacmm.h: Added cfstring_to_utf8 and verifyname
2185         * appl/mac/arlacmm/util.c: Added cfstring_to_utf8
2187         * appl/mac/arlacmm/adduserwin.c, appl/mac/arlacmm/permwin.c,
2188         appl/mac/arlacmm/arlacmm.h: Add user
2190         * appl/mac/arlacmm/permwin.c: Added remove command
2192 2002-04-23  Love  <lha@stacken.kth.se>
2194         * arlad/{fcache,messages}.c,arla_local.h:
2195         hack to disable kernelp asserts, the bug/feature of xfs should
2196         really be fixed but I don't have a clue to how to fix it now
2198 2002-04-23  Magnus Ahltorp  <ahltorp@nada.kth.se>
2200         * appl/mac/arlacmm/main.c, appl/mac/arlacmm/arlacmm.h,
2201         appl/mac/arlacmm/pioctl.c: Only show permissions in the contextual
2202         menu if it is a directory
2204         * appl/mac/arlacmm/dialog.nib/objects.xib,
2205         appl/mac/arlacmm/dialog.nib/info.nib, appl/mac/arlacmm/pioctl.c,
2206         appl/mac/arlacmm/main.c, appl/mac/arlacmm/permwin.c,
2207         appl/mac/arlacmm/arlacmm.h, appl/mac/arlacmm/infowin.c,
2208         appl/mac/arlacmm/Makefile.in, appl/mac/arlacmm/adduserwin.c: Added
2209         info window and fix CFRelease bug
2211         * appl/mac/arlacmm/permwin.c: Added an event handler for window
2212         closing
2214         * appl/mac/arlacmm/permwin.c (applyAcl): Added
2216         * appl/mac/arlacmm/pioctl.c: Added setacl
2218         * appl/mac/arlacmm/arlacmm.h: Added path and setacl
2220         * appl/mac/arlacmm/Makefile.in: Use install instead of tar
2222         * appl/mac/arlacmm/permwin.c (changeAclItem): added
2223         
2224         * appl/mac/arlacmm/adduserwin.c (fillAddUserGroupsList): group
2225         array is immutable
2226         
2227         * appl/mac/arlacmm/arlacmm.h: acl and group arrays are mutable
2229 2002-04-21  Magnus Ahltorp  <ahltorp@nada.kth.se>
2231         * fs_getprio.c (getprio_cmd): correct arg usage
2233         * fs.c (setprio_cmd): correct arg usage
2234         (getmaxprio_cmd): correct arg usage
2236         * conn.c (pinger): ignore hosts in disconnected mode
2238         * fcache.c (fcache_reobtain_callbacks): use cred
2239         (fcache_get): check if volume is cached before creating entry
2240         (fcache_verify_attr): get all rights when disconnected
2242         * fcache.h: fcache_reobtain_callbacks takes cred
2244         * messages.c:
2245         Always set XFS_ATTR_R in fcacheentry before installing attr
2246         (viocconnect): call fcache_reobtain_callbacks with creds
2248         * volcache.c (get_info_common): don't return -1
2249         (volcache_getbyname): return ENETDOWN if disconnected and volume
2250         isn't cached
2252 2002-04-21  Love  <lha@stacken.kth.se>
2254         * xfs/bsd/xfs_syscalls-common.c: do the XFS_NOT_LKM right for
2255         xfs_setgroups
2257         * xfs/bsd/xfs_syscalls-common.c: XFS_NOT_LKM: symbol that tells us
2258         that we are no an lkm/kld/...
2260         * xfs/bsd/xfs_wrap-bsd.c (freebsd): name the module arlaxfsdev
2261         instead of xfsdev
2263         * xfs/bsd/xfs_wrap-bsd.c: freebsd don't support LKM, remove ifdef
2264         
2265         * xfs/bsd/xfs_vfsops-freebsd.c (xfs_vget_freebsd): provide now
2266         that freebsd have 4 argument (extra argument, locking flags), and
2267         use it.
2269         * cf/check-kernel.m4: use to nm trick for freebsd5 too
2270         
2271         * xfs/bsd/xfs_syscalls-common.c: Create a xfs_crcopy that works
2272         around the problem that around freebsd version 500026, crcopy
2273         changed semantics.
2275         * xfs/bsd/xfs_common-bsd.c (xfs_suser): freebsd current have
2276         changed from struct proc * to struct thread * as argument to
2277         suser() in current
2279         * xfs/bsd/xfs/xfs_locl.h: move those things that depend on
2280         HAVE_FREEBSD_THREAD to after we define it
2282         * lib/ko/afs_uuid.c (afsUUID_from_string): implement
2283         
2284 2002-04-20  Love  <lha@stacken.kth.se>
2286         * lib/ko/afs_uuid.[ch]: ncs/dce/afs/guid generator
2288         * arlad/messages.c (gettok_func): new healper function to
2289         viocgettok()
2290         (viocgettok): use the new cred api to iterate over the creds
2291         this brings the cpu usage of arla down from 50-60% to 4% on my
2292         laptop (with 5 tokens) when doing:
2293         
2294            while :; do tokens >/dev/null ; done
2296         * arlad/cred.c: All creds in the same pag (xfs_cred_t) are now
2297         stored on a linked list to make it possible to iterate over all
2298         creds in the same pag fast.
2299         
2300         The head is inserted in the hash, use the magic cellid == -1 to
2301         mark a head.
2302         
2303         (list_pag_func): helper function, iterate over all creds in same pag
2304         (cred_list_pag): iterator function that lets user iterate over all
2305         cred in same pag
2306         (recycle_entry): if not root entry, remove it from the list
2307         (cred_free): assert its not a root entry
2308         (root_free): remove the entry from the pag-list and if the list is
2309         empty, free the root-head.
2310         (add_to_root_entry): add the entry to the root head, create the
2311         root head if it doesn't exist.
2312         
2313         
2314         * arlad/cred.h (CredCacheEntry): add the pag union
2315         (cred_list_pag): new function
2317         * util/list.c: implement listfree()
2318         
2319         * util/list.h: add listfree()
2320         
2321         * appl/kalog/kalog.c appl/lib/appl_locl.h appl/lib/ka-procs.c
2322         arlad/arla_local.h arlad/cred.h lib/ko/koerror.c
2323         milko/appl/perf/perf.c milko/bos/bos_locl.h milko/fs/fsrv_locl.h
2324         milko/lib/msecurity/msecurity.c milko/lib/msecurity/netinit.c
2325         milko/pts/pr.c milko/pts/ptserver.c milko/vldb/vldb_locl.h
2326         rxkad/rxkad_locl.h: if using openssl, include <openssl/des.h>
2327         instead of <des.h>, work for everything using openssl except Mac
2328         OS X, oh joy
2330 2002-04-18  Love  <lha@stacken.kth.se>
2332         * appl/fs/fs_statistics.c (getstatistics_cmd): host is not a type
2333         
2334 2002-04-17  Love  <lha@stacken.kth.se>
2336         * arlad/fcache.c (stale): only so throw_data if there is data
2337         (flags->datap)
2339         * arlad/fcache.c (stale): if its a directory, lets throw the data
2340         directly, this mirrors the behavior in the kernel
2341         
2342         * arlad/messages.c: change signature of getvolstat
2343         
2344         * arlad/fcache.c: change signature of getvolstat, now pass length
2345         of data, this make sure we know the length of the target string
2346         and can use it (and not the size of the pointer)
2347         
2348         * arlad/fcache.h: change signature of getvolstat
2349         
2350         * rxdef/cb.xg: %#include <fs.h>
2351         * rxdef/vldb.xg: %#include <fs.h>
2352         
2353         * rxdef/common.h: remove the definition of struct afsUUID and
2354         instead include "afsuuid.h"
2355         
2356         * rxdef/Makefile.in: make vldb and cb files depend on fs.h
2357         
2358         * rxdef/fs.xg: define AFSUUID_GENERATE
2359         
2360 2002-04-16  Love  <lha@stacken.kth.se>
2362         * rxdef/afsuuid.h: struct afsUUID;
2363         
2364         * arlad/dynroot.c: remove the local variable dynrootcell and start
2365         to use DYNROOT_CELLID
2367         * lib/ko/ko.h: export DYNROOT_CELLID
2368         
2369         * lib/ko/kocell.c (update_cell): dynroot cell is uptodate, this
2370         stops zillions of dns lookups
2372         * appl/vos/vos_listvldb.c: be compatible with transarc/openafs,
2373         its not ... Site %s, but %s Site
2375 2002-04-15  Love  <lha@stacken.kth.se>
2377         * ydr/output.c: do bounce checking of TVARRAY types
2378         s/bcopy/memcpy/
2379         
2380         * rx/rx.c (rx_NewConnection): if RXS_NewConnection fails, set its
2381         error to conn->error, not really right, but then the interface
2382         isn't that good
2383         (rx_NewService): when creating a new service call RXS_NewService()
2384         
2385         * rx/rx.h: define RXS_NewService and use appropriate element in
2386         rx_securityClass
2388         * Checking in lex.l, parse.y, sym.h, symbol.c, types.c, types.h:
2389         add support for __attribute__ on structs, specifically __nogenerate__
2391         * ydr/output.c: generate the max-size for definitions for limited
2392         dynamic types too
2394 2002-04-12  Love  <lha@stacken.kth.se>
2396         * appl/fs/fs.c (cmds): give "sp" to setserverprefs since
2397         setpriority isn't used (and never has been used), compat with
2398         openafs/transarc afs, ident
2400         * tests/blocks-new-file.c: make the file smaller (64K instead of
2401         1M), this makes the test fly by when running on a slow link
2402         
2403         * arlad/{messages.c,fcache.c,inter.c}:
2405         Change fcache_verify_data() to fcache_get_data() on users that
2406         will use the data later, now all callers don't need to first
2407         fcache_verify_attr() and then get ->wanted_length since
2408         fcache_get_data() will do that for them.
2410         Due to the signature diffrence of fcache_verify_data() and
2411         fcache_get_data() there is some prototype changes on other
2412         functions to deal with this.
2414         * arlad/messages.c (read_mount_point): update wanted_length so we
2415         don't fall over when doing a fs lsm on a (data) uncached entry
2416         
2417 2002-04-10  Johan Danielsson  <joda@pdc.kth.se>
2419         * conf/arla.conf: spelling
2420         
2421         * appl/fs/fs.c: add some more command aliases
2423 2002-04-10  Love  <lha@stacken.kth.se>
2425         * arlad/*.[ch]: multi-sysname implementation
2426         
2427         * arlad/.gdbinit: print out the thread index too in lwp_ps
2429         * arlad/messages.c (xfs_message_inactivenode): comment out the
2430         kernelp assert for now
2432         * xfs/linux/xfs_inodeops.c (xfs_mightwrite_p): new function that
2433         checks if a vma will write to disk
2434         (*): use xfs_mightwrite_p
2436 2002-04-09  Love  <lha@stacken.kth.se>
2438         * scripts/mingwin.sh: bootstrap arla with mingw
2439         
2440 2002-04-08  Love  <lha@stacken.kth.se>
2442         * xfs/include/xfs/xfs_messages.h,xfs/bsd/xfs_messages.c,
2443         xfs/bsd/xfs_vnodeops-netbsd.c: use temporary flag XFS_VMOPEN when
2444         the node is locked so installdata/attr wont touch the vnode,
2445         should stop useing genfs instead
2447         * arlad/arlad.c: update copyright
2448         
2449         * xfs/bsd/Makefile.in: generate function prototypes for the VOPS
2450         
2451         * xfs/bsd/xfs_node-bsd.c: init genfs node for netbsd
2452         
2453         * xfs/bsd/xfs_vfsops-netbsd.c: init the vnodeopv_desc depending on
2454         if we are using ubc or not, (xfs_mount_netbsd): init mnt_*_bshift
2455         for genfs
2456         
2457         * xfs/bsd/xfs_vnodeops-bsd.c: make all xfs vops global
2458         (xfs_pushdirty): make to work for netbsd UBC
2459         
2460         * xfs/bsd/xfs_vnodeops-common.c: (xfs_open_common): make it always
2461         store the cred, it will be needed
2462         (xfs_close_common): push dirty block in case of a VREG
2463         (xfs_uio_end_length): rename uio_end_length from export and optimize
2464         (*): use changed signature of xfs_uio_end_length
2465         
2466         * xfs/bsd/xfs/xfs_locl.h: move xfs_pushdirty() to later, include
2467         genfs stuff for netbsd ubc code, netbsd have removed UVM define,
2468         provide a macro for XFS_VOP_DEF that creates a prototype for all VOPs
2470         * xfs/bsd/xfs_vnodeops-netbsd.c: netbsd UBC code
2472         * xfs/bsd/xfs/xfs_node.h: include genfs for netbsd ubc
2473         * xfs/bsd/xfs/xfs_vnodeops.h: add prototype for xfs_uio_end_length
2475 2002-04-02  Love  <lha@stacken.kth.se>
2477         * appl/amon/Makefile.in: set LDFLAGS to @LDFLAGS@ so we use it
2478         
2479         * xfs/linux/xfs_inodeops.c: change all occasions of VM_MAYWRITE to
2480         VM_WRITE since linux maps binaries on i383 with
2481         VM_MAPWRITE. VM_MAY flags are "maximum rights" for mprotect as I
2482         understands it.
2484 2002-03-22  Love  <lha@stacken.kth.se>
2486         * configure.in: openbsd might need CPPFLAGS too for kernel flags
2487         test in the future, give to them
2488         
2489 2002-03-19  Tomas Olsson  <tol@stacken.kth.se>
2491         * xfs/winnt/bin/wakeup.c: added
2492         * xfs/winnt/bin/makefile: add wakeup, clean a bit
2493         * xfs/winnt/bin/xfs-helper.c: make it work
2494         * xfs/winnt/{inc,src}/*: read (sort of)
2495         * lib/bufdir/fdir.c (first_slotp): add & use
2496         * lib/bufdir/afs_dir.h: added AFSDIR_FIRST
2498 2002-03-14  Love  <lha@stacken.kth.se>
2500         * xfs/bsd/xfs_vnodeops-common.c (xfs_fsync_common): replace
2501         ubc_pushdirty() with xfs_pushdirty()
2503         * xfs/bsd/xfs_vnodeops-bsd.c (xfs_pushdirty): flush dirty blocks
2504         to disk
2506         * xfs/bsd/xfs_vnodeops-bsd.c (xfs_putpages): netbsd-ubc case, only
2507         mark VREG files dirty if they are
2509 2002-03-12  Love  <lha@stacken.kth.se>
2511         * xfs/bsd/xfs_vnodeops-bsd.c (xfs_putpages): only mark node as
2512         dirty if there are dirty pages in the cache node in the
2513         netbsd-current case.
2514         
2515         XXX needs to be fixed a better way
2517         * tests/asu.c: If the test is ran w/o pag, we can't switch user
2518         since that will mean we will loose credentials.
2519         
2520 2002-03-11  Love  <lha@stacken.kth.se>
2522         * xfs/bsd/xfs_vnodeops-bsd.c (xfs_putpages): When a directory node
2523         is reclaimed because of a xfs_message_invalidnode, vinvalbuf is
2524         called which triggers a VOP_PUTPAGES, but then there is no data
2525         the underlaing VOP_PUTPAGES can't be called.
2526         
2527         So, if you want to avoid getting (bogus) tar errors (when run as
2528         root) with creds, you better run in a pag.
2529         
2530 2002-03-08  Love  <lha@stacken.kth.se>
2532         * arlad/arla-cli.c: output formating error, from kolya@mit.edu
2533         * appl/fs/fs_diskfree.c: formating errors, from kolya@mit.edu
2535 2002-03-07  Love  <lha@stacken.kth.se>
2537         * arlad/fcache.c: Make (cm_f)truncate(_file) take a storestatus
2538         argument to avoid a race with changing permissions, modify the
2539         filesize after the rpc completes with nonerror. Bug noticed by
2540         kolya@mit.edu.
2541         * arlad/fcache.h: Ditto
2542         * arlad/inter.c: Ditto
2543         * arlad/inter.h: Ditto
2544         * arlad/messages.c: Ditto
2545         * arlad/reconnect.c: Ditto
2547 2002-03-06  Tomas Olsson  <tol@stacken.kth.se>
2549         * arlad/messages.c (xfs_message_create): use fcache_conv_file_name
2550         * arlad/inter.c (cm_open): use fcache_conv_file_name
2551         * arlad/arla-cli.c (print_dir{,long}): return int
2552         * arlad/fcache.c (fcache_conv_file_name): added
2553         (fcache_fh{open,get}): adjust for cygwin
2554         (bulkstat_help_func): return int
2556         * arlad/fcache.h: added fcache_conv_file_name()
2557         * arlad/adir.h (adir_readdir): use new fdir_readdir_func
2558         * arlad/adir.c (adir_readdir): call fdir_readdir the new way
2559         * arlad/kernel.c (tcp_open): use the right address, return socket
2560         (tcp_write): error checking
2562         * arlad/unknown-subr.c: adjust for cygwin/nt
2563         * include/Makefile.in: added fids.h
2564         * lib/ko/kocell.c (fetch_host,dns_lookup_cell): don't get RR if we
2565         don't know how
2566         * lib/bufdir/fbuf.h: ifdef for kernel
2567         * lib/bufdir/fdir.h (fdir_readdir_func): return int (time to stop?)
2568         (fdir_readdir): accept offset
2570         * lib/bufdir/fdir.c (fdir_readdir): accept & maintain offset make
2571         kernel safe
2572         * arla/lib/bufdir/fids.h added, contains AFSfid & VenusFid
2573         
2574 2002-03-04  Jimmy Engelbrecht  <jimmy@heliga-birgitta.stacken.kth.se>
2576         * arlad/messages.c, include/kafs.h, appl/lib/fs_lib.c:
2577         Merged in VIOC to AIOC interface change for [VA]IOC_STATISTICS from
2578         0.35-branch
2580 2002-03-04  Mattias Amnefelt  <mattiasa@heliga-birgitta.stacken.kth.se>
2582         * arla_local.h: rx/rxgencon.h is included in rx.h
2584 2002-03-04  Mattias Amnefelt  <mattiasa@e.kth.se>
2586         * xfs/linux/xfs/xfs_locl.h: made xfs_dcount() arg const
2587         * arlad/arla_local.h: rx/rxgencon.h is included in rx.h
2589 2002-03-02  Love  <lha@stacken.kth.se>
2591         * ydr/lex.l: handle afs_int32 and afs_uint32
2593 2002-02-27  Love  <lha@stacken.kth.se>
2595         * conf/CellServDB: add dementia.org and grand.central.org
2597         * util/mmaptime{,_test}.c: make it work when there is not working mmap
2599         * rx/Makefile.in: don't link rxdebug or rx_trace with libcmd since
2600         it doesn't use it
2602         * configure.in: check for winsock.h, add case for mingw
2603         
2604         * appl/lib/arlalib.c: (key_to_key): remove unused function,
2605         (arlalib_get_cred_krb): kill some const warnings by coping the
2606         string
2607         
2608         * lib/cmd/Makefile.in: don't install testc_1_MAN
2610 2002-02-25  Love  <lha@stacken.kth.se>
2612         * Release 0.35.7, see the branch for relevant patches
2614         * scripts/run-tests.sh: release testing
2615         * scripts/extract-result.sh: extract test info from run-tests
2616         * scripts/build-arla.sh: release build test script
2617         
2618 2002-02-24  Love  <lha@stacken.kth.se>
2620         * tests/fhbench.c: 1.6->1.6.2.1: include timevalsub and rename it
2621         to tvsub
2623         * xfs/linux/xfs_{common,message}.c: (print_aliases): print out if
2624         the name is on (name)hash or not
2625         (users of ->d_count): use helper function xfs_dcount
2627 2002-02-24  Mattias Amnefelt  <mattiasa@e.kth.se>
2629         * tools/gnats/Makefile.in: install into DESTDIR
2631 2002-02-18  Magnus Ahltorp  <ahltorp@nada.kth.se>
2633         * doc/themis.texi: Document the M directive and the P flag.
2635 2002-02-08  Love  <lha@stacken.kth.se>
2637         * xfs/linux/xfs_inodeops.c (xfs_file_mmap): pass in the xfs-inode
2638         to data_valid instead of the cache-node
2640 2002-02-07  Love  <lha@stacken.kth.se>
2642         * All files:
2643         
2644         s/u_int17_t/uint17_t/
2645         s/libutil.a/libarlautil.a/
2646         remove things from arla's libroken that doesn't belong there
2647          (that is, it doesn't exists in other-libroken), and move
2648          then to arlautil
2649         make compile on netbsd-current (CPPFLAGS i needed, more <sys/time.h>)
2650         remove things that isn't needed in <xfs/xfs_message.h>
2651          to operating system depended headers/arlad headers
2652          this is to make it easier to use code in kernel
2653         
2654        * configure.in:  how the roken thingy work now, you have
2655         to specify --with-roken if there you are going to link agaist a
2656         roken in the kerberos test. This is due to that we now link agaist
2657         the .a lib directly.
2659 2002-02-06  Love  <lha@stacken.kth.se>
2661         * xfs/bsd/xfs_syscalls-common.c (remote_pioctl): not that it is
2662         used, set the message size in the message header to unconfuse
2663         readers
2665         * xfs/linux/xfs_dev.c (free_node): create yet another free
2666         function, this one does consistency checks and replaces
2667         xfs_free(xn, XFS_MEM_XNODE)
2668         (xfs_queue_inactive): if the channel is closed, just free the node
2669         (xfs_process_inactive_queue): use free_node()
2670         (xfs_empty_inactive_queue): use free_node()
2672         * xfs/linux/xfs_syscalls.c (xfs_fh_to_dentry): linux-2.4: after a
2673         get_super, we need to drop_super(), w/o this, the we will fail to
2674         unmount the super block of the cache-filesystem.
2675         
2676 2002-02-04  Love  <lha@stacken.kth.se>
2678         * ydr/*.[chly]: rename Tfoo symbols to YDR_Tfoo to avoid clashes
2679         with toolchains with TCHAR
2681 2002-02-01  Magnus Ahltorp  <ahltorp@nada.kth.se>
2683         * appl/mac/Arla_Configuration/ReadCells.m: Added static on local
2684         functions
2685         * appl/mac/Arla_Configuration/Makefile.in: Use install instead of
2686         tar
2687         * appl/mac/Arla_Configuration/DataSource.m: Added static on local
2688         functions
2689         (checkdaemonpid): give -p to ps
2691 2002-02-01  Love  <lha@stacken.kth.se>
2693         * cf/check-roken.m4: 1.1->1.1.2.1: Reference libroken directly
2694         instead of with -l
2696         * lwp/Makefile.in: 1.58->1.58.2.1: Remove superfluous -lroken
2697         
2698         * xfs/linux: dual license xfs for linux under bsd/gpl, update
2699         copyright years. See xfs/linux/license for more detailed
2700         information.
2701         
2702         * conf/CellServDB (theory.cornell.edu): removed, from Ruth
2703         Mitchell <mitchell@tc.cornell.edu> on info-afs@transarc.com
2704         
2705         * xfs/linux/xfs_dev.c (xfs_process_inactive_queue): make sure we
2706         don't add node twice if we race with someone to
2707         xfs_queue_inactive()
2709         * xfs/linux/xfs_message.c: minimize diff to 0.35-branch
2710         
2711 2002-01-31  Love  <lha@stacken.kth.se>
2713         * arlad/arlad.c (arla_start): after chroot(), do a chdir("/")
2714         
2715         * cf/linux-func-init-mutex.m4: make test work when init_MUTEX is a
2716         macro (late linux-2.2)
2718 2002-01-27  Love  <lha@stacken.kth.se>
2720         * scripts/arla-release.sh: spelling
2721         
2722 2002-01-26  Love  <lha@stacken.kth.se>
2724         * conf/CellServDB: added su.se
2725         
2726         * tests/run-tests.in: add new option -fail that make test-run stop
2727         after the first failure
2729         * xfs/linux/xfs_inodeops.c: (xfs_d_delete): use
2730         xfs_queue_inactive() again since it correct
2732         * xfs/linux/xfs_message.c (xfs_invalid_xnode): use
2733         xfs_queue_inactive() again since it correct
2735         * xfs/linux/xfs_dev.c (xfs_queue_inactive): make sure we don't
2736         enter an node twice on the inactive_list
2737         (xfs_process_inactive_queue): use list_del_init so the inactive_list
2738         have known state
2739         (xfs_empty_inactive_queue): don't free nodes that have shouldn't
2740         be freed
2742         * xfs/linux/xfs_vfsops.c (print_nodes): use new node_list list
2743         macro and protect
2744         (xfs_read_super): init the node_list and node_sem fields
2746         * xfs/linux/xfs_node.c (xfs_iget): move the null address space ops
2747         here, and update the code
2748         (xfs_iget): use new node_list list macro and protect
2749         (free_xfs_node): ditto
2750         (free_all_xfs_nodes): ditto
2751         (xfs_node_find): ditto
2753         * xfs/linux/xfs_message.c (xfs_invalid_xnode): use
2754         xfs_message_send to notify userland that node is inactive,
2755         xfs_queue_inactive() have unwanted side-effects
2756         (xfs_message_gc_nodes): remove the case where we gc all nodes. its not
2757         used for arlad, and locking became horrible to solve.
2759         * xfs/linux/xfs_inodeops.c:
2760         o don't provide dummy crash hooks for address_mapping functions o
2761           rename xfs_mmap to xfs_file_mmap
2762         o rewrite xfs_file_mmap in case of 2.4 to make use of
2763           xfs_file_vm_ops we can do this now since `filemap_nopage' is
2764           exported.
2765         o rewrite xfs_d_delete since in case of 2.4 it may not sleep, so
2766           when we are detecting that a xnode needs to be cleaned away
2767           return a 1 (that will remove the dentry directly in d_delete())
2768           also, use xfs_message_send() to notify useland that the node is
2769           unused, xfs_queue_inactive() have unwanted side-effects
2770         
2771         * xfs/linux/xfs/{xfs_fs.h,xfs_node.h}: change home cooked list to
2772         linux list macro, protect it will mutex
2774         * xfs/linux/xfs_dev.c: remove some ifdef's and use init_MUTEX
2775         directly
2776         * xfs/linux/xfs_common.c: if we have the flag GFP_FS, pass that in
2777         to malloc
2778         
2779         * xfs/linux/xfs/xfs_locl.h: if missing: define init_MUTEX, add
2780         function list_del_init() add list_for_each_safe,
2781         
2782         * configure.in: (linux): check for list_del_init
2783         * cf/linux-check-list-del-init.m4: new test
2785         * xfs/linux/Makefile.in: added modules_install: target
2786         * scripts/linux.gdb: xps
2787         
2788 2002-01-25  Magnus Ahltorp  <ahltorp@nada.kth.se>
2790         * appl/mac/install/Arla: Don't start arla if there is no network
2791         (from William Uther <will+@cs.cmu.edu>)
2793         * arlad/arla-cli.c (arla_put): allow overwriting
2795 2002-01-25  Love  <lha@stacken.kth.se>
2797         * configure.in: Disable (arlad/fbuf) mmap for darwin for now, we
2798         get 0 byte long files sometime.
2800 2002-01-22  Magnus Ahltorp  <ahltorp@nada.kth.se>
2802         * appl/lib/Makefile.in: Pass SYSCONFDIR
2804         * appl/lib/arlalib.c (arlalib_get_cred_krb): Added support for
2805           localauth
2806         o (key_to_key): Added
2808         * rxdef/common.h, rxdef/vldb.xg: Moved voltypes to common.h
2810 2002-01-22  Love  <lha@stacken.kth.se>
2812         * configure.in: unbreak the --enable-smp for both linux and
2813         freebsd, for freebsd is plainly didn't work, and for linux it
2814         didn't autoprobe
2816         * lib/ko/kocell.c: (parse_simple_file): remove the newline from
2817         the row (if there is one)
2819         * rx/ChangeLog.c: enable softack and add dependences for rx_globs.o
2820         
2821         * rx/{rx.c,rx.h,rx_globs.h,rx_pkt.c,rx_pkt.h,rx_rdwr.c}:
2822         o Added softack support (acking packet on the recv side)
2823         o Make sure we send full-sized packets
2824         o Allocate packet buffer before we start, this way we will not use
2825           the two first fullsized packets
2826         o Added variables needed for congestion avoidance
2828         * rx/rx_clock.h: ident
2829         * rx/rx_user.c: do not use the mtu of the local loopback interface
2831 2002-01-15  Love  <lha@stacken.kth.se>
2833         * lwp/plwp.h: waste memory and make lwp_debug an int (get away of
2834         signedness problem of char)
2835         * lwp/lwp_asm.h: waste memory and make lwp_debug an int (get away of
2836         signedness problem of char)
2837         
2838 2002-01-11  Magnus Ahltorp  <ahltorp@nada.kth.se>
2840         * rxdef/volumeserver.xg: Use string instead of char * in
2841         AFSVolSignalRestore and AFSVolSetIdsTypes
2843 2002-01-07  Assar Westerlund  <assar@kth.se>
2845         * xfs/bsd/xfs/xfs_locl.h: FreeBSD 4.5 does define d_thread_t
2847         * xfs/bsd/xfs_message.c, xfs/bsd/xfs_node-bsd.c: handle struct
2848         mount.mnt_nvnodelist
2849         (FreeBSD 4.5 and higher)
2851         * configure.in (FreeBSD): never set smp flags to "no"
2852         (FreeBSD): test for struct mount.mnt_nvnodelist (the new name for
2853         mnt_vnodelist in 4.5 and above)
2855 2002-01-05  Magnus Ahltorp  <ahltorp@nada.kth.se>
2857         * configure.in: Check for statvfs
2859 For older ChangeLog entries see ChangeLog.2001