1 1999-12-31 Love <lha@s3.kth.se>
3 * arlad/reconnect.c (*): try to handle the case that find_first_fs
6 1999-12-31 Assar Westerlund <assar@sics.se>
8 * arlad/messages.c: add debug prints of the fids to the messages
10 * arlad/inter.c (getrights): static-ize
11 * arlad/fcache.c (sum_node): static-ize
12 * arlad/inter.c (cm_getattr): make sure we have a parent before
15 * tests/Makefile.in (run-tests): make it work with makes that run
16 all the commands in the same shell
17 (clean): add run-tests
19 * arlad/messages.c: remove some double fcache_release:s
21 1999-12-31 Love <lha@s3.kth.se>
23 * arlad/fcache.c (creating_nodes): remove variable
24 (unlink_lru_entry): make it more presistant and not fail
26 1999-12-30 Love <lha@s3.kth.se>
28 * arlad/messages.c (*): disable prio-stuff
30 * arlad/fcache.h (FCacheEntry): added cleanergen and changed type
32 (fcache_need_bytes,fcache_need_nodes): new prototypes
34 * arlad/fcache.c (current_vnodes): counter of currently created
36 (needbytes): how many bytes the cleaner needs to clean away
37 (fprioritylevel): make it a bool
38 (creating_nodes): if the create_nodes is running
39 (create_nodes): merge in create_node() and create_new_entries() and
40 make create_nodes add new entires to the list instead of operating
41 v on the list, also mak create_nodes a thread sleeping until we need
43 (cleaner_working): tells if the cleaner is working
44 (cleaner): make it a state machine that is waken up each time there
45 is a shortage of nodes or bytes, this repleaces
46 emergency_remove_data() and emergency_remove_nodes().
47 (fcache_wakeup_cleaner) how to wake up the cleaner
48 (fcache_need_bytes): wakeup the cleaner to get more bytes
49 (fcache_need_nodes): wakeup the cleaner to get more nodes
50 (emergency_remove_data): remove
51 (emergency_remove_nodes): remove
52 (unlink_lur_entry): call fcache_need_nodes()
53 (find_free_entry): print warning to ADEBWARN
54 (fcache_recover_state): assert find_free_entry never failes
55 (fcache_reinit): disable increseing of nodes
56 (fcache_unused): never signal lru_list since we never clean out the node
57 (read_data): use new fcache_need_bytes(), more verbose debugging
59 1999-12-29 Love <lha@s3.kth.se>
61 * xfs/linux/xfs_message.c (xfs_message_installnode): remember to
62 dput the dentry when its inserted without a already existing
64 (gc_vnode): more debugging
66 * xfs/solaris/Makefile.in (xfs): added magic glue to avoid that
67 the solaris module is name xfs
68 (load,mount): new target
70 * xfs/linux/xfs_node.c: remove #ifdef HAVE_GET_EMPTY_INODE
72 * configure.in (linux): no get_empty_inode test
74 * cf/linux-func-get-empty-inode.m4: no more
76 * doc/oddities.texi: note importance that . and .. need to be
77 first, also tell about dirent.reclen
79 * doc/debugging.texi: note that you can cat the /proc/kmsg file on
80 linux since klogd sucks performancewise and it loosses message
82 1999-12-28 Love <lha@s3.kth.se>
84 * lib/ko/ko_locl.h: no strmatch.h
86 * include/Makefile.in: no strmatch or strsplit
88 1999-12-28 Assar Westerlund <assar@sics.se>
90 * xfs/bsd/Makefile.in (vnode_if.c): not used. remove
91 (vnode_if.h): handle vnode_if.sh and vnode_if.pl
92 * configure.in (freebsd): try to handle running vnode_if.pl or
95 * tests/large-dir2.c: don't check for directory being 2048 bytes
97 * tests/large-dir.c: don't check for directory being 2048 bytes
100 * arlad/bsd-subr.c (dir_remove_name): using a too large d_reclen
101 is bad because readdir() can't cope with it being larger than the
102 buffer size that's being used by opendir/readdir. so let's take
103 DIRBLKSIZ (defaulting to 1024) as a conservative estimate
105 * xfs/bsd/xfs_message.c (xfs_message_version): try to figure out
106 if we don't have a getfh syscall installed. new and improved.
109 * configure.in (nosys, sys_nosys): test for under bsd
111 1999-12-25 Assar Westerlund <assar@sics.se>
113 * xfs/bsd/xfs/xfs_vnodeops.h: handle VOP_LOCK with [1,3] arguments
116 * xfs/bsd/xfs_message.c (xfs_message_version): test for getfh
117 actually being filled in. In FreeBSD 3 and 4 before kern/15452
118 was applied, it might not be filled in at run-time if there's no
121 * configure.in (freebsd): do the test for vnode_if.sh the same way
122 as in xfs/bsd/Makefile.in
123 (AC_BSD_FUNC_LOCKSTATUS): use
125 * xfs/bsd/bin/Makefile.in: segregate programs and scripts. use
126 INSTALL_SCRIPT for installing scripts.
128 * tests/build-emacs-j: cater for people with broken shells
130 * xfs/bsd/xfs_vnodeops-bsd.c (cleanup_cnp): new function for
131 cleaning up a componentname. also reset HASBUF after free-ing,
132 this is needed by fbsd-current.
134 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_link): conditionalize calls to
135 VOP_ABORTOP (doesn't exist in fbsd-current)
136 (xfs_islocked): handle one and two-argument lockstatus
138 * xfs/bsd/Makefile.in (vnode_if.h): try to handle vnode_if.src in
139 fbsd-current with different arguments
141 1999-12-16 Love <lha@s3.kth.se>
143 * Release 0.29.2 (in the arla-0-29-2-branch)
145 1999-12-16 Assar Westerlund <assar@sics.se>
147 * arlad/fcache.c (do_read_attr): always set ret_conn so it's not
150 1999-12-16 Love <lha@s3.kth.se>
152 * arlad/messages.c (xfs_message_rename): set old_entry to NULL
154 1999-12-14 Assar Westerlund <assar@sics.se>
156 * xfs/bsd/xfs/xfs_node.h (xfs_do_vget): use {1,2,3}_ARGUMENT_VGET.
157 * cf/bsd-vget.m4: <sys/cdefs.h> conditionalize check for 1, 2, or
158 3 arguments verify that at least one of them actually works
159 * cf/bsd-vop-lock.m4: conditionalize <sys/cdefs.h>
161 * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhopen): do copy-in. never call
162 fhopen or sys_fhopen. if this function was called, that's because
163 someone didn't want the ordinary fhopen function.
164 * xfs/bsd/xfs_syscalls-common.c (fhopen_call): adapt to new
167 * configure.in (osf): move test_KERNEL_CFLAGS
168 * configure.in (AC_CHECK_KERNEL_FUNCS): remove sys_fhopen. not
170 * configure.in (freebsd[34]): handle current version of
171 vnode_if.sh and check that we actually got a vnode_if.h generated
172 * configure.in: junk freebsd2: we don't support in anyway
174 1999-12-14 Love <lha@s3.kth.se>
176 * arlad/.gdbinit (lwp_ps_internal): pritty-printing and added
179 * configure.in: testing for readline in editline, by Tino Schwarze
180 <tino.schwarze@informatik.tu-chemnitz.de>
182 1999-12-13 Love <lha@s3.kth.se>
184 * milko/lib/ropa/Makefile,milko/appl/perf/Makefile
186 * configure.in (AC_OUTPUT): Added
188 * Release 0.29.1 (in the arla-0-29-1-branch)
190 * arlad/messages.c (VenusFid_cmp): really compare the to fids
192 1999-12-11 Love <lha@s3.kth.se>
194 * lwp/plwp.c (Debug): disable hardwired debugging..
196 * Makefile.in (SUBDIRS): do test too
198 * tests/compare-inum-mp: remove right mountpoint
200 * tests/Makefile.in: echo-n
202 1999-12-08 Assar Westerlund <assar@sics.se>
204 * arlad/bsd-subr.c (write_dirent): handle DIRENT_SIZE
206 * arlad/arla_local.h: <dirent.h>: needs _KERNEL, otherwise we
207 don't get DIRENT_SIZE
209 * configure.in: re-do editline/readline stuff
211 * arlad/sunos-subr.c (dir_remove_name): do a proper reclen
214 * arlad/solaris-subr.c (dir_remove_name): do a proper reclen
217 * arlad/irix-subr.c (dir_remove_name): do a proper reclen overflow
220 * arlad/hpux-subr.c (dir_remove_name): do a proper reclen overflow
223 * arlad/aix-subr.c (dir_remove_name): do a proper reclen overflow
226 * arlad/bsd-subr.c (dir_remove_name): handle last_dp == NULL (this
227 might happen for the first entry and even through we should never
228 remove `.' (which is always the first entry) it seems better not
231 * arlad/bsd-subr.c (dir_remove_name): do a proper check for
234 * arlad/messages.c (xfs_message_create): be more careful before
235 releasing fcache entries
237 1999-12-08 Love <lha@s3.kth.se>
239 * conf/CellServDB: updated rhic
243 1999-12-08 Assar Westerlund <assar@sics.se>
245 * configure.in: add missing ;; in case, from hin@stacken.kth.se
247 1999-12-06 Love <lha@s3.kth.se>
249 * arlad/fcache.c (create_directory): don't update used bytes, its
250 done in adir_mkdir().
252 Sun Dec 5 05:50:15 1999 Magnus Ahltorp <map@stacken.kth.se>
254 * configure.in: Make all --with-sys-guessing in one place. Use
255 $SYS/include as the include directory for linux.
257 1999-12-05 Love <lha@s3.kth.se>
259 * arlad/reconnect.c (reconnect_create): fetch parent fid volume if
262 * arlad/fcache.c (fcache_get_attr_bulk): don't care about nodes
263 without names, version 3.with brain
264 * arlad/fcache.c (fcache_get_attr_bulk): don't care about nodes
265 without names, version 2.
267 * arlad/inter.c (cm_lookup): no more mp_traversal
269 * arlad/fcache.h (*): no more mp_traversal
271 * arlad/fcache.c (fcache_get_attr_bulk): don't care about nodes
274 1999-12-05 Assar Westerlund <assar@sics.se>
276 * xfs/bsd/Makefile.in (install): support installing in /modules
278 * configure.in (AC_CHECK_KERNEL_VFSSW): remove, it's not used
281 * cf/linux-func-get-empty-inode.m4: set CFLAGS to
284 * cf/linux-func-full-name-hash-8bit.m4: set CFLAGS to
287 * cf/have-linux-kernel-type.m4: call AC_TRY_COMPILE_KERNEL so that
288 we use the right flags.
290 * cf/check-kernel-vfssw.m4: not used. remove
292 * lib/bufdir/fdir.c: use typedef for function point to
294 * lib/bufdir/fdir.h: use typedef for function point to
297 * configure.in: support KERNEL_CFLAGS being set in the shell.
298 support --with-sys on linux check for sys/dir.h and don't check
299 for sys/dir.h and dirent.h being compatible (we only include one
302 * arlad/inter.c (cm_lookup): look in the volume entry to find the
304 * arlad/fcache.c (get_root_of_volume): store parent fid in the
306 * arlad/volcache.h (volcacheentry): add `parent' (the .. of this
309 * arlad/messages.h (VenusFid_cmp): add prototype
310 * arlad/messages.c (VenusFid_cmp): const-ify
312 * arlad/volcache.h (volcacheentry): rename fid fields
313 * arlad/volcache.c (recycle_entry): don't care about finding the
316 * arlad/*-subr.c: use common subr functions
317 * arlad/subr.c: new file
318 * arlad/Makefile.in (arlad_OBJS): add subr.o
321 1999-12-03 Assar Westerlund <assar@sics.se>
323 * configure.in: redo the tests for readline/editline. now it
324 should only test for the functions that are needed. and if should
325 fail if any does not exist.
327 * tests/build-emacs-j: new test
329 * tests/run-tests.in (ARLA_TESTS): do `build-emacs' before
330 `untar-emacs'. add `build-emacs-j'
332 * lib/ko/kocell.c (readdb): love-complete skipping of white-space
333 * lib/ko/kocell.c (readdb): also try to remove trailing white
335 * lib/ko/kocell.c (readdb): change the format to be "IP-address([#
338 1999-12-02 Assar Westerlund <assar@sics.se>
340 * arlad/bsd-subr.c (write_dirent): check for volume == NULL
342 1999-12-01 Assar Westerlund <assar@sics.se>
344 * arlad/fcache.c: add a magic cookie and version number to the
347 * arlad/fcache.h: add a magic cookie and version number to the
350 * arlad/volcache.h: add a magic cookie and version number to the
353 * arlad/bsd-subr.c: simplify include-mess
354 (write_dirent): use `volume->mp'
356 * arlad/volcache.c: set `li'
357 (volcache_free): add at tail of lrulist
359 * arlad/volcache.h (volcacheentry): add a list pointer into
362 * arlad/fcache.c: don't use realfid any longer. store the
363 information in the volume instead
364 (fcache_realfid): new function
366 * arlad/fcache.h (FCacheEntry): delete `realfid' (this information
367 is now stored in the volume entry instead)
368 (fcache_realfid): new function
370 * ydr/output.c (generate_server_switch): make ExecuteRequest of
371 the type that rx expects it to be.
372 * rx/rx.h (rx_service): correct type for `executeRequestProc'
373 * rx/rx.c (rx_NewService): correct type for `serviceProc'
374 * arlad/cmcb.c (cmcb_init): remove bad cast
375 (RXAFSCB_CallBack): print warning when we can't find the host the sent
378 * arlad/arla_local.h: don't include both dirent.h and sys/dir.h,
379 but just in that order of preference
381 * arlad/afsdir_check.c (check): printf format correctness
383 1999-12-01 Love <lha@s3.kth.se>
385 * arlad/messages.c (xfs_message_mkdir): avoid to set datausedp to
386 later when we know that the node will be installed
388 * arlad/messages.c (xfs_message_mkdir): do some locking of the
391 * lib/ko/kocell.c (readdb): pass over isspace() in hostnames, if
392 there is no hostname, replace with ip-address.
394 * arlad/fcache.c (fcache_get_attr_bulk): check if we want to do
395 bulkstatus, check the return value of find_first_fs()
397 * arlad/messages.c (*): try to set datausedp later when the node
398 is passed down to the kernel
400 1999-11-30 Assar Westerlund <assar@sics.se>
402 * xfs/*/xfs_message.c: make installattr not finding the node non-fatal
404 1999-11-28 Assar Westerlund <assar@sics.se>
406 * arlad/inter.c (cm_lookup): don't get provoked into doing
407 bulk-status on "." or ".."
409 * arlad/messages.c (xfs_message_inactivenode): reset datausedp and
412 * xfs/bsd/xfs_vnodeops-osf.c: update to changing reality
414 * xfs/bsd/xfs_message.c (xfs_message_installattr): sanity-check
416 (*): print handle in lots of the debug messages
418 * xfs/bsd/xfs_node-bsd.c: better and more consistent debug
421 1999-11-27 Love <lha@s3.kth.se>
423 * xfs/linux/xfs_syscalls.c (sys_afs_int): handle the case where
425 (xfs_debug_print): XDEBNODE:enable printing of node and childs
427 * arlad/afsdir_check.c (*): add verbose and help
429 1999-11-27 Assar Westerlund <assar@sics.se>
431 * appl/afsutils/klog.c (randfilename): use
432 krb_get_default_tkt_root if existing
434 * appl/afsutils/klog.h: add (with gcc attributes) prototypes for
437 * configure.in: test for krb_get_default_tkt_root bsd: test for
438 cdevsw_add (it might disappear any day now in fbsd)
439 * configure.in (linux): test for inode_operations.get_block
441 * xfs/linux/xfs/xfs_locl.h: add <linux/smp_lock.h> define LINUX2_3
442 based on patches from <yasushi@cs.washington.edu>
444 * xfs/linux/xfs_inodeops.c (xfs_d_validate): add new flag argument
445 inode_operations has added a `get_block' operation
446 (xfs_readpage): lock and unlock kernel under 2.3
448 * xfs/linux/xfs_dev.c (xfs_print_sleep_queue): handle new type of
451 * arlad/fcache.c (fcache_get_attr_bulk): check for `prefered_name'
452 being NULL. set tokens to be the tokens of the entry masking out
453 data if the data hasn't been installed in the kernel.
455 * xfs/bsd/xfs/xfs_common.h (xfs_devtoname_r): add prototype
457 * xfs/bsd/xfs_node-bsd.c (xfs_dnlc_lookup): try to handle the
458 locking protocol correctly for "." and ".."
460 * xfs/bsd/xfs_dev-common.c: use xfs_devtoname_r
462 * xfs/bsd/xfs_dev-bsd.c: use xfs_devtoname_r
464 * xfs/bsd/xfs_common-bsd.c (xfs_devtoname_r): new function to
465 print the name of a `dev_t'
467 * configure.in (bsd): test for snprintf and devtoname in the
470 1999-11-26 Assar Westerlund <assar@sics.se>
472 * xfs/bsd/xfs_vnodeops-common.c (xfs_symlink_common): don't rele
475 * xfs/bsd/xfs_dev-common.c (xfs_message_rpc): also mask SIGVTALRM
477 * include/stds.h (int16, u_int16): define. From Derrick J
478 Brashear <shadow@dementia.org>
480 * conf/CellServDB: update for MIT cells
482 1999-11-26 Love <lha@s3.kth.se>
484 * arlad/messages.c (*): try to set datausedp when data is
485 installed, also remeber to set tokens to some (in)sane value.
487 * arlad/inter.c: (cm_getattr): remove datatokens it data isn't
490 * arlad/fcache.c (fcache_get_attr_bulk): update tokens more
491 forcefully (even new nodes can have data)
493 * arlad/fcache.c (fcache_get_attr_bulk): update tokens
495 * arlad/fcache.c (xfs_message_install_node_attr): union of
496 install{node,attr} for bulkstat
497 (bulkstat_help_func): don't exclude nodes we have attributes for,
498 we need them too in kernel, this should be made more beautifully,
499 it should be installed, but not bulkstat:ed
500 (fcache_get_attr_bulk): just install nodes when they don't exist
501 in kernel, install attributes otherwise
503 * arlad/messages.c (xfs_message_remove): install the nodes in
506 * xfs/linux/xfs_message.c (xfs_message_installnode): invalid
507 childs when XFS_INVALID_DNLC is set.
509 1999-11-23 Assar Westerlund <assar@sics.se>
511 * xfs/bsd/xfs_wrap-bsd.c: adapt to fbsd -current:
513 s/remove_dev/destroy_dev/ DEV_MODULE now only takes three
516 * xfs/bsd/xfs/xfs_dev.h (xfs_devioctl): simplify prototype by not
517 caring for old FreeBSD
519 * xfs/bsd/xfs/xfs_common.h (MALLOC_DECLARE): use if defined
520 * xfs/bsd/xfs_common-bsd.c (MALLOC_DEFINE): use if defined
522 1999-11-22 Love <lha@s3.kth.se>
524 * xfs/bsd/xfs_message.c (xfs_message_gc_nodes): remove comment
527 * arlad/xfs.h: export xfs_send_message_{,v}multiple{,list}()
529 * arlad/xfs.c (send_count): removed since we don't use writev any
530 longer, need to add some logarithmic stuff instead
531 (add_new_msg): new function, add a msg to a ``struct write_buf''
532 (send_msg): new function, send of a ``struct write_buf''
533 (xfs_send_message_vmultiple): rewrite in terms of add_new_msg and
535 (xfs_send_message_multiple): new function
536 (xfs_send_message_multiple_list): new function, send of a list of
537 message of same size.
538 (xfs_send_message_wakeup_vmultiple): reimpement in terms of
539 xfs_send_message_vmultiple and write
541 * arlad/reconnect.c (*): use new adir_lookup
543 * arlad/messages.c (xfs_message_getdata): set datausedp when
545 (fcacheentry2xfsnode): export
547 * arlad/inter.c (cm_getattr): implement bulkstat
548 (cm_lookup): use new adir_lookup and implement bulkstat
550 * arlad/fcache.h (FCacheEntry): add hits
552 * arlad/fcache.c (fcache_counter): add some counters
553 (emergency_remove_data): implement some more intelligent removing of data
554 (emergency_remove_node): implement some more intelligent removing of nodes
555 (unlink_lru_entry): increse number of nodes we emergency remove
556 (fcache_get/fcache_recover_state): init hits to 0
557 (update_attr_entry): break out common code
558 (do_read_attr): use update_attr_entry
559 (bulkstat_help_func): helper function for fcache_get_attr_bulk and fdir_readdir
560 (fcache_get_attr_bulk): implement bulkstat
562 * arlad/adir.h (adir_lookup): changed signature
564 * arlad/adir.c (adir_lookup): enable too pass back the entry of
567 1999-11-21 Assar Westerlund <assar@sics.se>
569 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_cachedlookup): cast pointer to
571 * xfs/bsd/xfs_vnodeops-common.c (xfs_symlink_common): simplify
573 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_mkdir): vput should also be
575 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_link): try to DTRT when failing
577 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_create): on {Net,Open}BSD dvp
578 should not be returned locked
580 * appl/afsutils/klog.c (get_afs_id): use
581 arlalib_get_viceid_servers
583 * appl/lib/arlalib.c (arlalib_get_viceid): new function
585 1999-11-20 Assar Westerlund <assar@sics.se>
589 1999-11-20 Assar Westerlund <assar@sics.se>
591 * xfs/bsd/xfs_vnodeops-common.c: remove vn_share_lock and
592 vn_unshare_lock (and all calls). they're not actually used for
595 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_lookup): don't unlock parent
596 when returning EJUSTRETURN
597 (xfs_lock, xfs_unlock): print flags when DEBUG
599 1999-11-17 Assar Westerlund <assar@sics.se>
601 * rx/rx_rdwr.c (rx_ReadProc, rx_WriteProc): make generic and
604 * rx/rx_clock.c (clock_ReInit): add dummy function when we're
606 * configure.in: check for getitimer
607 * rx/rx_clock.c: add fallback code for systems without getitimer
609 * ydr/output.c (encode_enum): hopefully make the generated code be
610 more portable and correct without using any casts to and from int
612 * lib/ko/ko_locl.h: conditionalize <sys/mman.h>
613 * lib/bufdir/fbuf.c: conditionalize <sys/mman.h>
614 * arlad/arla_local.h: conditionalize <sys/mman.h>
616 * lwp/plwp.c (LWP_WaitProcess): make prototype compatible with the
619 * configure.in: test for `make_dev' in kernel
621 * rx/rx.h: add some prototypes
623 1999-11-17 Love <lha@s3.kth.se>
625 * xfs/linux/xfs_node.c (free_xfs_node): be paranoid and reset
628 * xfs/linux/xfs_message.c (xfs_message_installattr): added some
629 paranoid checks to try to catch readpage on NULL node
630 (xfs_message_installdata): remove obsolete BSD comment
631 (xfs_invalid_xnode): added comment about possible race then throwing node->data
633 1999-11-13 Assar Westerlund <assar@sics.se>
635 * xfs/bsd/xfs_wrap-bsd.c: add calls to make_dev and remove_dev iff
636 the kernel has a make_dev
639 * xfs/bsd/xfs/xfs_vnodeops.h (xfs_lookup_name): what function?
641 * xfs/bsd/xfs_vnodeops-common.c (xfs_lookup_name): not used.
644 * xfs/bsd/xfs_vnodeops-osf.c (xfs_symlink): adapt to changes in
646 (xfs_create, xfs_mkdir): use xfs_lookup_common
648 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_create, xfs_mkdir): use
651 * xfs/bsd/xfs_vnodeops-common.c (xfs_symlink_common): use
654 * arlad/fcache.c (fcache_stale_entry): if the cell is unknown,
655 loop over all the entries in the cache and nuke the ones with
656 matching fid. This is a kludge to solve the problem with
657 multi-homed file servers. The problem is that the callback break
658 can come from a different IP address than the one we have been
659 talking to and then we have no idea as to what cell that belongs
660 to. The real fix is to start using the 3.4 interfaces and be
661 aware of multi-homed file servers.
663 * xfs/bsd/xfs_node-bsd.c (xfs_dnlc_lookup): correct tbl_lookup
665 * xfs/bsd/xfs_vnodeops-common.c (vn_share_lock, vn_unshare_lock):
667 (xfs_lookup_common): don't do any parent unlocking. try to handle
668 . and .. special cases. we always get back a locked vnode from
670 (xfs_create_common): more information in debug messages
672 * xfs/bsd/xfs_node-bsd.c (tbl_lookup): make common
673 (xfs_dnlc_lookup): always lock the node that is returned
675 1999-11-08 Love <lha@s3.kth.se>
677 * conf/CellServDB ({arla.,}e.kth.se): Put arla.e.kth.se after
678 e.kth.se since libkafs seams to do first match.
679 (psc.edu): update from info-afs
680 (lsa.umich.edu): update from info-afs
681 (math.lsa.umich.edu): update from info-afs
683 1999-11-07 Assar Westerlund <assar@sics.se>
685 * xfs/bsd/xfs_message.c (xfs_message_installnode,
686 xfs_message_installdata): do vget without locking and vrele
687 (gc_vnode): unlock interlock if node is being used
688 (xfs_message_gc_nodes): don't use dead next pointer
690 * xfs/bsd/xfs_vfsops-common.c (xfs_root_common): don't tell vget
691 we already have an interlock. we don't.
693 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_lookup): look at PDIRUNLOCK flag
694 to see if we should unlock
695 (xfs_create): simplify
696 (xfs_mkdir): simplify. correct debug printf
697 (xfs_inactive): remove FreeBSD 2-code
699 * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhopen): the fhopen syscall can be
700 called fhopen or sys_fhopen. handle both cases.
702 * xfs/bsd/xfs_syscalls-common.c (fhget_call): we don't have any
703 memset on FreeBSD, use bzero instead
705 * xfs/bsd/xfs_node-bsd.c (new_xfs_node): always do vget. (this
706 will probably not work on fbsd2)
707 (tbl_lookup): new version for NetBSD 1.4K or higher. cache_lookup now
708 returns with the resulting node locked, do the same thing in
711 * configure.in (AC_CHECK_KERNEL_FUNCS): check for `sys_fhopen'
713 1999-11-03 Love <lha@s3.kth.se>
715 * configure.in (AC_OUTPUT): added milko/appl/bootstrap/Makefile
717 1999-11-03 Marcus Sundberg <mackan@stacken.kth.se>
719 * cf/linux-func-devfs-register-eleven-args.m4: new file
721 * configure.in: use AC_LINUX_FUNC_DEVFS_REGISTER_ELEVEN_ARGS
723 * xfs/linux/xfs_load.c (init_module): support recent devfs_register()
725 1999-11-02 Love <lha@nutcracker.e.kth.se>
727 * rxdef/cb.xg: removed #if 0 def's that have been moved to
728 common.h removed \r in comment end mark.
730 * rxdef/vldb.xg: added a comment about VLSF and VLF
732 1999-10-31 Assar Westerlund <assar@sics.se>
734 * arlad/inter.c (cm_symlink): create mount points with 0644
736 * arlad/fcache.c (create_new_entries): handle `n == 0'
737 (fcache_reinit): don't fail when setting it to the same number as
738 nodes that's already there
740 1999-10-30 Assar Westerlund <assar@sics.se>
742 * configure.in: don't export RXKAD_LIBS use new
743 AC_FIND_FUNC_NO_LIBS2 for checking for kafs/krbafs
745 * cf/find-func-no-libs.m4: add yet another argument to allow
746 specify linker flags that will be added _before_ the library when
749 * cf/find-func-no-libs2.m4: add yet another argument to allow
750 specify linker flags that will be added _before_ the library when
753 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_lock, xfs_unlock): handle the
754 case of three-argument lockmgr's
756 * xfs/bsd/xfs_vnodeops-common.c (xfs_loopup_common): remove
759 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_lookup): move the BSD-specific
760 lockparent stuff here from xfs_lookup_common
762 * xfs/bsd/xfs/xfs_locl.h: move syscall argument macros here from
765 * xfs/bsd/xfs/xfs_syscalls.h: move syscall argument stuff to
768 * xfs/bsd/xfs_vfsops-osf.c: add some struct to xfs_fhandle_t make
769 debug printfs less informative by not printing unexisting
772 * xfs/bsd/xfs-message.c (xfs_message_gc_nodes): add osf version
774 * xfs/bsd/xfs/xfs_locl.h (u_int16_t): add for osf
775 (xfs_setgroups_args): add a hard-coded definition of this struct for
776 osf. It's not defined anywhere and hopefully it will not be
779 1999-10-26 Love <lha@s3.kth.se>
781 * rxdef/common.h: Added SS_FSYNC flag, given to StoreData and
782 friends when we are supposed to fsync.
784 1999-10-23 Love <lha@s3.kth.se>
786 * appl/afsmgr/afsaclmgr.in: A acl manager written i guile-gtk.
788 1999-10-22 Love <lha@s3.kth.se>
790 * configure.in (AC_PATH_PROGS): Added check for guile-gtk
791 (AC_OUTPUT): Added appl/afsmgr/Makefile
793 1999-10-22 Magnus Ahltorp <map@stacken.kth.se>
795 * lib/bufdir/fbuf.c, arlad/*.c: Don't close fd when fbuf is closed.
797 1999-10-22 Love <lha@s3.kth.se>
799 * appl/afsutils/klog.h: remove do_help prototype
801 * appl/afsutils/klog.c (*): rewrote to use getarg
803 * tests/ga-test.c (test_simple_strings): added simple test for
805 (*): print what test failed
807 1999-10-21 Love <lha@s3.kth.se>
809 * tests/ga-test.c (test_simple_integer, test_simple_string):
810 swaped functionsname to reflect what the do.
812 * appl/afsutils/unlog.c (save_tokens): remove variable as a
813 cleanup from Chris Wing
814 (getarg): made getarg work as expected (compat)
816 1999-10-20 Magnus Ahltorp <map@stacken.kth.se>
818 * arlad/fcache.[ch], arlad/dynroot.c, arlad/reconnect.c: Added
819 length field to FCacheEntry
821 1999-10-19 Love <lha@s3.kth.se>
823 * tests/{ga-test.c,Makefile.in,run-tests.in}: added basic getarg
826 Tue Oct 19 02:44:21 1999 Magnus Ahltorp <map@stacken.kth.se>
828 * xfs/linux/xfs_inodeops.c (xfs_read_file): read from page owned
831 1999-10-19 Magnus Ahltorp <map@stacken.kth.se>
833 * lib/bufdir/fdir.c (update_fid_by_name): Don't corrupt directory
836 1999-10-17 Magnus Ahltorp <map@stacken.kth.se>
838 * xfs/linux/xfs_inodeops.c: xfs_readdir: Eliminated memory leak
840 1999-10-17 Assar Westerlund <assar@sics.se>
842 * tests/create-files.c (creat_files): remember O_WRONLY to open
844 * configure.in (hpux): set KERNEL_INCLUDE
846 * appl/fs/fs.c: revert last commit. xfs_deb.h is needed here
848 1999-10-16 Magnus Ahltorp <map@stacken.kth.se>
850 * rxdef/pts.c, appl/pts/pts.c, milko/pts/pr.c,
851 milko/pts/ptserver.c: Better names for pts constants
853 1999-10-15 Magnus Ahltorp <map@stacken.kth.se>
855 * xfs/linux/xfs_syscalls.c: sys_afs_int: Check for NULL xnode
857 1999-10-15 Love <lha@s3.kth.se>
859 * rx/Makefile.in (install): create $(includedir)/rx
861 * rx/rx.[ch]: a service returns a int32_t not a long
863 1999-10-13 Love <lha@s3.kth.se>
865 * tests/create-files.c(usage): updated.
867 * tests/compare-inums: new style create-file
869 1999-10-13 Assar Westerlund <assar@sics.se>
871 * appl/udebug/Makefile.in (LIB_tgetent): add
873 * xfs/bsd/xfs_wrap-bsd.c: use NODEV on FreeBSD 3
875 * xfs/bsd/xfs_vnodeops-common.c: use xfs_vfs_vn_lock
877 * xfs/bsd/xfs/xfs_vnodeops.h (xfs_vfs_vn_lock): new ugly macro for
880 Tue Oct 12 23:22:35 1999 Magnus Ahltorp <map@stacken.kth.se>
882 * arlad/fcache.c: Clear attrp when clearing length.
884 1999-10-12 Assar Westerlund <assar@sics.se>
886 * arlad/messages.c (xfs_message_getnode): reset data mask before
889 * configure.in: use LIB_tgetent when testing for el_init
891 * cf/find-func-no-libs.m4 (AC_FIND_FUNC_NO_LIBS): new argument
894 * cf/find-func-no-libs2.m4 (AC_FIND_FUNC_NO_LIBS2): new argument
897 * configure.in: use AC_BSD_FUNC_LOCKMGR
899 * cf/bsd-func-lockmgr.m4: new test
901 1999-10-10 Assar Westerlund <assar@sics.se>
903 * xfs/bsd/xfs_wrap-bsd.c: NODEV -> NOMAJ
905 * xfs/bsd/xfs_vfsops-netbsd.c: use xfs_checkexp
907 * xfs/bsd/xfs_vfsops-freebsd.c (xfs_vfsops): add `xfs_checkexp'
910 * xfs/bsd/xfs_vfsops-bsd.c (xfs_checkexp): new dummy function
912 * configure.in: check for debuglockmgr
914 * xfs/bsd/xfs/xfs_node.h (xfs_node): sort out when to use `struct
917 * xfs/bsd/xfs_node-bsd.c (xfs_dnlc_lookup): try to handle the new
918 NetBSD version of cache_lookup that has a return value that's the
919 opposite of the traditional one (but actually more logical and
920 consistent with everything else). The test for __NetBSD_Version__
921 >= 104110000 might not be optimal.
923 * arlad/arla_local.h: fix for building on MacOS X
925 * tests/create-files.c: support writing data into the files
927 1999-10-07 Love <lha@s3.kth.se>
929 * arlad/xfs.h (rcvfuncs): is extern.
931 * configure.in (tgetent): check in ncurses too.
933 Wed Oct 6 01:51:12 1999 Magnus Ahltorp <map@stacken.kth.se>
935 * xfs/linux/xfs_inodeops.c: xfs_write_file: Check if cache file is
938 * tests/read-write.c: Added.
940 * xfs/linux/xfs_node.c: free_xfs_node: Cleanup.
942 * xfs/linux/xfs_message.c: xfs_invalid_xnode: Move code around to
943 avoid scheduling between token clearing and DATA_FROM_XNODE
946 * xfs/linux/xfs_inodeops.c: xfs_readdir: Merge 2.0 and 2.2 code.
947 Cleanup. xfs_readpage: Correct spelling mistake.
949 1999-10-06 Assar Westerlund <assar@sics.se>
951 * (xfs_lookup_common): use xfs_vfs_unlock
953 * xfs/bsd/xfs/xfs_locl.h: add <sys/signalvar.h>
955 * xfs/bsd/xfs_wrap-bsd.c (DEV_MODULE): set major number
957 * xfs/bsd/xfs_node-bsd.c: handle the case of there being no
958 `cn_hash' in `struct componentname'
960 * xfs/bsd/xfs_dev-common.c (xfs_message_rpc): handle another way
961 of setting signal masks
962 (SIGADDSET, used in FreeBSD 4)
964 * xfs/bsd/xfs_dev-bsd.c (FreeBSD, cdevsw): conditionalize some
967 * lwp/process.S (RCSID): undef to avoid conflicts and possibly use
968 an assembly version (ENTRY): conditionalize
970 * configure.in (AC_CHECK_HEADERS): beautify. add
972 (struct cdevsw): test for lots of fields
973 (struct componentname): check for cn_hash
975 * xfs/bsd/xfs_vnodeops-common.c (xfs_lookup_common): try to
976 approximate the weird locking some more
978 * xfs/bsd/xfs_node-bsd.c (xfs_getnewvnode): lockmgr or not
979 (new_xfs_node): don't interlock
981 * xfs/bsd/xfs_vnodeops-bsd.c: start using lockmgr for vop_lock,
982 vop_unlock, and vop_islocked
984 * xfs/bsd/xfs_vfsops-freebsd.c (xfs_dead_vnodeop_entries): default
985 should be vop_defaultop
987 * xfs/bsd/xfs_dev-bsd.c (FreeBSD): more conditional fields
989 * configure.in: test for d_spare in cdevsw
991 * configure.in: test for d_reset in `struct cdevsw'
993 * xfs/linux/xfs/xfs_locl.h (xfs_iref): inline function for
994 incrementing the ref count
996 * xfs/linux/xfs_syscalls.c (fhopen_call): always call DPUT. add
999 * xfs/linux/xfs_inodeops.c (xfs_readpage): always call dput,
1000 simplify a tiny bit use xfs_iref
1002 * xfs/linux/xfs_message.c (xfs_message_installnode): iput the
1003 xnode instead of `dentry->d_inode'. use `xfs_iref' for bumping
1006 * xfs/linux/xfs_node.c: add some comments
1007 (xfs_iget): don't call xfs_attr2inode, it's always done in
1009 (xfs_node_find): simplify
1011 1999-10-05 Love <lha@s3.kth.se>
1013 * conf/CellServDB (northstar.dartmouth.edu): changed
1015 * appl/afsutils/sys.c (main): ask kernel if avaible.
1017 * arlad/fcache.c (throw_data, create_file): when truncating files
1018 to zero length, set status.Length == 0.
1020 1999-10-05 Assar Westerlund <assar@sics.se>
1022 * xfs/bsd/xfs/xfs_node.h (xfs_node): start using `struct lock' iff
1025 * arlad/bsd-subr.c (write_dirent): check that the parent isn't the
1028 1999-10-05 Love <lha@s3.kth.se>
1030 * conf/CellServDB (urz.uni-magdeburg.de): changed db servers
1032 * arlad/cmcb.c: s,EOPNOTSUPP,RXGEN_OPCODE,
1034 1999-10-04 Love <lha@s3.kth.se>
1036 * appl/afsutils/sys.c: Added sys program.
1038 Mon Oct 4 01:58:56 1999 Magnus Ahltorp <map@stacken.kth.se>
1040 * xfs/linux/xfs_inodeops.c: xfs_readdir: Don't lookup inode
1043 1999-10-03 Assar Westerlund <assar@sics.se>
1045 * arlad/messages.c (xfs_message_symlink): handle realfid
1047 * arlad/inter.h (cm_symlink): update prototype
1049 * arlad/inter.c (cm_symlink): return the realfid
1051 * arlad/bsd-subr.c (write_dirent): also handle the case of `..'
1052 refering to a mount-point
1054 * tests/readdir-vs-lstat.c (verify_inodes): no need to check for
1057 * xfs/linux/Makefile.in (mount): add
1059 * tests/readdir-vs-lstat.c (verify_inodes): probably works better
1060 if chdir:ing to the directory
1062 * tests/readdir-vs-lstat.c (main): change default "foo" -> "."
1064 * tests/readdir-vs-lstat.c (verify_inodes): don't unlink
1066 * tests/compare-inum-mp: new test
1068 * tests/compare-inums: new test
1070 * tests/run-tests.in: add compare-inums, compare-inum-mp
1072 * tests/readdir-vs-lstat.c: only verify inode numbers
1074 1999-10-02 Love <lha@s3.kth.se>
1076 * conf/CellServDB (dev.mit.edu): changed
1077 (athena.mit.edu): changed
1079 1999-10-01 Assar Westerlund <assar@sics.se>
1081 * tests/run-tests.in: add readdir-vs-lstat
1083 * tests/Makefile.in: add readdir-vs-lstat
1085 * tests/readdir-vs-lstat.c: new test program for verifying that
1086 inode numbers from lstat and readdir are equal
1088 1999-09-30 Assar Westerlund <assar@sics.se>
1090 * rx/Makefile.in (install, uninstall): move include files to `/rx'
1092 * xfs/bsd/xfs/xfs_locl.h: <vm/vm_object.h>: add
1094 * arlad/hpux-subr.c: DIRSIZ circus
1096 * arlad/arla.c (args): more units
1098 * appl/fs/fs.c: no <xfs/xfs_deb.h>
1100 * include/Makefile.in: add parse_bytes.h
1102 * appl/amon/amon.c: add parse_bytes.h
1104 1999-09-30 Harald Barth <haba@pdc.kth.se>
1106 * doc/intro.texi: Documentation is for wimps /Überwimp.
1108 * doc/partsofarla.texi
1111 * doc/authors.texi: Here, too.
1112 * doc/arla.texi: Love said I should do this by now
1113 * configure.in: Noting in if clause is no good
1115 1999-09-30 Assar Westerlund <assar@sics.se>
1117 * lwp/make-process.o.sh.in: hpux: don't set PROCESS_S, it gets
1118 included from process.S add -I$(srcdir) when running cpp/cc
1120 * lwp/Makefile.in (make-process.o.sh): add a dependency on
1123 1999-09-29 Love <lha@s3.kth.se>
1125 * configure.in: readline support done diffrently, again
1127 * NEWS: remove asrvutil notice and replace it with lwp notice
1129 * configure.in: move lwp things to the top so we can use it in
1130 windows too add case cygwin in the switch statment. That isn't
1131 relly correct but print a warning that we only work on NT.
1133 * lwp/plwp.h: windwos threads glue code.
1135 * lwp/plwp.c: Added windows threads suppport on phtread emulation
1136 mode. Debugged by Magnus map@stacken.kth.se and Robert rb@abc.se
1138 1999-09-28 Harald Barth <haba@puffin.pdc.kth.se>
1140 * doc/partsofarla.texi: nice format
1142 * doc/debugging.texi: minor
1144 * doc/Makefile.in: New targets: .pdf and .html files. Generated
1145 from texi input. Not made as default yet.
1147 * configure.in: Test for texi2pdf and texi2html, used in the doc
1150 1999-09-27 Love <lha@s3.kth.se>
1152 * arlad/unknown-subr.c (dir_remove_name): new dummy function
1154 * rx/rx_clock.c (set_alrm_handler): use only sigaction if
1155 SA_RESTART is defined
1157 * xfs/winnt/src/xfs_vops.c (xfs_close): free ccb and fcb
1158 (xfs_cleanup): opencounter--
1159 (xfs_create): allocate ccb and fcb and
1161 (xfs_dirctl): figure out where to start and only show 3 files
1162 (xfs_devctl): add begining of ioctl that we might use for xfs-rpc
1164 * xfs/winnt/src/makefile: check for alternate location of NTDDK
1166 * xfs/winnt/src/xfs_misc.c: ccb/fcb allocation/release
1168 * xfs/winnt/inc/xfs_locl.h: CCB flags and panic string
1170 1999-09-26 Love <lha@s3.kth.se>
1172 * xfs/winnt/inc/xfs_type.h: Add a allignment macro
1174 * xfs/winnt/inc/xfs_locl.h: Added lot of confusion structures that
1175 the book claims we need.
1177 * xfs/winnt/src/xfs_init.c (InitFS): initilize the zones for fcb
1179 (DriverEntry): #if 0 out exception code since can't generate a loadable
1182 1999-09-26 Assar Westerlund <assar@sics.se>
1184 * appl/amon/amon.c (GetUsedBytes): use unparse_bytes_short for
1187 * arlad/volcache.c (get_info_loop, get_info_byid,
1188 get_info_byname): add an explicit `cell' argument
1189 (volcache_getbyname, volcache_getbyid): set stablep correctly and also
1192 1999-09-26 Love <lha@s3.kth.se>
1194 * xfs/winnt/xfs.reg: Z: to many \ in string.
1196 * arlad/messages.c (vioc_calculate_cache): must be root.
1198 1999-09-26 Harald Barth <haba@pdc.kth.se>
1200 * doc/debugging.texi: Spelling check and some new night excercices.
1202 * doc/intro.texi: Mostly spelling check.
1204 * doc/partsofarla.texi: Mostly spelling check.
1206 * doc/porting.texi: Mostly spelling check.
1208 1999-09-25 Love <lha@s3.kth.se>
1210 * lib/ko/ko.h (cell_is_sanep): new prototype
1212 * lib/ko/kocell.c (cell_is_sanep): new function
1214 * arlad/volcache.c (get_info_loop): print out the volume of the
1215 strance cell that doesn't have and db-server, and assert that this
1218 * arlad/fcache.c (*): Add some comments about silly rename
1220 * arlad/fcache.c (write_data): in case of failure, set the
1221 status.Length = 0 since we truncate the buffer, otherwise the
1223 (sum (all-fcachenodes).status.Length) != usedbytes will fail.
1225 * tests/Makefile(dup2-and-unlog): Added program.
1227 * tests/dup2-and-unlog.c: xsession-errors emulation
1229 1999-09-24 Love <lha@s3.kth.se>
1231 * appl/lib/Makefile.in (INCLUDES): Added xfs/include
1233 * arlad/fcache.c (throw_data): make sure we call
1234 cm_check_usedbytes_consistency() If we are compiling w/o assert,
1235 make sure we don't count below zero.
1236 (cleaner) call cm_check_usedbytes_consistency.
1237 (sum_node): only use Length when calculating sum (that should be
1240 * arlad/cmcb.c (RXAFSCB_CallBack): call
1241 cm_check_usedbytes_consistency()
1242 (RXAFSCB_InitCallBackState): call cm_check_usedbytes_consistency()
1244 * arlad/arla.c (args): new option --usedbytes-consistency -b
1245 (main): turn on usedbytes_consistency if needed
1248 (cm_turn_on_usedbytes_consistency,cm_check_usedbytes_consistency):
1251 * arlad/inter.c (cm_check_usedbytes_consistency): if we have a
1252 consistent view of usedbytes
1253 (*): start to use cm_check_usedbytes_consistency()
1255 * arlad/messages.c (viocwhereis): send address to userland in
1258 1999-09-23 Love <lha@s3.kth.se>
1260 * arlad/.gdbinit (lwp_ps_internal): more pretty printing
1262 * arlad/messages.c (read_mount_point): Map the mountpoint
1264 (vioc_afs_stat_mt_pt): now that the mountpoint is mapped private, dont
1267 * lib/bufdir/fbuf.h: (fbuf_flags): new flags
1269 * lib/bufdir/fbuf.c:(mmap_flags): check new semantics
1270 (mmap_prot): new function
1271 (mmap_create): use mmap_prot
1272 (malloc_flush): mmap emulation
1274 * arlad/fcache.c (parse_mountpoint): document
1275 (followmountpoint): map file PRIVATE|WRITE
1277 * */{,*/}/*.c (*): Changed sematics of fbuf_create
1279 1999-09-23 Assar Westerlund <assar@sics.se>
1281 * arlad/Makefile.in: add arladeb2
1283 * arlad/arladeb2.c: new file
1285 * arlad/arladeb.c (arla_log_method): make global
1286 (arla_vwarn_with_fid, arla_warn_with_fid): move away
1288 1999-09-20 Assar Westerlund <assar@sics.se>
1290 * arlad/messages.c (try_again): try to print more explicit
1291 messages when waiting
1293 * arlad/volcache.c (volcache_getname): new function for mapping id
1296 * arlad/arladeb.c (arla_warnx_with_fid, arla_vwarnx_with_fid): new
1299 * util/log.c (log_vlog): try to handle vasprintf failing
1301 * configure.in: support smp for FreeBSD as well
1303 1999-09-17 Assar Westerlund <assar@sics.se>
1305 * arlad/messages.c (read_mount_point): break up into
1306 get_mount_point and read_mount_point
1308 1999-09-17 Love <lha@s3.kth.se>
1310 * arlad/volcache.c: Apply assar's patch to avoid dead-lock in
1313 * arlad/messages.c (vioc_afs_stat_mt_pt): create a termporary
1314 buffer to make sure the string ends with a '\0'.
1315 (read_mount_point): more confusing comments.
1317 1999-09-16 Love <lha@s3.kth.se>
1319 * appl/afsutils/klog.c: put krb_afslog_uid inside a KERBEROS ifdef
1321 * configure.in (APPL_SUBDIRS): += asrvutil
1323 1999-09-14 Love <lha@s3.kth.se>
1325 * appl/asrvutil/asrvutil.c (ANAME_SZ & co): Added some krb-compat
1327 * lib/ko/ko_locl.h: added <sys/ioccom.h>
1329 * arlad/fcache.c (fcache_get): make sure the new (not newest)
1330 entry is unlocked when put on the lru.
1331 (find_free_entry): Added comment about locking
1332 (unlink_lru_entry): Added comment about locking
1334 * arlad/.gdbinit: add random gdb sequences for your late night
1337 1999-09-13 Love <lha@s3.kth.se>
1339 * appl/vos/vos_local.h: Iflags now defined in volumeserver.xg
1341 * xfs/bsd/xfs_dev-common.c (xfs_message_rpc): ignore SIGALRM
1343 1999-09-11 Magnus Ahltorp <map@stacken.kth.se>
1345 * configure.in: Don't use fpu registers on alpha and sparc64
1347 1999-09-10 Love <lha@s3.kth.se>
1349 * ydr/sym.h (Symbol): add u.proc.package
1351 * ydr/parse.y (proc_decl): save what package we was created ``in''
1352 (directive): add package to packagelist
1354 * ydr/output.h (packagelist): add extern prototype.
1356 * ydr/output.c (packagelist): used to keep track of what packages
1358 (generate_hdr_struct): don't be suprised by a empty definition.
1359 (generate_init): create list packagelist
1360 (generate_server_switch/gencase): iterate over all packages in
1363 * ydr/parse.y (directive): estrdup package
1365 * appl/lib/arlalib.c (arlalib_getsyncsite): seams like the
1366 syncsite doesn't fill in the syncsiteaddress for some odd reson.
1368 * arlad/services.h: added KA one of services
1370 * rxdef/Makefile.in: add ka server stuff
1372 * rxdef/ka.xg: (new file) partial kaserver def.
1374 * appl/asrvutil/*: Initial import, a afs equivalent of ksrvutil.
1376 * conf/CellServDB (e.kth.se): changed names of db servers
1378 * conf/CellServDB (jpl.nasa.gov): new db-servers
1380 1999-09-10 Assar Westerlund <assar@sics.se>
1382 * appl/Makefile.in (SUBDIRS): partly set conditionally
1384 * lib/ko/koerror.c: move around includes
1386 * include/stds.h: more ifdef
1388 * configure.in: handle --without-krb4 set APPL_SUBDIRS to build
1389 some subdirs of appl conditionally
1391 * include/Makefile.in: add acl.h
1393 * arlad/fcache.c: some ifdef KERBEROS
1395 * arlad/bsd-subr.c (conv_dir): ignore fcache_fhget failing
1397 * lib/ko/auth.c: ifdef KERBEROS
1399 * lib/acl/acl_files.c: ifdef KERBEROS
1401 1999-09-09 Assar Westerlund <assar@sics.se>
1403 * rxdef/cb.xg: int32 -> int32_t
1405 * rxdef/cb.xg: add new RPCs for AFS3.5 and the data types used by
1408 * rxdef/common.h (afs_UUID): add
1410 * rxdef/vldb.xg: move afs_UUID to common.h
1412 * arlad/cmcb.c: implement stubs for the 3.5 RPCs
1414 * configure.in: always link with -lkrb et al when testing for
1415 -lkafs (this breaks with shared libraries otherwise)
1417 1999-09-03 Assar Westerlund <assar@sics.se>
1419 * appl/lib/arlalib.c (rx_initlizedp): remove, rx takes care of not
1422 1999-08-16 Assar Westerlund <assar@sics.se>
1424 * xfs/include/xfs/xfs_attr.h: remove obsolete comment
1426 * xfs/solaris/xfs_syscalls.c (xfs_pioctl_call): ifdef the 32 bit
1427 versions so we don't get duplicates
1429 * xfs/include/xfs/xfs_message.h (xfs_msg_node): add more padding
1432 * lwp/make-process.o.sh.in: handle all kinds of sparcs
1434 1999-09-09 Marcus Sundberg <mackan@stacken.kth.se>
1436 * configure.in: Check for linux/devfs_fs_kernel.h
1438 * xfs/linux/xfs/xfs_locl.h: If linux/devfs_fs_kernel.h is available,
1439 use that instead of linux/devfs_fs.h
1441 1999-09-07 Love <lha@s3.kth.se>
1443 * arlad/fcache.c (throw_data): use entry->status.Length when
1446 * arlad/fcache.c (create_file): remove superflourius
1447 free_fs_server_context in case of error
1449 1999-09-06 Love <lha@s3.kth.se>
1451 * arlad/xfs.c (xfs_send_message_gc_nodes): log the number of nodes
1454 * arlad/fcache.c (do_read_attr): remeber to free context when
1455 failing, add comment about fs_context
1456 (write_attr): remeber to free fs_context when failing
1457 (create_file): emeber to free fs_context when failing
1459 1999-09-03 Love <lha@s3.kth.se>
1461 * conf/Makefile.in (install) At least try to set the bits rights
1464 * configure.in: Check for chmod
1466 * xfs/solaris/bin/Makefile.in: Added krb_lib_flags
1468 1999-09-03 Assar Westerlund <assar@sics.se>
1470 * lib/ko/Makefile.in (LIB_SOURCES): add afsconf and auth
1471 (install): install header files
1473 * lib/ko/{cellconfig.h,afsconf.c,auth.h,auth.c}: new files for
1474 some transarc library compatability
1476 * lib/ko/ports.c (ports_init): make sure we only execute once
1478 1999-08-30 Assar Westerlund <assar@sics.se>
1480 * tests/Makefile.in (REALCFLAGS): add $(srcdir)/../include
1482 1999-08-30 Love <lha@s3.kth.se>
1484 * configure.in: Added check for libkafs with AC_FIND_FUNC_NO_LIBS
1486 1999-08-29 Love <lha@s3.kth.se>
1488 * appl/udebug/udebug.c: Host order bug noticed by Dr A V Le Blanc
1491 * README: Update that programs we distribute
1493 1999-08-28 Love <lha@s3.kth.se>
1495 * conf/Makefile.in: Create the cache-dir
1497 1999-08-27 Love <lha@s3.kth.se>
1499 * xfs/linux/xfs_message.c (xfs_message_installdata): Add code for
1500 open_namei in the linux2.1+ case.
1502 * configure.in (AC_OUTPUT): Changed to reflect new directory
1505 * appl/*/Makefile.in (RXKAD_LIBS): use @MILKO_RXKAD_LIBS@
1507 * xfs/include/xfs/xfs_message.h: Ugly hack for WIN32/i386
1509 1999-08-25 Love <lha@s3.kth.se>
1511 * xfs/winnt/src/xfs_vops.c: Added create
1513 * xfs/winnt/xfs.reg [Dos Devices] Change place of device
1515 * xfs/winnt/README: Added more tips and tools
1517 * xfs/winnt/src/xfs_init.c: start using XFSLOG and xfs_debug()
1519 * xfs/winnt/inc/xfs_locl.h: Added <stdio.h> <stdarg.h>
1521 * xfs/winnt/src/xfs_deb.c (xfs_debug): implement
1523 * xfs/winnt/inc/xfs_proto.h: Add prototyp for xfs_debug()
1525 * xfs/winnt/inc/xfs_deb.h: rename things to XFSLOG since that is
1526 what is realy is add XDEB things from xfs/include/xfs_debug.h,
1527 should really be an include XXX
1529 * xfs/winnt/src/xfs_vops.c (*): more sane debugging
1530 (xfs_queryvol,xfs_fscontrol): added placeholder
1532 * xfs/winnt/src/xfs_init.c: Added IRP_MJ_QUERY_VOLUME_INFORMATION,
1533 IRP_MJ_FILE_SYSTEM_CONTROL more debugging
1535 * xfs/winnt/inc/xfs_deb.h: Misc debugging constants
1537 * xfs/winnt/inc/xfs_proto.h: Added xfs_queryvol, xfs_fscontrol
1539 * xfs/winnt/inc/xfs_locl.h: include xfs_deb.h
1541 1999-08-22 Love <lha@flippflopp.passet.pp.se>
1543 * appl/lib/arlalib.c: remove empty comment ad the end
1545 * appl/lib/appl_locl.h: move <kafs.h> outside #ifdef KERBEROS
1547 * appl/afsutils/unlog.h: change prototype of do_help
1549 * appl/afsutils/tokens.c (*): Added nonkerberos support
1551 * appl/afsutils/klog.c (main) moved non-global stuff to main
1552 (*): Added non-kerberos support.
1554 * appl/afsutils/TODO.afsutils (general): fixed mktemp and /ticket
1557 * appl/*: new style tree (one program in each dir (almost))
1559 1999-08-21 Love <lha@s3.kth.se>
1561 * appl/fs.c (getcache_cmd): formating fix
1563 * tests/run-tests.in: Format stuff for tests now when they are
1564 reformated print date when we are done.
1566 1999-08-20 Assar Westerlund <assar@sics.se>
1568 * xfs/linux/xfs_syscalls.c (unpag): repair linux 2.0 code
1570 * xfs/linux/xfs_message.c (gc_vnode): try to handle linux 2.0
1572 * xfs/linux/xfs_node.c (xfs_iget): use get_empty_inode if we have
1575 * configure.in (AC_LINUX_FUNC_GET_EMPTY_INODE): add
1577 * rx/Makefile.in (test_rx_clock): add dependency on $(LIB)
1579 1999-08-17 Love <lha@s3.kth.se>
1581 * arlad/xfs.c (xfs_message_wakup): Added check for lost messages.
1584 * configure.in(linux): Set KERNEL_CC to CC as default
1586 1999-08-17 Simon Josefsson <jas@pdc.kth.se>
1588 * appl/klog.c (do_timeout): Use waitpid() instead of wait4().
1590 * xfs/irix/Makefile.in (distclean,distclean-subdirs): New targets.
1592 * xfs/irix/bin/Makefile.in (distclean): New target.
1594 * conf/Makefile.in (distclean): Remove Makefile.
1596 * lwp/Makefile.in (clean): Remove process.i.
1597 (distclean): Remove Makefile.
1599 * include/Makefile.in (distclean): New target.
1601 1999-08-14 Love <lha@s3.kth.se>
1603 * tests/find-linux: new test
1605 * tests/run-tests.in: beatified and added test find-linux
1607 * arlad/fcache.c (emergency_remove_node): added function
1608 (cleaner): try to throw nodes when they are in kernel
1609 (unlink_lru_entry): call emergency_remove_node() if we are short on nodes.
1611 1999-08-10 Assar Westerlund <assar@sics.se>
1613 * configure.in: AC_DEFINE with three arguments to avoid having
1614 garbage in acconfig.h
1616 * acconfig.h: remove more from this supposed-to-be-empty file
1618 1999-08-09 Assar Westerlund <assar@sics.se>
1620 * configure.in: use AC_HAVE_KERNEL_DEF instead of AC_HAVE_DEF
1622 1999-08-08 Assar Westerlund <assar@sics.se>
1624 * xfs/linux/xfs/xfs_locl.h: try to move up asm/current.h even more
1626 1999-08-08 Assar Westerlund <assar@sics.se>
1630 1999-08-08 Assar Westerlund <assar@sics.se>
1632 * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhlookup): correct call to
1633 xfs_vfs_object_create
1635 * xfs/bsd/xfs_syscalls-common.c (fhget_call): return a
1636 `xfs_handle_t' and not a `fh_args' in vice_ioctl->out
1638 * xfs/bsd/xfs/xfs_common.h (memcpy): add prototype
1640 * xfs/bsd/xfs_common-bsd.c (memcpy): implement in terms of bcopy
1641 for the kernels that don't have it
1643 * configure.in: check for memcpy in kernel
1645 * arlad/messages.c (xfs_message_remove): always do an installnode
1646 instead of an installattr sometimes. this seems to solve
1649 * appl/Makefile.in (LIBS): gratious link with RXKAD_LIBS.
1651 * appl/tokens.sh: retire
1653 * appl/Makefile.in: remove SHELL_SCRIPTS. none left after
1654 tokens.sh was retired
1656 * xfs/solaris/Makefile.in (DEFS): include KERNEL_CFLAGS
1658 * configure.in (solaris): try to handle 64-bit sparc
1660 * configure.in (linux): add `-ffixed-8' when compiling on alpha
1661 (setgroups-tests): add _LKM, should really use KERNEL_foo instead
1663 1999-08-04 Assar Westerlund <assar@sics.se>
1665 * arlad/messages.c (xfs_message_pioctl): conditionalize to death
1666 (for 32 bit compat foobar).
1668 * include/kafs.h: conditionalize 32-bit guck
1670 * appl/klog.c: merge in more patch from Chris Wing
1671 <wingc@engin.umich.edu>:
1673 1) Somebody broke the behavior of the -tmp option. (made get_tkt
1674 FALSE instead of TRUE). Fixed.
1676 2) mkstemp() from roken creates a unique temporary file and
1677 returns the name. Previously I had used mktemp(), which returns
1679 (I originally dealt with the possible race condition by putting the
1680 ticket files in a directory called /ticket, mode 1733).
1682 The problem is that if a ticket cannot be gathered (for
1683 instance, if the wrong password is entered), this temporary
1684 file will stick around.
1686 Fixed so that the ticket file is automatically destroyed if it
1687 isn't made available to the user.
1689 3) If -setpag is used and the shell cannot be exec()ed, the AFS
1690 token will stick around in a ghost PAG. Now klog makes sure to
1691 remove the token in this case.
1693 (as per the recent discussion about bloating the AFS client with large
1694 numbers of dead credentials)
1696 4) Minor changes to move all warning messages to use warnx, diet,
1697 etc., eliminating fprintf(stderr, ... )
1699 5) Minor changes to warning messages missing whitespace or having
1700 superfluous newlines
1702 1999-08-02 Assar Westerlund <assar@sics.se>
1704 * arlad/messages.c (xfs_message_pioctl): handle all the 32 bit
1705 versions of the pioctls
1707 * xfs/solaris/xfs_wrap.c: install the 32bit syscall
1709 * xfs/solaris/xfs_syscalls.c (xfs_syscall32): implement a 32 bit
1710 syscall (to be used when running on solaris 7 in 64bit mode)
1712 * include/kafs.h: define ViceIoctl32 for the 32bit API in case
1713 it's different. also define all the pioctl values with _32
1714 appended because the sizeof the struct may be used to to derive
1715 the actual value used.
1717 * configure.in (--with-krbafs): handle both pointing at the prefix
1719 (setgroups tests): define all kernel defines and correct name of
1720 sysproto macro (this should really be done with the kernel test)
1722 * arlad/afsdir_check.c: don't include arla_local.h because that
1723 would give us xfs.h which we don't want.
1724 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_link): try to handle early
1725 FreeBSD here as well
1727 * arlad/arladeb.c: don't include arla_local.h because that would
1728 give us xfs.h which we don't want.
1730 1999-08-02 Love <lha@s3.kth.se>
1732 * conf/CellServDB (umr.edu): Uppdated
1734 1999-08-01 Love <lha@s3.kth.se>
1736 * arlad/fcache.c (fcache_fhget): move vice_ioctl to avoid warning.
1738 * xfs/bsd/xfs/xfs_syscalls.h (xfs_fhandle_t): define
1740 * xfs/bsd/xfs/xfs_locl.h: glue for xfs_vfs_getvfs and
1741 xfs_vfs_object_create
1743 * xfs/bsd/xfs_vfsops-osf.c (xfs_fhlookup): use opaque
1744 xfs_fhandle_t instead of (fsid,fileid,gen)
1745 (xfs_fhopen): changed to new signature
1747 * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhlookup): new signature, use
1748 opaque struct to pass in fh-data and typecast it to xfs_fh_args or
1749 fhandle_t depending on if we have a working VPTOHP (ie getfh)
1750 (xfs_fhopen): use native sys_fhopen
1752 * xfs/bsd/xfs_syscalls-common.c (fhget_call): implement a fhget if
1753 we have a working VPTOFH.
1754 (fhopen_call): use xfs_fhandle_t instead of fh_args.
1756 * xfs/bsd/xfs_message.c (xfs_message_installdata): use new style
1758 (xfs_message_version): reenable native fhget
1760 * xfs/solaris/xfs_syscalls.c (xfs_unpag): implement
1762 1999-07-29 Assar Westerlund <assar@sics.se>
1764 * appl/klog.c: use krb_get_pw_in_tkt instead of krb_get_pw_in_tkt2
1765 and don't use krb_get_default_principal to be compatible with CNS
1767 * lib/acl/acl_files.c (krb_principal): removed definition. we get
1770 * lwp/process.S: use ENTRY instead of _ENTRY to be more consistent
1771 with the definitions in <machine/asm.h>
1773 1999-07-29 Love <lha@s3.kth.se>
1775 * arlad/messages.c (try_again): free connections then we get a
1778 * rx/rx.c (rxi_ReceivePacket): if there is an error with the
1779 connection propagate that up to the user with
1780 rxi_ConnectionError()
1782 1999-07-29 Assar Westerlund <assar@sics.se>
1784 * lwp/process.S: try to be more consitent with using _C_LABEL and
1787 * configure.in: some more <sys/time.h>, from Harald Barth
1790 1999-07-29 Love <lha@s3.kth.se>
1792 * conf/CellServDB: Added eng.utah.edu, anl.gov changed
1794 * include/Makefile.in: Added parse_time.h, by Ken Raeburn
1795 <raeburn@raeburn.org>
1797 * xfs/bsd/xfs/xfs_locl.h: include xfs/xfs_syscalls.h instead of
1798 sys/syscallargs.h to avoid dual inclusion by Ken Raeburn
1799 <raeburn@raeburn.org>
1801 * configure.in: added <sys/time.h> for setgroups test as suggested
1802 by Ken Raeburn <raeburn@raeburn.org>
1804 1999-07-28 Love <lha@s3.kth.se>
1806 * arlad/fcache.c (stale): throw data if we have any
1808 1999-07-28 Assar Westerlund <assar@sics.se>
1810 * arlad/volcache.c (sanitize_nvldbentry): added. used.
1812 * arlad/volcache.c (volcache_getbyname, volcache_getbyid): move
1813 the setting of stablep here
1815 * arlad/messages.c (try_again): figure out if the volume
1816 information is reliable
1818 * arlad/volcache.c (cmp_nvldbentry): new function
1819 (volcache_reliable): another new function
1820 (*): maintain stablep
1822 * arlad/volcache.h (volcacheentry): add last_fetch and stablep
1823 (volcache_reliable): prototype
1826 1999-07-25 Simon Josefsson <jas@pdc.kth.se>
1828 * tests/hardlink1.c (main): Non-ambigous errors.
1830 1999-07-25 Magnus Ahltorp <map@stacken.kth.se>
1832 * xfs/linux/xfs/xfs_msg_locl.h: Added xfs_message_{version,gc_nodes}
1835 * xfs/linux/xfs_message.c (xfs_message_version): new func, what
1837 (xfs_message_gc_nodes): throw away nodes that isn't used
1839 * xfs/linux/xfs_dev.c: Call new functions
1841 1999-07-25 Love <lha@s3.kth.se>
1843 * tests/run-tests.in: -p for `fs calculate`
1845 * appl/fs_lib.c (fs_calculate_cache): new function
1847 * arlad/messages.c (vioc_calculate_cache): New function
1849 * arlad/fcache.c (fcache_calculate_usage,sum_node): new functions
1850 to calculate real cachesize
1852 * include/kafs.h: added VIOC_CALCULATE_CACHE (58)
1854 * arlad/reconnect.c (reconnect_mkdir): Dont run mkdir on the
1855 child-node, its already done.
1857 1999-07-24 Assar Westerlund <assar@sics.se>
1859 * ydr/output.c (error_function): let the default be the empty
1860 string which makes lots of stuff much simpler
1861 (generate_simple_stub): always use error_function
1863 * arlad/fcache.c (throw_data): correct the assert to use the
1865 (try_next_fs): return TRUE for ARLA_VNOVOL (suggested by Jeffrey
1866 Hutzelman <jhutz+@cmu.edu>)
1867 (read_attr): don't free server context if do_read_attr fails
1868 (read_data): increment `usedbytes' when we have actually gotten the
1870 (fcache_get_data): don't free server context if do_read_attr fails
1872 1999-07-24 Love <lha@s3.kth.se>
1874 * arlad/*-subr.c: use fcache_get_fbuf and fdir_readdir instead of
1875 adir_readdir to avoid racecondition
1877 * arlad/adir.c (get_fbuf_from_fcache): remove and use
1878 fcache_get_fbuf instead.
1880 * arlad/fcache.[ch] (fcache_get_fbuf): new function
1882 * arlad/xfs.[ch]: Move a lot of xfs related stuff here. Document
1883 and clarify how each function is (almost) suppose to work,
1884 REMEMBER the comments are only there to confuse you.
1886 * arlad/messages.[ch]: move a lot of xfs related stuff from
1887 message.[ch] to xfs.[ch]
1889 * arlad/kernel.c (version_thread): don't wait, just exit
1891 * appl/vos_dump.c (dump_volume): use conv_to_arla_errno for
1894 * xfs/include/xfs/xfs_message.h: Add
1895 xfs_message_{version,gc_nodes} messsages
1897 * xfs/bsd/xfs/xfs_msg_locl.h: Added xfs_message_{version,gc_nodes}
1900 * xfs/bsd/xfs_message.c (xfs_message_version): new func, what this
1902 (xfs_message_gc_nodes): throw away nodes that isn't used, XXX
1905 * arlad/fcache.c (fcache_fhopen,fcache_fhget): check if we have
1907 (throw_data): don't assert on wrong length, file might be broken
1908 from and faulty StoreData.
1909 (cleaner): run xfs_send_message_gc_nodes() to try to gc nodes that
1911 (emergency_remove_data): use xfs_send_message_gc_nodes() to throw
1912 any lot of nodes that is ref:ed by xfs
1913 (read_data): use conv_to_arla_errno() for afs-errors
1914 (write_data): open file RW so we can truncate if it we get an
1915 error while storing the file
1916 (truncate_file): use conv_to_arla_errno() for afs-errors
1918 * lib/bufdir/fbuf.c (mmap_copy{rx2fd,fd2rx}): use
1919 conv_to_arla_errno to fetch afs special error (VDISKFULL & co)
1922 * arlad/reconnect.c (reconnect_putattr): use conv_to_arla_errno to
1923 fetch afs special error (VDISKFULL & co) from rx_Write()
1925 * arlad/messages.h (xfs_message_{send,sleep}): export
1927 * arlad/messages.c (*): Add gc node stuff
1928 (xfs_message_{send,sleep}): export
1929 (xfs_message_rpc): move to xfs.[ch]
1931 * arlad/kernel.c (kernel_interface): create version_thread
1932 (version_thread): start probing on what xfs can do. (XXX do
1935 * arlad/arla_local.h: Added "xfs.h"
1937 * arlad/Makefile.in: Added xfs.[cho]
1939 * arlad/xfs.[ch]: xfs related stuff, like version-control and
1940 xfs_send_message_gc_nodes().
1942 * configure.in: AC_CHECK_KERNEL_FUNCS(vgonel)
1944 1999-07-23 Love <lha@s3.kth.se>
1946 * arlad/messages.c (xfs_message_rmdir): only do sillyrename when
1947 linkcount == 2, add comments.
1948 (xfs_message_remove): only set it silly when linkcount == 1 (ie
1949 last reference to file)
1952 (do_read_attr,write_data,write_attr,fcache_get_data): don't read
1953 attr if its a silly rename.
1955 1999-07-20 Love <lha@s3.kth.se>
1957 * arlad/fcache.c (fcache_get): reset flags.silly
1958 (fcache_recover_state): set flags.silly == FALSE
1959 (fcache_reobtain_callbacks): check for flags.silly
1960 (fcache_giveup_all_callbacks): check for flags.silly
1962 * arlad/reconnect.c (do_replay): ftruncate the log_file
1964 * arlad/messages.c (xfs_message_remove): Only insert limbo entry
1965 into kernel when its there, add comment.
1967 * arlad/inter.c (cm_symlink): the caller of create_symlink is
1968 resonsible of setting flags.kernelp.
1970 * arlad/fcache.c (create_symlink): move out settign of
1971 flags.kernelp, since the entry might be a mountpoint and the
1972 child_entry is never pushed to the kernel.
1974 * arlad/inter.c (cm_lookup): make sure ret is set to a correct
1977 * appl/fs.c (getcache_cmd): use getarg, enable printing of bytes
1980 * appl/amon.c (GetUsedBytes): change names to reflect new
1981 fs_getfilecachestats
1983 * appl/fs.c (getcache_cmd): use new fs_getfilecachestats() that
1984 uses bytes instead of kbytes
1986 * appl/fs_lib.c (fs_getfilecachestats): change signature, pass
1987 bytes instead of kbytes.
1989 * arlad/messages.c (viocgetcacheparams): pass on
1990 fcache_{high,used}bytes unchanged to userland.
1992 1999-07-20 Assar Westerlund <assar@sics.se>
1994 * arlad/inter.h (cm_lookup): update prototype
1996 * arlad/inter.c (cm_lookup): new flags for following mount points
1998 * arlad/messages.c: new version of cm_lookup, change callers
1999 (xfs_message_remove): set tokens correctly
2001 1999-07-20 Artur Grabowski <art@stacken.kth.se>
2003 * configure.in: test for machine/endian.h
2005 * rxkad/rxk_crpt.c: add a special test for endianness to allow
2006 static config.h on many architectures. (don't ask)
2008 * xfs/bsd/xfs_common-bsd.c: make it build without XFS_DEBUG.
2010 1999-07-20 Love <lha@s3.kth.se>
2012 * xfs/bsd/xfs/xfs_locl.h: add test for {sys_,}setgroups_args
2014 * xfs/bsd/xfs_syscalls-common.c (xfs_setgroups): use
2015 xfs_setgroups_args and SCARG
2017 * configure.in: test for {,sys_}setgroups_args
2019 * cf/have-def.m4: New macro
2021 1999-07-20 Assar Westerlund <assar@sics.se>
2023 * xfs/linux/xfs_vfsops.c: handle d_alloc_root with one and two
2026 * configure.in: use AC_LINUX_FUNC_D_ALLOC_ROOT_TWO_ARGS
2028 * cf/linux-func-d_alloc_root-two_args.m4: new test
2030 * xfs/solaris/xfs_syscalls.c (xfs_setgroups): port the linux patch
2031 to prohibit setting the pag with setgroups
2033 * xfs/bsd/xfs_syscalls-common.c (xfs_setgroups): port the linux
2034 patch to prohibit setting the pag with setgroups
2036 * xfs/linux/xfs_syscalls.c (xfs_setgroups): always leave from the
2037 PAG. prevent it from installing fake PAGs. From Chris Wing
2038 <wingc@engin.umich.edu>
2040 * arlad/fcache.c (create_symlink): remove bogus increate of
2043 1999-07-20 Assar Westerlund <assar@sics.se>
2045 * arlad/fcache.c (fcache_extra_file_name): terminate string
2048 1999-07-19 Assar Westerlund <assar@sics.se>
2050 * tests/hardlink1.c: more testing
2052 * xfs/linux/xfs_inodeops.c (xfs_getattr): new function for return
2053 the attributes for a file or directory. installed in all the
2054 instances of `struct inode_operations'. This requires the patch
2055 adding the getattr operation to inode_operations.
2057 * xfs/linux/xfs/xfs_locl.h: <asm/current.h>: conditionalize
2059 * configure.in: check for asm/current.h check for {updatepage,
2060 revalidate, and getattr} in `struct inode_operations'
2062 * NEWS: mention new cache file names
2064 * arlad/messages.c (token_for_cell): copy out the ticket
2066 1999-07-19 Simon Josefsson <jas@pdc.kth.se>
2068 * appl/fs.c (copyacl_cmd):
2069 (afs_copyacl): New functions.
2070 (afs_setacl): Garbage collect empty rights. Don't segfault on
2073 1999-07-19 Assar Westerlund <assar@sics.se>
2075 * arlad/fcache.c (fcache_extra_file_name): add the @ at the end
2078 1999-07-15 Love <lha@s3.kth.se>
2080 * arlad/messages.c (voicckserv): s,0,cell_name2num
2081 (cell_getthiscell());,
2083 1999-07-15 Assar Westerlund <assar@sics.se>
2085 * appl/klog.c (main): use kname_parse instead of krb_parse_name
2087 1999-07-14 Assar Westerlund <assar@sics.se>
2089 * appl/appl_locl.h: <sys/wait.h>
2091 * lib/acl/acl_files.c: some functions to handle other kerberos
2094 * appl/tokens.c (krb_kdctimeofday): check for
2096 * appl/klog.c: fallback for KRB_TICKET_GRANTING_TICKET
2098 * configure.in: check for sys/wait.h
2100 * configure.in: AC_FUNC_KRB_KDCTIMEOFDAY: add
2102 * tests/Makefile.in: add create-{symlinks,dirs}
2104 * arlad/fcache.c: make the cache directory two-level
2106 * arlad/fcache.h (fcache_dir_name): new prototype
2108 * tests/many-dirs: use create-dirs
2110 * tests/many-symlinks: use create-symlinks
2112 * tests/create-symlinks.c: new file
2114 * tests/create-dirs.c: new file
2116 * tests/many-files: use create-files
2118 * tests/create-files.c: new program for creating lots of files
2120 * tests/Makefile.in: add create-files
2122 * tests/read-vs-mmap2.c (mmap_file): needed cast
2124 * tests/read-vs-mmap.c (mmap_file): needed cast
2126 * appl/fs.c (afs_whereis): remove htonl - address is already in
2129 1999-07-13 Love <lha@s3.kth.se>
2131 * xfs/winnt/*: Added dead code.
2133 * arlad/bsd-subr.c (dir_remove_name): Add assertions. Only merge
2134 with previous dirent, if there is enough space in the dirent.
2136 * appl/klog.c: start to use diet{,x}
2137 (randfilename): rewrite, umich compat on ticketfile
2139 * appl/{README.afsutils,TODO.afsutils}: Note by Chris Wing
2140 <wingc@engin.umich.edu>
2142 * appl/klog.[ch1]: Added klog by Chris Wing
2143 <wingc@engin.umich.edu>
2145 * appl/unlog.[ch1]: Added unlog by Chris Wing
2146 <wingc@engin.umich.edu>
2148 * appl/appl_locl.h: Added <kafs.h>, <parse_time.h>
2150 * appl/amon.c: removed <kafs.h>
2152 1999-07-12 Magnus Ahltorp <map@stacken.kth.se>
2154 * appl, lib/ko: Move partition name conversion to libko
2156 1999-07-06 Assar Westerlund <assar@sics.se>
2158 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_link): only vput on OpenBSD and
2161 1999-07-06 Love <lha@s3.kth.se>
2163 * arlad/volcache.c (get_info_loop): check for dynroot volume
2165 * arlad/fcache.c (read_attr): check for dynroot
2166 (getroot): check for dynroot
2167 (fcache_get_data): check for dynroot
2169 * arlad/arla.c: (args): -dynroot, -D for dynroot
2171 * arlad/arla_local.h: <dynroot.h>
2173 * arlad/Makefile.in (SOURCE,HEADER,OBJECT) += dynroot.?
2175 * arla/dynroot.[ch]: dynamic root, new files.
2177 * lib/ko/ko.h (cell_foreach,cell_get_version): export
2179 * lib/ko/kocell.c (celldb_version): version of in-memory
2180 (cellno): dont use the 0 cell
2181 (add_cell): assert on cell == 0
2182 (cell_init): add dynroot cell
2183 (cell_foreach): make a iterator function
2184 (cell_get_version): return version of the db
2185 (add_special_dynroot_cell): add dynrootcell to the celldb
2187 1999-07-04 Love <lha@s3.kth.se>
2189 * tests/fs-flush: test to flush
2191 1999-07-04 Assar Westerlund <assar@sics.se>
2193 * tests/run-tests.in (ARLA_TESTS): add mkdir2
2195 * tests/Makefile.in (mkdir2): add
2197 * tests/mkdir2.c: new test
2199 * tests/run-tests.in (ARLA_TESTS): add hardlink2
2201 * tests/hardlink2.c: new test
2203 * tests/Makefile.in (hardlink2): add
2205 * arlad/messages.c (xfs_message_remove): fall back to conv_dir if
2206 dir_remove_name fails. decrement the linkcount to zero if it was
2207 one before so that hardlink1 succeeds. generally clean-up.
2209 1999-07-03 Assar Westerlund <assar@sics.se>
2211 * tests/test-gunzip-gnu-mirror: replace spaces in the case-pattern
2212 with * (how do you quote in a case-pattern?)
2214 * tests/run-tests.in (ARLA_TESTS): add test-gunzip-gnu-mirror
2216 * tests/test-gunzip-gnu-mirror: new test
2218 1999-07-01 Assar Westerlund <assar@sics.se>
2220 * arlad/arla_local.h: add <sys/mount.h>
2222 * configure.in (NetBSD): figure out PMAP_NEW in the same way as
2225 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_link): VOP_UNLOCK ->
2228 * configure.in (NetBSD): fix test syntax, hopefully.
2230 * arlad/fcache.c (fcache_fhopen, fcache_fhget): try to handle
2231 getfh and fhopen syscalls
2233 * configure.in (VERSION): bump to 0.27pre
2234 (getfh, fhopen): check for
2236 1999-06-29 Assar Westerlund <assar@sics.se>
2238 * arlad/messages.c (xfs_message_remove): install attributes for
2239 the dead none so that if there are more links to it they will get
2240 the correct link count
2242 * tests/Makefile.in: add hardlink1
2244 * tests/hardlink1.c: new test
2246 * tests/run-tests.in (ARLA_TESTS): add hardlink1
2248 * xfs/linux/xfs_node.c (new_xfs_node): always update the inode
2251 * appl/fs.c (afs_print_sysname): transarc-compatible quoting.
2252 From Simon Josefsson <jas@pdc.kth.se>
2254 * arlad/messages.c (token_for_cell): return the viceId instead.
2255 From Chris Wing <wingc@engin.umich.edu>
2257 1999-06-29 Assar Westerlund <assar@sics.se>
2261 * configure.in (VERSION): bump
2263 * configure.in (irix): set IP in a more robust way
2265 * xfs/linux/xfs_inodeops.c (xfs_print_lock): punt on printing
2266 `waking' since it's different types on different architectures
2268 1999-06-28 Johan Danielsson <joda@pdc.kth.se>
2270 * xfs/bsd/xfs_vnodeops-osf.c: implement xfs_mmap, and (crude)
2273 * xfs/bsd/xfs_message.c (xfs_message_installdata): ugly hack to
2274 prevent panics on OSF/1
2276 1999-06-26 Assar Westerlund <assar@sics.se>
2278 * xfs/linux/xfs_dev.c (xfs_message_rpc): remove unused variable
2280 * xfs/linux/xfs_inodeops.c: removed som printf warnings
2282 1999-06-24 Assar Westerlund <assar@sics.se>
2284 * lib/bufdir/fbuf.h: <rx/rx.h>: add
2286 1999-06-23 Assar Westerlund <assar@sics.se>
2288 * xfs/linux/bin/arla.init.in: new sysv-style init file from Marko
2289 Asplund <aspa@hip.fi>
2291 * arlad/messages.c (xfs_message_remove): remove the entry from the
2292 converted directory but without moving anything around (with
2293 dir_remove_name). also install it with XFS_DATA_R. this should
2294 fix the problem with large-dir-extra
2296 * arlad/solaris-subr.c (dir_remove_name): implement
2298 * arlad/sunos-subr.c (dir_remove_name): implement
2300 * arlad/irix-subr.c (dir_remove_name): implement
2302 * arlad/hpux-subr.c (dir_remove_name): implement
2304 * arlad/aix-subr.c (dir_remove_name): implement
2306 * arlad/solaris-subr.c (dir_remove_name): some more paranoia
2308 * arlad/subr.h (dir_remove_name): new prototype
2310 1999-06-22 Johan Danielsson <joda@pdc.kth.se>
2312 * xfs/bsd/xfs_wrap-osf.c (xfs_configure): check for errors
2314 1999-06-20 Assar Westerlund <assar@sics.se>
2316 * lib/bufdir/fdir.c (fdir_readdir): initialize `len'. start using
2317 fbuf_len and fbuf_buf
2319 * configure.in: comment out test for mode_t and nlink_t
2321 * lib/bufdir/fbuf.c (mmap_copyfd2rx): correct arguments to mmap
2323 * arlad/fcache.c (find_first_fs): don't segv when e->volume is not
2325 (write_data): new copyfd2rx
2327 * lib/bufdir/fbuf.c (copyfd2rx): also include offset
2329 * arlad/adir.c: remove all unsued variables
2331 * arlad/adir.c: start using fdir
2333 * arlad/inter.c: new signature for adir_lookup_fcacheentry
2335 * arlad/adir.h (adir_lookup_fcacheentry): new parameter `dir'
2337 * arlad/Makefile.in: link with bufdir instead of our own copy of
2340 * include/Makefile.in (LOCL_HEADERS): add fbuf.h
2342 * tests/test-setgroups.c, tests/test-setpag.c (NGROUPS): define to
2343 NGROUPS_MAX if not def
2345 * tests/large-dir3.c: remove extra paranoid test
2347 * lwp/process.S: update comment for .register stuff on solaris 7
2349 * arlad/messages.c (xfs_message_create, xfs_message_mkdir): don't
2350 send down (owner,group) group attributes
2352 * appl/vos_common.c: get rid of some stupid ctype warnings
2354 * configure.in (mode_t, nlink_t): test for
2355 (const, endianness): also test for
2357 * arlad/fcache.c (create_directory): use the kludge of throwing
2358 away data if we for turn out to get a new directory with initial
2359 data. this is to make milko happy and should really be solved
2362 1999-06-19 Assar Westerlund <assar@sics.se>
2364 * arlad/arla.c: write the PID to /var/run/arlad.pid make
2367 1999-06-17 Johan Danielsson <joda@pdc.kth.se>
2369 * xfs/bsd/xfs_vnodeops-common.c (xfs_read_common): actually call
2372 1999-06-16 Assar Westerlund <assar@sics.se>
2374 * xfs/rhapsody/xfs_node.c (xfs_attr2vattr, vattr2xfs_attr): it's
2377 * xfs/rhapsody/xfs_message.c (xfs_message_installdata): the
2378 standard `tmp' -> `message->cache_name'
2380 * xfs/solaris/xfs_vnodeops.c (do_fsync): copy attributes
2382 * xfs/solaris/xfs_node.c (vattr2xfs_attr): only copy the
2383 interesting bits from va_mode
2385 1999-06-13 Assar Westerlund <assar@sics.se>
2387 * appl/vos_dump.c: patch from Alexandra Ellwood <lxs@MIT.EDU> to
2388 work around a rhapsody gcc bug (variables and typenames in the
2391 * arlad/arla.c (miain): complain if we can't create the cache
2392 directory or it doesn't exist
2394 1999-06-11 Assar Westerlund <assar@sics.se>
2396 * util/ip.[ch]: zaped
2398 1999-06-10 Johan Danielsson <joda@pdc.kth.se>
2400 * xfs/bsd/xfs_syscalls-common.c: remove some more ifdefs
2402 * xfs/bsd/xfs/xfs_locl.h: add xfs_proc_to_ruid
2404 1999-06-09 Assar Westerlund <assar@sics.se>
2406 * include/Makefile.in (LOCL_HEADERS): removed unexisting headers
2408 * ydr/main.c (main): use efopen and remove temporary files and
2409 give sensible error messages for popen failing
2411 1999-06-09 Johan Danielsson <joda@pdc.kth.se>
2413 * xfs/bsd/xfs_vnodeops-common.c: use
2414 xfs_vop_{read,write,access,getattr}
2416 * xfs/bsd/xfs/xfs_locl.h: add xfs_vop_{read,write,access,getattr}
2418 * xfs/bsd/xfs_syscalls-wrap-bsd.c: add support for NetBSD a.out
2421 * configure.in: check for aout_sysent to keep old pre-ELF NetBSD
2424 1999-06-08 Love <lha@s3.kth.se>
2426 * xfs/bsd/xfs_wrap-bsd.c (xfs_mod): dont have a special case for
2427 MOD_DISPATCH since we need the major number befor exiting.
2429 1999-06-08 Assar Westerlund <assar@sics.se>
2431 * arlad/messages.c (viocsettok): return ENOENT if the cell doesn't
2434 * xfs/bsd/bin/startarla.in: after thinking about it, it doesn't
2435 make very much sense to send kldload options that isn't supported
2436 on any machine other than mine
2438 1999-06-07 Assar Westerlund <assar@sics.se>
2440 * xfs/linux/getcwd.c: add <sys/types.h>. Patch from Derrick J
2441 Brashear <shadow@dementia.org>
2443 1999-06-04 Assar Westerlund <assar@sics.se>
2445 * xfs/bsd/bin/startarla.in: send -p to kldload
2447 1999-06-03 Assar Westerlund <assar@sics.se>
2449 * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhopen): FILE_UNUSE the `struct
2450 file'. This might solve arlad getting hung in `closef' on NetBSD
2452 * xfs/bsd/xfs_wrap-bsd.c (xfs_modload): make it compile
2454 * xfs/bsd/xfs/xfs_dev.h (xfs_is_xfs_dev): add prototype
2456 * xfs/bsd/xfs_wrap-osf.c (xfs_is_xfs_dev): new function
2458 * xfs/bsd/xfs_wrap-bsd.c (xfs_is_xfs_dev): new function
2460 * xfs/bsd/xfs_vfsops-common.c (xfs_mount_common): use
2461 xfs_is_xfs_dev instead of xfs_isdevopen
2463 * xfs/bsd/xfs_dev-osf.c (xfs_func_is_devopen): remove
2465 * xfs/bsd/xfs_dev-bsd.c (xfs_func_is_devopen): remove
2467 1999-06-03 Johan Danielsson <joda@pdc.kth.se>
2469 * xfs/bsd/xfs_wrap-bsd.c (xfs_mod): expand call to DISPATCH, since
2470 we want to get the assigned major number before exiting
2472 1999-05-31 Love <lha@s3.kth.se>
2474 * util/eefile.c (eefopen) Fail if mkstemp fails
2476 1999-05-30 Love <lha@s3.kth.se>
2480 1999-05-30 Assar Westerlund <assar@sics.se>
2482 * tests/run-tests.in (ARLA_TESTS): add discon-tar{1,2} and remove
2483 setgroups (it needs to be run as root)
2485 * tests/test-setgroups.c (main): kludgy tests to handle the case
2486 of the PAG being in slots (0 and 1) or (1 and 2)
2488 * configure.in: add test for .register on solaris as
2492 * rx/Makefile.in: add test_rx_clock
2494 * rx/test_rx_clock.c: new test program
2496 * tests/build-gdb: use gdb-4.18 instead
2498 * arlad/reconnect.c: only update the fids in the kernel if they
2501 * tests/run-tests.in: warm fuzzy at the end
2503 * tests/run-tests.in: add more discon*
2505 * arlad/reconnect.c (reconnect_putattr): comment out some code.
2506 handle directories correctly.
2508 * arlad/messages.c (xfs_message_mkdir): try to invent attributes
2509 when creating directories
2511 * arlad/fcache.c (write_attr): handle disconnected mode
2512 (create_file, create_directory): allocate fake FIDs from 1000 and 1001
2513 with an increment of two.
2515 * xfs/solaris/xfs/xfs_locl.h: add sys/syscall.h
2517 * xfs/irix/xfs_syscalls.c: junk unused code
2519 * tests/run-tests.in: recognize --version and --help
2521 * lwp/process.S: upgrade solaris 7 sparcv9 .register declarations
2522 to the (apparently) correct syntax. now we only need an autoconf
2525 * arlad/kernel.c: err format fixes
2527 * arlad/afsdir_check.c: err format fixes
2529 1999-05-30 Love <lha@s3.kth.se>
2531 * doc/partsofarla.texi: @xref in a () should be a @pxref
2533 * tests/boot-strap-arla: New test
2535 * conf/CellServDB: Added arla.e.kth.se
2537 * configure.in (CONFIG_FILES)+= milko/bos/Makefile
2539 * rxdef/bos.xg: Added partial bos def.
2541 * rxdef/Makefile.in: Add libbos{server,client}.a
2543 * arlad/service.h: Added bos service id
2545 * lib/ko/koerror.c: Prefixed all entries with appropiate prefixes.
2546 Added bos errorcodes.
2548 * appl/fs.c: fs strerror to easy find the errorcode
2550 1999-05-29 Assar Westerlund <assar@sics.se>
2552 * tests/run-tests.in (ARLA_TESTS): add new tests
2554 * tests/discon-{create,echo,mkdir}: new tests
2556 * arlad/volcache.c (volcache_set_rootvolume): assert there being a
2558 (VOLCACHE_SIZE): make prime
2560 * arlad/reconnect.c (fid_translate): make global
2561 (recon_hashtabdel, recon_hashtabadd): remove
2562 (reconnect_mkdir): remove bad error check
2564 * arlad/messages.c (xfs_message_putattr): write disconnected
2566 (xfs_message_create): try to invent attributes when creating
2568 (xfs_message_mkdir): log disconnected changes
2569 (viocconnect): remove ARLACACHEDIR
2571 * arlad/fcache.c (recon_hashtabadd, recon_hashtabdel): add
2572 handle the case of entry->volume == NULL in more places
2573 (init_fs_server_context): new function
2574 (find_first_fs): don't care about connected_mode
2575 (fcache_reobtain_callbacks): get volume entries here. is this right?
2576 (write_attr, create_directory, create_symlink, create_link,
2577 remove_file, remove_directory, rename_file, do_read_data, getacl,
2578 setacl, getvolstat, setvolstat): check connected_mode
2579 (create_file): initialize more attributes
2581 * arlad/discon_log.h: add more prototypes
2583 * arlad/conn.c (internal_get): don't check connected_mode here,
2584 it's done elsewhere.
2586 * configure.in: AC_HAVE_STRUCT_FIELD: fix uses
2588 * tests/mountpoint.in: run fs from objdir
2590 * tests/run-tests.in (MILKO_TESTS): add deep-tree2
2592 1999-05-28 Assar Westerlund <assar@sics.se>
2594 * configure.in (KRB_LIB_FLAGS): set
2596 * tests/Makefile.in: need to link against libkrb as well...
2598 * tests/run-tests.in: add new test: setgroups setpag
2600 * tests/Makefile.in: add setgroups and setpag
2602 * tests/setpag*, tests/setgroups*: add new tests
2604 * xfs/solaris/xfs_syscalls.c (store_pag): always get a new `struct
2607 * xfs/bsd/xfs_syscalls-common.c (store_pag): always get a new
2610 1999-05-28 Love <lha@s3.kth.se>
2612 * lib/ko/kocell.c: add cell_setthiscell
2614 * appl/vos_createentry.c: added cell, and corrected noauth, use cell in
2615 arlalib_getconnbyname, return a sane error
2617 * appl/vos_vldbexamine.c: Added, a examine that only probes the
2618 vldbserver (to be removed by when vldblist works).
2620 1999-05-27 Assar Westerlund <assar@sics.se>
2622 * xfs/solaris/xfs/xfs_syscalls.h: new prototypes
2624 * xfs/solaris/xfs_wrap.c: install/remove setgroups wrapper
2626 * xfs/solaris/xfs_syscalls.c: add setgroups wrapper
2628 * lib/acl/acl.h: add atypes.h to make stds.h happy
2630 * configure.in: fix the hstrerror tests
2632 * xfs/bsd/xfs_syscalls-common.c (store_pag): store the correct
2635 * xfs/bsd/xfs/xfs_syscalls.h (xfs_setgroups, old_setgroups_func):
2638 * xfs/bsd/xfs_syscalls-wrap-osf.c: save and restore setgroups
2641 * xfs/bsd/xfs_syscalls-wrap-freebsd.c: save and restore setgroups
2644 * xfs/bsd/xfs_syscalls-wrap-bsd.c: save and restore setgroups
2647 * xfs/bsd/xfs_syscalls-common.c (store_pag): new function
2648 (xfs_setgroups): wrapper around setgroups that preserves the PAG
2650 * xfs/linux/xfs_syscalls.c (xfs_setgroups): a wrapper around
2651 setgroups that preserves the PAG
2653 1999-05-25 Love <lha@s3.kth.se>
2655 * lib/ko/ko.h: Added <netinet/in.h>
2657 1999-05-22 Assar Westerlund <assar@sics.se>
2659 * INSTALL: note that if you change your prefix your kerberos/afs
2660 libraries may have problems.
2662 1999-05-22 Marcus Sundberg <mackan@stacken.kth.se>
2664 * xfs/linux/bin/startarla.in: Do insmod before creating missing
2665 device node - makes devfs happy.
2667 1999-05-19 Love <lha@s3.kth.se>
2669 * xfs/bsd/xfs_dev-bsd.c (xfs_devioctl): reorder defines
2671 * xfs/bsd/xfs_vfsops-common.c (xfs_mount_common): udev2dev for
2674 * configure.in: AC_CHECK_KERNEL_FUNCS check for udev2dev
2676 1999-05-19 Johan Danielsson <joda@pdc.kth.se>
2678 * configure.in: fix test for -mno-fp-regs on NetBSD/alpha
2680 * lib/bufdir/fbuf.c: sys/errno.h -> errno.h
2682 1999-05-18 Love <lha@s3.kth.se>
2684 * configure.in: CONFIG_FILES += milko/lib/msecurity
2686 1999-05-17 Love <lha@s3.kth.se>
2688 * milko/*: Added filbunke - nnp-server-class fileserver
2690 * include/Makefile.in: Added afs_dir.h
2692 * appl/vos_createentry.c (vos_createentry): zero out newentry
2694 Mon May 17 14:13:33 1999 Johan Danielsson <joda@pdc.kth.se>
2696 * xfs/bsd/xfs_vnodeops-bsd.c: only include vm/vnode_pager.h if
2699 1999-05-16 Assar Westerlund <assar@sics.se>
2701 * configure.in (AC_LINUX_FUNC_INIT_WAITQUEUE_HEAD): add
2703 * cf/linux-func-init-wait-queue-head.m4: new file
2705 * lwp/lwp.h (LWP_NewRock, LWP_GetRock): add prototypes
2707 * rx/rx_clock.c: handle the case of the itimer expiring
2709 * acconfig.h (__EXTENSIONS__): conditionalize. (it gets
2710 automatically defined on Irix and needs to be defined on Solaris)
2712 * appl/vos.c: move cmds to avoid a forward declaration
2714 * cf/linux-type-wait-queue-head.m4: try compiling instead of
2715 greping in linux/wait.h
2717 * arlad/fcache.c (fcache_extra_file_name): change the name for the
2718 converted directory to be @%04X
2720 * arlad/reconnect.c: adjusted the length of the filenames, based
2721 on a patch from Niklas Hallqvist <niklas@appli.se>.
2722 (copy_cached_file): simplify
2724 1999-05-15 Assar Westerlund <assar@sics.se>
2726 * xfs/linux/xfs_inodeops.c (xfs_print_lock): make it work on 2.3.2
2727 and 2.2 by printing less information. From Hee-Seok Heo
2728 <hsheo@postech.ac.kr>
2730 * xfs/linux/xfs_dev.c: patch from Hee-Seok Heo
2731 <hsheo@postech.ac.kr> for 2.3.2 plus autoconf-junk by myself.
2733 * configure.in: test for wait_quque_head_t and init_MUTEX.
2735 * acconfig.h: cut down a lot
2739 * configure.in: moved most of the tests to cf. removed duplicate
2740 tests updated to autoconf 2.13 separated linux and bsd kernel
2743 * lwp/Makefile.in (install): work around make rewriting the vpath
2746 * xfs/bsd/xfs_vfsops-osf.c: use xfs_suser
2748 * xfs/bsd/xfs_vfsops-bsd.c: use xfs_suser
2750 * xfs/bsd/xfs_syscalls-common.c: use xfs_suser
2752 * xfs/bsd/xfs_common-osf.c (xfs_suser): add
2754 * xfs/bsd/xfs_common-bsd.c (xfs_suser): add
2756 * lwp/rw.c (main): correct cast
2758 * arlad/fcache.h (FCacheEntry): kill invalid_le
2762 * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhlookup): handle one and two
2765 * xfs/bsd/xfs_syscalls-common.c (fhget_call, xfs_debug): handle
2766 one and two argument suser
2768 * configure.in: test for suser taking two arguments
2770 1999-05-14 Assar Westerlund <assar@sics.se>
2772 * lwp/process.S (__sparcv9): add commented-out .register
2773 declarations. these are apparently needed if you have a recent as
2774 but I've currently no way of testing it.
2776 1999-05-12 Assar Westerlund <assar@sics.se>
2778 * rx/rx.c (rxi_ReceivePacket): long should be u_int32_t
2780 * rx/rx.h: do the obvious short -> u_int16_t, long -> u_int32_t
2782 1999-05-11 Assar Westerlund <assar@sics.se>
2784 * lwp/make-process.o.sh.in: use AS from configure
2786 * configure.in: allow setting AS
2788 * xfs/linux/xfs_inodeops.c: merge 2.2.7-fix from map
2790 * lwp/Makefile.in (install): solaris make seems very good at
2791 rewriting vpath file names. try to work around it.
2793 * include/Makefile.in (install): solaris make seems very good at
2794 rewriting vpath file names. try to work around it.
2796 1999-05-06 Assar Westerlund <assar@sics.se>
2798 * arlad/arla.c (newwalk): renamed to walk.
2800 1995-05-04 Assar Westerlund <assar@sics.se>
2802 * rx/rx_clock.c (clock_ReInit): count microseconds also
2804 * arlad/fcache.c (getroot): find out the local cell the equality
2805 way. also made more robust, more informative, and more
2806 consistent. welcome to the new getroot.
2808 * lib/ko/kocell.c: make all cells be equal (and no cells more
2811 * arlad/arla.c (main): call clock_ReInit after forking
2813 * rx/rx_clock.c (clock_ReInit): add
2815 1999-04-12 Assar Westerlund <assar@sics.se>
2817 * arlad/Makefile.in (LDFLAGS): set
2819 * configure.in: LDFLAGS: substitute
2821 1999-04-06 Love <lha@s3.kth.se>
2823 * arlad/messages.c (viocsetvolstat): Do not change volumename,
2826 * arlad/fcache.c (fcache_get): Added check if we missed
2827 volume. Note that we should really either nuke the entry or check
2828 for e->volume == NULL everywhere.
2830 1999-03-29 Love <lha@s3.kth.se>
2832 * arlad/messages.c (try_again) If we don't have EDQUOT use ENOSPC
2834 1999-03-28 Robert Burgess <rb@stacken.kth.se>
2838 Sat Mar 27 05:16:49 1999 Assar Westerlund <assar@sics.se>
2840 * arlad/messages.c (vioc_get_cellstatus): reverse issuid test
2842 * configure.in (freebsd[34]): build KLD if kernel is ELF
2844 * xfs/bsd/xfs_syscalls-wrap-osf.c (rename sys_xfspioctl ->
2847 * xfs/bsd/xfs_syscalls-wrap-freebsd.c (rename sys_xfspioctl ->
2850 * xfs/bsd/xfs_syscalls-wrap-bsd.c (rename sys_xfspioctl ->
2853 * xfs/bsd/xfs_syscalls-common.c (rename sys_xfspioctl ->
2856 * xfs/bsd/xfs/xfs_syscalls.h (rename sys_xfspioctl -> xfspioctl)
2858 1999-03-27 Robert Burgess <rb@stacken.kth.se>
2860 * Removed Solaris umount_xfs (the umount command that comes with
2861 Solaris works better)
2863 * xfs/solaris/xfs_syscalls.c (fhopen_call): Changed in_size check
2865 Wed Mar 24 23:31:09 1999 Assar Westerlund <assar@sics.se>
2867 * arlad/arla.c: always do fork_late
2869 Thu Mar 4 02:40:46 1999 Assar Westerlund <assar@sics.se>
2871 * ydr/output.c: revert back extra changes
2873 * ydr/output.c (generate_multi): do the right thing with the macro
2876 * rxdef/ubik.xg: remove bogus struct keywords
2878 * rx/rx_user.c (rxi_GetUDPSocket): fix typos
2880 1999-03-20 Love <lha@s3.kth.se>
2882 * xfs/bsd/xfs/xfs_node.h: Added test for LK_SHARED
2884 * xfs/bsd/xfs_message.c (xfs_message_installnode): lock node when
2886 (xfs_message_installdata): lock node when doing vget
2889 1999-03-19 Love <lha@s3.kth.se>
2891 * Snapshot 1999-03-19
2893 * arlad/volcache.h (volume_make_uptodate): new function
2895 * arlad/volcache.c (volume_make_uptodate): new function
2897 * arlad/messages.c (try_again): ARLA_VMOVED and ARLA_VNOVOL
2898 invalidates volcache
2899 (*): new useage of try_again()
2901 * arlad/fcache.c (find_first_fs): make sure the volume is uptodate
2902 (try_next_fs): ARLA_VMOVED and ARLA_VNOVOL are errornous and will break
2903 the search for next fileserver (they mean that we should update
2906 * lib/ko/koerror.c: Added <rx/rx.h>, <fs_errors.h> and fileserver
2909 * arlad/messages.c (viocflushvolume): when flushing the volume,
2910 flush the volume from the volcache at the same time
2912 * ydr/parse.y: use create_type
2914 * ydr/types.c (create_type): New function
2916 * xfs/bsd/xfs/xfs_node.h: If LK_EXCLUSIVE isn't defined make sure
2917 we define it to 1, its used for compat with old vget() that
2918 doesn't use lockmgr locking-style
2920 * xfs/bsd/xfs_vfsops-common.c (xfs_root_common): return a locked
2923 * xfs/bsd/xfs_message.c: (xfs_message_install{node,root}): do
2924 vrele() instead of vput() since we never locks the vnode in the
2927 * xfs/bsd/xfs_vnodeops-common.c (xfs_lookup_common): Get a lock on
2930 1999-03-16 Love <lha@s3.kth.se>
2932 * include/Makefile.in: Break out generated headers and files that
2935 Sun Mar 14 20:03:10 1999 Assar Westerlund <assar@sics.se>
2937 * appl/vos_local.h: update prototypes
2939 * appl/vos_listvldb.c (vos_listvldb_iter): complain if
2940 find_db_cell_and_host fails
2942 * appl/vos_examine.c (printvolstat): complain if
2943 find_db_cell_and_host fails
2945 * appl/vos_common.c (get_vlentry): write a comment to make Magnus
2946 happy. assume host != NULL.
2947 (new_vlentry): check and complain if find_db_cell_and_host fails
2948 (find_db_cell_and_host): comment and remove casts
2950 * rxkad/rxk_clnt.c (client_GetResponse): handle versions >=
2951 RXKAD_VERSION and always generate a version 2 response
2953 1999-03-12 Love <lha@s3.kth.se>
2955 * Snapshot 1999-03-12
2957 * ydr/parse.y: (TPOINTER): set symbol to NULL
2959 * arlad/fcache.c (find_first_fs): set num_conns to 0 for
2961 (do_read_attr): check if disconnected and have bits
2963 1999-03-11 Love <lha@s3.kth.se>
2965 * arlad/fcache.c (setacl): flush bits in kernel to make it
2968 1999-03-10 Assar Westerlund <assar@sics.se>
2970 * rxdef/*.xg: include <config.h> and <roken.h>. They are needed
2971 when building with !gcc
2973 * xfs/bsd/xfs/xfs_vfsops.h (xfs_fhopen): correct prototype
2975 * xfs/bsd/xfs/xfs_syscalls.h (xfs_pioctl_call): correct prototype
2977 * xfs/bsd/xfs_syscalls-common.c (lookup_node): printf format fix
2979 1999-03-06 Love <lha@s3.kth.se>
2981 * appl/vos_syncsite.c (vos_syncsite): Added arguments (-cell and
2984 * rxdef/volumeserver.xg (AFSVolCreateVolume): name is string
2986 * appl/vos_local.h: Added prototypes
2988 * appl/vos_listvldb.c (vos_listvldb_iter): use
2989 find_db_cell_and_host
2991 * appl/vos_examine.c (vos_examine): use find_db_cell_and_host
2993 * appl/vos_common.c (getvolumetype): document
2994 (new_vlentry): New function
2995 (find_db_cell_and_host): new function
2997 * appl/fs.c(apropos_cmd): use sl apropos
2999 * appl/Makefile.in: Added vos_createvolume.c vos_endtrans.c to vos
3001 * appl/vos_{createvolume,endtrans}.c: New files
3003 Thu Mar 4 02:40:46 1999 Assar Westerlund <assar@sics.se>
3005 * appl/vos_listvldb.c (vos_listvldb_iter): const-ify
3007 * appl/vos_examine.c (printvolstat): use get_vlentry
3009 * appl/vos_common.c (get_vlentry): use arlalib_authflags_t
3011 * appl/vos_common.c (get_vlentry): new function
3013 * appl/vos_dump.c: new file
3015 * ydr/types.c (define_struct): handle already declared structures
3016 (set_struct_body_sym): new function
3018 * ydr/parse.y: handle forward declaration of struct and redundant
3021 * ydr/output.c (generating_multi): fix macro call code
3023 * ydr/lex.l: match the final newline on the #line-lines from cpp
3024 so that we don't increment the lineno when we should not.
3026 * ydr: patches from Derrick J Brashear <shadow@dementia.org> for
3027 generating rx-multi macros
3029 1999-03-04 Love <lha@s3.kth.se>
3031 * appl/*: started to use arlalib_getauthflag arlalib_authflags_t
3032 for unified -noauth and -local
3034 * appl/vos_listvldb.c: New file
3036 * appl/vos_local.h: Added prototypes for vos_listvldb() and
3039 * appl/vos.c (cmds): added listvldb
3041 * appl/Makefile.in (vos): vos_listvldb
3043 Thu Mar 4 02:40:46 1999 Assar Westerlund <assar@sics.se>
3045 * xfs/bsd/xfs_vfsops-netbsd.c (xfs_vfsops): add vfs_checkexp
3048 * configure.in: check for vfsops.vfs_checkexp
3050 * rx/rx_pkt.c (rxi_ReadPacket): ignore errors from recvmsg
3052 (osi_NetSend): sendmsg can return ECONNREFUSED on linux. ignore it.
3054 * rx/rx_user.c (rxi_GetUDPSocket): set SO_BSDCOMPAT. clean-up
3056 * include/Makefile.in (install): install stds.h
3058 Wed Mar 3 13:10:15 1999 Marcus Sundberg <mackan@stacken.kth.se>
3060 * xfs/linux/getcwd.c: removed redundant fcntl.h so it works on glibc 2.1
3062 Wed Mar 3 00:49:00 1999 Marcus Sundberg <mackan@stacken.kth.se>
3064 * configure.in, xfs/linux/xfs_load.c, xfs/linux/xfs/xfs_locl.h:
3067 Tue Mar 2 08:50:27 1999 Assar Westerlund <assar@sics.se>
3069 * rxdef/*.xg: more RPCs
3071 * rx/Makefile.in (install): install header files
3073 * lwp/Makefile.in (install): install include files from srcdir
3075 * lib/ko/Makefile.in: add vlmisc
3077 * arlad/volcache.c (vldb2vldbN): move to vlmisc.c
3078 (get_info_loop): less warnings
3080 * appl/arlalib.c: let all the functions take a cell argument
3082 * appl/appl_locl.h: add rx header files
3084 * appl/Makefile.in: vos: re-organize
3086 * lib/ko/vlmisc.c: new file
3088 * lib/acl/Makefile.in (INCLUDES): use include directory in srcdir
3090 * appl/vos.c: clean-up
3092 * ydr/output.c (print_varray): correct code
3093 (init_generate): let all the files include the appropriate header
3095 (print_type): make `string<>' generate `char *'
3096 (encode_string): allocate memory dynamically with string<>
3098 * arlad/volcache.c (recycle_entry): don't assume that num_ptr and
3099 name_ptr are parallel
3100 (add_clone): add a parameter for the suffix_type
3101 (get_info_common): if there's no read-write volume, add the read-only
3102 volume with the vanilla name
3104 * arlad/fcache.c (find_first_fs): do not believe volumeId[type] to
3106 (find_volume): more paranoid checks for if the volumes really exist.
3108 * arlad/conn.c (pinger): re-structure the code
3110 * rx/rx_user.c (rxi_getUDPSocket): remove code for looping around
3111 bind and for checking the port number
3113 * rx/Makefile.in (install): install headers
3115 * lwp/Makefile.in (install): install headers
3117 Sun Feb 28 00:44:51 1999 Assar Westerlund <assar@sics.se>
3119 * ydr/output.c (init_generate): add inclusion of foo.{s,c}s.h in
3121 (generate_server_stub): use prefix when writing the prototype.
3123 * configure.in: freebsd34: nuke DIAGNOSTIC test
3125 * xfs/bsd/xfs_vnodeops-bsd.c: call zfreei instead of zfree
3127 * ydr/output.c: always generate includs for atypes.h and rx.h in
3130 * ydr/main.c (main): return an error if parse_errors is true.
3132 * ydr/lex.l: recognize `proc'
3133 (error_message): set a flag when an error has occured.
3135 * ydr/lex.h (error_message): update prototype
3137 * ydr/parse.y: add prefix
3139 * ydr/lex.l: add prefix
3141 * lwp/Makefile.in (install): install lwp.h
3143 * ydr/Makefile.in (install): install ydr
3145 * ydr/output.c (generating): remove roken.h and arlad/fs_errors.h
3147 * rxdef/*.xg: arlad/fs_errors.h -> fs_errors.h
3149 * lwp/Makefile.in (clean): remove test programs.
3151 * include/Makefile.in: install some headers
3153 * ydr/parse.y (param_type): default to IN
3154 (memberdecl2): handle string without size
3156 Sat Feb 27 20:11:28 1999 Johan Danielsson <joda@blubb.pdc.kth.se>
3158 * xfs/bsd/xfs_dev-common.c (xfs_uprintf_device): don't print junk
3160 Sat Feb 27 12:01:35 1999 Assar Westerlund <assar@sics.se>
3162 * util/eefile.c, util/eefile.h: new files
3164 * ydr: Install patches from Derrick J Brashear
3165 <shadow@dementia.org> for running several instances simultaneously.
3167 1999-02-26 Love <lha@s3.kth.se>
3169 * xfs/bsd/xfs_vnodeops-common.c: (xfs_rename_common): Don't remove
3170 "tname". Arlad changes the fid if it exist (linux does this today)
3172 * configure.in: welcome back test for mnt_syncer
3174 * xfs/bsd/xfs_node-bsd.c: (free_all_xfs_nodes): check if we don't
3175 unmount and then skip mnt_syncer
3177 * xfs/bsd/xfs_node-osf.c: (free_all_xfs_nodes): third dummy
3180 * xfs/bsd/xfs_dev-common.c (xfs_devclose_common): pass on to
3181 free_all_xfs_nodes that we dont unmount
3183 * xfs/bsd/xfs_vfsops-common.c (xfs_unmount_common): pass on to
3184 free_all_xfs_nodes that we unmount
3186 1999-02-25 Love <lha@s3.kth.se>
3188 * arlad/messages.c (xfs_message_rename): flush new dir from DNLC
3191 1999-02-22 Love <lha@s3.kth.se>
3193 * xfs/bsd/xfs_dev-common.c:(xfs_devclose_common): Removed dead
3196 * acconfig.h: HAVE_STRUCT_VOP_FSYNC_ARGS_A_FLAGS
3198 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_fseek):
3199 HAVE_STRUCT_VOP_FSYNC_ARGS_A_FLAGS
3201 * configure.in: check for vop_fsync_args.a_flags
3205 * arlad/fs_errors.h: catch VRESTARTING
3207 * arlad/messages.c: catch VRESTARTING.
3209 * xfs/bsd/bin/startarla.in: test for kld
3211 Sun Feb 21 04:31:22 1999 Magnus Ahltorp <map@stacken.kth.se>
3213 * xfs/linux/xfs_message.c (xfs_message_installnode): Try a
3214 requested entry first, then try any entry. Delete old alias from
3215 alias chain before adding it.
3217 Sat Feb 13 02:32:37 1999 Assar Westerlund <assar@sics.se>
3219 * xfs/bsd/xfs_syscalls-common.c (sys_xfspioctl): use
3222 * util/Makefile.in: add heaptest
3225 * util/heaptest.c, util/util-tester.c: improve batchability a
3228 * util/Makefile.in (libutil_SRCS, libutil_OBJS): removed prio and
3231 * util/prio.[ch], util/timeprio.[ch]: removed
3233 * util/mem.[ch]: removed.
3235 * xfs/linux/getcwd.c: handle both `struct stat' and `struct
3238 * acconfig.h (HAVE_STRUCT_NEW_STAT): add
3240 * configure.in: remove old BSD kernel functions not being called
3241 any longer. test for `struct new_stat' for linux
3243 * xfs/linux/getcwd.c: handle the case without getcwd
3245 * xfs/linux/getcwd.c: try to get the current directory by any of
3247 a. the getcwd syscall
3248 b. /proc/self/cwd (only on 2.1)
3249 c. by tracing the directory structure backwards and comparing
3252 also make sure that buf == NULL works everywhere
3254 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_lock, xfs_unlock): re-organize
3255 the code so that we handle the case of there not being any flag
3256 argument (with one argument vop_lock)
3258 * xfs/bsd/xfs/xfs_vnodeops.h (xfs_fsync_common, xfs_close_common):
3261 * xfs/bsd/xfs_vnodeops-common.c (xfs_fsync_common,
3262 xfs_close_common): add `proc' argument
3264 * xfs/bsd/xfs_vnodeops-osf.c (xfs_fsync, xfs_close): adapt to
3265 changing *-common functions
3267 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_fsync, xfs_close): adapt to
3268 changing *-common functions
3270 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_lock, xfs_unlock, xfs_islocked):
3271 re-introduce counted locking but only when flags & LK_TYPE_MASK,
3272 otherwise the assymetry comes back to bite us.
3274 * xfs/bsd/Makefile.in (unload): add support for kld
3276 * configure.in (freebsd): generate vnode_if.[ch] and -I. to be
3279 Sat Feb 6 03:22:56 1999 Assar Westerlund <assar@sics.se>
3281 * xfs/bsd/xfs/xfs_vnodeops.h (xfs_fsync_common, xfs_close_common):
3284 * xfs/bsd/xfs_vnodeops-common.c (xfs_fsync_common,
3285 xfs_close_common): add `proc' argument
3287 * xfs/bsd/xfs_vnodeops-osf.c (xfs_fsync, xfs_close): adapt to
3288 changing *-common functions
3290 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_fsync, xfs_close): adapt to
3291 changing *-common functions
3293 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_lock, xfs_unlock, xfs_islocked):
3294 re-introduce counted locking but only when flags & LK_TYPE_MASK,
3295 otherwise the assymetry comes back to bite us.
3297 * xfs/bsd/Makefile.in (unload): add support for kld
3299 * configure.in (freebsd): generate vnode_if.[ch] and -I. to be
3302 * xfs/bsd/xfs_syscalls-common.c (xfs_debug): move the super-user
3303 test to the setting of the debug level. I don't quite remember
3304 why I did this but I can see no harm in letting any user find out
3305 the current debug level?
3307 * tests/run-tests.in: add --help
3309 * arlad/volcache.c (vldb2vldbN): constize and only copy the safe
3312 * arlad/fcache.c: remove old code
3314 * arlad/inter.c: always set Result.error to make things simpler.
3316 1999-02-05 Love <lha@s3.kth.se>
3318 * arlad/volcache.c (vldb2vldbN): Added bounce checking
3319 (get_info_loop): dont loop if old serve returns RXGEN_OPCODE
3321 1999-02-05 Love <lha@s3.kth.se>
3323 * arlad/volcache.c (vldb2vldbN): New function
3324 (get_info_loop): Added fallback-code for old server
3326 * arlad/volcache.c (ConnCacheEntry): Added field flags.old
3328 * arlad/conn.c (new_connection): reset flags.old
3330 * arlad/arla_local.h: Added rxgencon.h
3332 * appl/fs.c (connect_cmd): return 0;
3333 (newcell_cmd): rewrote and started to use getarg
3334 (getmaxfprio): return 0
3336 * arlad/messages.c (viocgetwscell): len strlen(cellname)+1 as
3337 suggested by Chuck Lever <cel@monkey.org>
3339 Mon Feb 1 05:53:52 1999 Assar Westerlund <assar@sics.se>
3341 * lwp/plwp.c: include config.h
3342 (LWP_CreateProcess): call thr_yield if there's one
3343 (Create_Process_Part2): fix call to pthread_attr_setstacksize
3345 * acconfig.h: define __EXTENSIONS__ to make solaris' header files
3348 * configure.in: check for thr_yield
3350 * lwp/plwp.[ch]: new files with lwp-over-pthreads
3352 * lwp/rw.c: new file with test code
3354 * lwp/preempt.h: more prototypes
3356 * lwp/Makefile.in: support building with lwp-over-pthreads
3358 * include/Makefile.in (lwp.h): link in the correct file for
3361 * appl/Makefile.in: handle linking with pthreads
3363 * arlad/Makefile.in: handle linking with pthreads
3365 * INSTALL: document --with-pthreads
3367 * configure.in (--with-pthreads): add code from Derrick J Brashear
3368 <shadow@dementia.org> for using pthreads
3370 Sun Jan 31 20:48:57 1999 Assar Westerlund <assar@sics.se>
3372 * configure.in (irix): always add -DR4000 to cflags, otherwise it
3375 * xfs/irix/xfs/xfs_syscalls.h: use correct include files
3377 * xfs/irix/xfs/xfs_node.h: port to Irix 6.4
3379 * xfs/irix/xfs/xfs_fs.h: port to Irix 6.4
3381 * xfs/irix/xfs_vnodeops.c: port to Irix 6.4
3383 * xfs/irix/xfs_vfsops.c: port to Irix 6.4
3385 * xfs/irix/xfs_syscalls.c: use `curprocp' instead of `u'. that
3386 makes it work under 6.4 as well
3388 * xfs/irix/xfs_node.c: port to Irix 6.4
3390 * xfs/irix/xfs_message.c (xfs_message_installdata): VOP_LOOKUP is
3391 called differently under irix 6.4
3393 * xfs/irix/Makefile.in (LDFLAGS): always add -32
3394 (MOD): write in current directory and not source directory
3396 * configure.in (irix): correct and portabilize irix6.4-test
3398 * xfs/solaris/xfs_vnodeops.c (xfs_map): always cast len to
3399 unsigned long in the debug output
3401 * xfs/bsd/xfs_vfsops-osf.c (xfs_root): send both proc and cred to
3404 * configure.in (irix): define IRIX_64 if running on Irix 6.4 or
3407 * tests/dir-size-mismatch: use find | xargs rm to remove the
3408 files, it was overflowing the argument size.
3410 * xfs/solaris/xfs/xfs_dev.h (intptr_t): define if there's none
3412 * acconfig.h (HAVE_INTPTR_T): add
3414 * configure.in: bump version to 0.22pre remove duplicate test for
3415 syslog test for `intptr_t'
3417 Sun Jan 31 17:51:34 1999 Assar Westerlund <assar@sics.se>
3421 * configure.in (freebsd34): add -I. to kernel flags to find the
3422 generated vnode_if.h
3424 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_lock, xfs_unlock, xfs_islocked):
3427 Sat Jan 30 17:42:00 1999 Assar Westerlund <assar@sics.se>
3429 * tests/copy-and-diff-gnu-mirror: use correct fd. From Simon
3430 Josefsson <jas@pdc.kth.se>
3432 1999-01-28 Love <lha@s3.kth.se>
3434 * arlad/arla.c(arla_cp): Added copy command.
3436 1999-01-24 Love <lha@s3.kth.se>
3438 * conf/Makefile.in(install): Install a empty SuidCells if there is no.
3440 * tests/run-tests.in: Print out that the test FAILED while running
3442 * xfs/bsd/Makefile.in: (xfs_vopdefs.h): Make the link even if
3443 'mkdir xfs' fails, and test if xfs is a dir
3445 * configure.in (freebsd[34]*) Add support for freebsd4, default to
3446 kld on freebsd4, add output from test
3448 Tue Jan 19 20:31:50 1999 Assar Westerlund <assar@sics.se>
3450 * configure.in (irix): check for IP and cpu and add them to
3453 * xfs/irix/Makefile.in: use KERNEL_CFLAGS for figuring out CPU and
3456 Sat Jan 16 18:55:17 1999 Love <lha@stacken.kth.se>
3458 * configure.in: check if VOP_LOCK takes one argument (NetBSD1.3.x)
3460 * xfs/bsd/xfs_vnodeops-bsd.c: Check if VOP_LOCK takes one argument
3462 Tue Jan 12 01:16:12 1999 Assar Westerlund <assar@sics.se>
3464 * xfs/include/xfs/xfs_message.h (CACHEHANDLESIZE): bump to 80
3465 (needed on Solaris 7 in 64bit mode)
3467 * lwp/process.S: add even more ifdef's to handle sparc v9
3469 * lwp/make-process.o.sh.in: use CC and AS from environment.
3470 remove foo.c when we're done.
3472 * lwp/lwp.c (REGSIZE): on a sparc v9 the registers are also 8
3475 * lwp/lwp.h (lwp_context): try to use the correct amount for sparc
3478 * rx/rx_user.c (rxi_Listener): use `rx_maxSocketNumber' when
3479 selecting to avoid having to send the rather large FD_SETSIZE
3481 * rx/rx_pkt.h (rx_GetLong, rx_PutLong): use `u_int32_t' instead of
3484 * tests/build-gdb: change path for gdb.
3486 * tests/build-emacs: change path for emacs. GNU has reorganized
3487 their ftp server and moved all programs into subdirectories.
3489 Sun Jan 10 07:25:51 1999 Assar Westerlund <assar@sics.se>
3491 * arlad/fprio.c (fprio_readin): don't print a warning if the file
3494 * xfs/linux/xfs_dev.c (xfs_message_rpc): also check for strange
3495 positive return values.
3497 * xfs/bsd/xfs_wrap-bsd.c (SYSCALL_MODULE): replace index with
3499 (xfs_load): update prototype
3501 * xfs/bsd/xfs_vfsops-bsd.c (vfs_object_create): use the correct
3504 * INSTALL (--enable-kld): add
3506 * configure.in (freebsd3): change test for kernel object format
3507 (vfs_object_create): add test for number of arguments
3509 * xfs/bsd/xfs_vfsops-freebsd.c: preliminary support for syscall
3512 * xfs/bsd/xfs/xfs_vfsops.h (xfs_root_common): update prototype
3514 * xfs/bsd/xfs_vfsops-common.c (xfs_root_common): take a `proc' as
3515 argument. call vget instead of vref.
3517 * xfs/bsd/xfs_vfsops-bsd.c (xfs_root): call new style
3518 xfs_root_common update comments
3520 * xfs/bsd/xfs_syscalls-freebsd.c: preliminary support for syscall
3523 * xfs/bsd/xfs_wrap-bsd.c: preliminary support for syscall KLD
3526 * arlad/messages.c (CELLSTATUS_{PRIMARY,SETUID}): use defines
3527 (vioc_gcpags): implement no-op
3529 * arlad/inter.c (cm_getattr): real_fid is always set.
3531 * appl/fs_lib.c (fs_gcpags): send in a correct (and empty) params
3534 * appl/fs.c (gc_cmd): correct argc and string in printf
3537 * configure.in (freebsd): use sysctl to get the name of the kernel
3538 reorder the include files in the kernel compilation tests, it was
3539 failing on FreeBSD-current
3541 1999-01-05 Magnus Ahltorp <map@stacken.kth.se>
3543 * xfs/linux/xfs_vfsops.c: Do xfs_d_init() when building too to
3544 prevent dangling pointers
3546 * xfs/linux/xfs_message.c: Hopefully more correct invalidation of
3549 Tue Jan 5 00:07:51 1999 Assar Westerlund <assar@sics.se>
3551 * xfs/bsd/xfs_vfsops-openbsd.c (vfs_register, vfs_unregister):
3554 * include/kafs.h: add cell status flags
3556 1999-01-03 Love <lha@s3.kth.se>
3559 (throw_entry,fcache_reobtain_callbacks,fcache_giveup_all_callbacks):
3560 if the fileserver is `down' don't give up callbacks
3562 * xfs/bsd/xfs_node-bsd.c (xfs_getnewvnode): Set field vnlock to 0
3563 (new_xfs_node): Use HAVE_LK_INTERLOCK
3565 * xfs/include/xfs/xfs_message.h: XFS_MSG_ADVLOCK confusion
3567 * xfs/bsd/xfs/xfs_node.h: Added locks confusion
3569 * lib/ko/kocell.c: Implement clue-code for
3570 cell_{is,set}suid{,by_{num,name}} and $SYSCONFDIR/SuidCells
3572 * lib/ko/ko.h (cell_issuid): new function
3573 (cell_issuid_by_name): new function
3574 (cell_issuid_by_num): new function
3575 (cell_setsuid_by_num): new function
3576 (struct cell_entry): Added field suid_cell
3578 * arlad/messages.c: added rpc messages advlock
3579 (vioc_get_cellsstatus): implement
3580 (vioc_get_cells): implement
3582 * appl/fs_local.h: afs_listcells()
3584 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_invalid): dummyify since is
3587 (xfs_advlock): comment out comfusing code
3589 * arlad/fcache.c (update_entry): suid-flags cleaner
3591 * appl/fs.c:suidcells: New command, show all cells with suid cells
3592 marked. afs_listcells(): Rewritten
3595 * appl/fs_lib.c: fs_getcells(): New function fs_getcellstatus():
3598 * appl/alralib.c(hfs_getcells): New function fs_getcellstatus():
3601 * xfs/bsd/xfs_vfsops-freebsd.c(xfs_init (<3.0)): reset ptr's
3602 (vfs_register): set ptr before calling function
3604 * conf/CellServDB(stacken.kth.se): dog.stacken.kth.se ->
3605 fishburger.stacken.kth.se
3607 1999-01-03 Assar Westerlund <assar@sics.se>
3609 * arlad/reconnect.c: add some more O_BINARY
3611 * arlad/messages.c: add some more O_BINARY
3613 * arlad/fcache.c: add some more O_BINARY
3615 * util/date_rfc822.c (date_time2rfc822): update from rfc822 to
3616 rfc1123 section 5.2.14
3618 * rx/rx_pkt.h (RX_FIRSTBUFFERSIZE): always define it to 1468
3619 (RX_CBUFFERSIZE): always define it to 1024
3621 * xfs/bsd/xfs_syscalls-freebsd.c: use `sysent' instead of
3624 1999-01-02 Magnus Ahltorp <map@stacken.kth.se>
3626 * Changed getcwd.so to libgetcwd.so.
3628 Thu Dec 31 12:13:10 1998 Assar Westerlund <assar@sics.se>
3630 * xfs/bsd/xfs_node-bsd.c (xfs_dnlc_enter): actually set nameiop to
3631 CREATE. (when did this disappear?)
3633 Thu Dec 31 13:04:23 1998 Assar Westerlund <assar@sics.se>
3635 * arlad/volcache.c (volcache_getbyid): use correct hash table
3637 * arlad/volcache.c (recycle_entry): don't clear entire entry
3638 (volcache_getbyname, volcache_getbyname): restructure
3640 * xfs/linux/xfs_message.c (xfs_message_installnode): nuke benign
3643 Wed Dec 30 11:56:04 1998 Assar Westerlund <assar@sics.se>
3645 * tests/untar-emacs: esthetically corect on fd 3
3647 * configure.in (freebsd3): always try to guess the kernel object
3648 format, also print it out to give the user the change to see if
3649 the guess was wrong. also, warn when building LKMs with a !aout
3650 kernel (maybe we should just switch to KLDs in that case).
3652 * arlad/volcache.c (recycle_entry): hopefully work around
3655 Tue Dec 29 03:01:57 1998 Assar Westerlund <assar@sics.se>
3657 * tests/generic-build: get rid of warning messages from tar
3659 * configure.in (full_name_hash): more politically correct test.
3661 * configure.in: --with-sys: actually use the value.
3663 * arlad/messages.c (vioc_afs_sysname): send 4 bytes length and
3665 * appl/fs_lib.c (fs_get_sysname): change to expect 4 bytes before
3668 * arlad/arla.c (krb_get_err_text): fallback version. Should
3669 probably be somewhere else. kroken?
3671 * configure.in: test for krb_get_err_text
3673 * configure.in: HAVE_BROKEN_FULL_NAME_HASH ->
3674 HAVE_FULL_NAME_HASH_8BIT
3676 * xfs/linux/xfs/xfs_locl.h: conditionalize on replacing
3679 * configure.in: test for broken full_name_hash
3681 1998-12-28 Love <lha@s3.kth.se>
3683 * xfs/bsd/bin/Makefile.in(startarla): Build startarla via
3684 startarla.new as suggested by Ken Raeburn <raeburn@raeburn.org>
3686 * rx/Makefile.in(INCLUDE): typo, fix by Ken Raeburn
3687 <raeburn@raeburn.org>
3691 Mon Dec 28 01:16:36 1998 Assar Westerlund <assar@sics.se>
3693 * xfs/bsd/xfs_vfsops-freebsd.c (xfs_init): kludge that might make
3694 it work with kld modules
3696 * aclocal.m4: KERNEL_CFLAGS -> test_KERNEL_CFLAGS
3698 * configure.in: support for building kld modules. more tests
3700 * xfs/bsd/Makefile.in: support building a kld module
3702 * xfs/bsd/xfs_vfsops-freebsd.c (xfs_init): try with
3705 * xfs/bsd/xfs_vfsops-netbsd.c (xfs_init): vfs_opv_init depending
3708 * configure.in: check for vfs_opv_init include <sys/module.h> in
3711 * xfs/bsd/xfs_wrap-bsd.c: update and conditionalize KLD_MODULE
3713 * arlad/messages.c (all_powerful_p): new function. use it.
3714 (vioc_afs_sysname): fix reading of sysname
3716 * configure.in: new files to test for
3717 (freebsd3): try to make kld work
3719 * xfs/bsd/xfs_vfsops-netbsd.c: try without having a special vfs
3722 * xfs/bsd/xfs_vfsops-netbsd.c: HAVE_VFS_ATTACH ->
3723 HAVE_KERNEL_VFS_ATTACH
3725 * xfs/bsd/xfs_vfsops-freebsd.c (xfs_stat_filesys): add
3727 * xfs/bsd/xfs_vfsops-openbsd.c (xfs_stat_filesys): add
3729 * xfs/bsd/xfs_vfsops-netbsd.c (xfs_stat_filesys): add
3730 (xfs_install_filesys): try xfs first
3731 (xfs_uninstall_filesys): dito
3733 * xfs/bsd/xfs_wrap-bsd.c (xfs_unload): try unloading filesystem
3735 (xfs_may_unload): remove
3737 * xfs/bsd/xfs_vfsops-netbsd.c (vfs_attach): check for vfs_init
3740 * include/Makefile.in (HEADERS): add heap.h
3742 * util/heap.c, util/heap.h: new files
3744 * util/Makefile.in: add heap.[ch]
3746 * arlad/fcache.c (add_to_invalidate): go backwards
3748 * util/list.h (listhead, listtail, listprev, listnext, listdata,
3749 listemptyp, listnextp): made into inline functions
3751 * arlad/inter.c (cm_close): don't overwrite the error code.
3753 * arlad/fcache.c (fcache_update_length): assert against usedbytes
3756 * arlad/fcache.c (create_file, create_directory): don't touch
3757 dir_entry->status.Length
3759 * arlad/fcache.c (create_symlink): update usedbytes
3761 * INSTALL: linux: add map's warning message about updating
3764 * arlad/reconnect.c (reconnect_putdata): adapt to new semantics of
3767 * arlad/fcache.c (read_data): adapt to new semantics of copyrx2fd
3770 * arlad/fbuf.c: *_copyfd2rx, *_copyrx2fd: don't close the fd some
3773 * arlad/fcache.c: assert that all closes are succesful.
3775 * arlad/adir.c: assert that all closes are succesful.
3777 1998-12-24 Robert Burgess <rb@stacken.kth.se>
3781 1998-12-23 Assar Westerlund <assar@sics.se>
3783 * xfs/linux/getcwd.c (getcwd): If we fail with ENOSYS, fall back
3784 on the old getcwd. From <allbery@ece.cmu.edu>
3786 * lib/ko/kocell.c (newcell): no dbnum
3787 (readcellservdb): init dbnum
3789 * arlad/messages.c (vioc_new_cell): new function
3790 (vioc_get_cell): fix bugs
3792 * lib/ko/ko.h: sync with kocell.c
3794 * lib/ko/kocell.c: re-organize and write some new functions
3796 * appl/fs.c: newcell: implement
3798 * appl/fs_lib.c (fs_newcell): implement
3800 * xfs/bsd/xfs_vfsops.c: move all xfs initialization code into
3803 * configure.in (*bsd): use xfs_vfsops-*bsd.c
3805 1998-12-22 Love <lha@s3.kth.se>
3807 * */*/*: Moved xfs's include files to xfs/
3809 1998-12-21 Assar Westerlund <assar@sics.se>
3811 * arlad/cred.c (print_cred): print uid correctly
3813 * arlad/fcache.c (find_next_fs): made global
3814 (*): hopefully use try_next_fs properly
3816 Sun Dec 20 17:52:17 1998 Assar Westerlund <assar@sics.se>
3818 * xfs/bsd/xfs_message.c (xfs_message_installnode): vget and vput
3819 the parent node to prevent it from being recycled
3820 (xfs_message_installdata): vget and vput the vnode.
3822 * xfs/bsd/xfs_vnodeops-common.c (xfs_symlink_common): vput the
3823 just created symlink...
3825 * arlad/messages.c (try_again): also translate error codes
3826 (*): realfid always contains the correct fid
3828 * arlad/fcache.c (try_next_fs): some more error codes
3830 * arlad/fs_errors.h: add some more error codes
3832 * arlad/fs_errors.h (VNOVOL, ARLA_VNOVOL): add
3834 * arlad/fcache.c (findconn): remove
3835 (try_next_fs): figure out if it's worth trying the next fs from the
3836 error code. call it.
3837 (fcache_get): always set realfid
3839 1998-12-19 Magnus Ahltorp <map@stacken.kth.se>
3841 * xfs/linux/xfs_inodeops.c: Prevent xfs_lookup from returning
3842 errno values below -1000 in 2.1 kernels. They would otherwise be
3843 dereferenced in other parts of the kernel.
3845 * arlad/fcache.c: Check for rw flag when looking for backup volume
3847 * arlad/reconnect.c: Use find_first_fs instead of find_conn
3849 Sat Dec 19 01:34:23 1998 Assar Westerlund <assar@sics.se>
3851 * appl/fs.c: move around some more
3852 (apropos_cmd): implement
3854 * conf/CellServDB (transarc.com): updated cell entry
3856 * arlad/volcache.c (get_info_loop): call VL_GetEntryByNameN
3857 instead of VL_GetEntryByName
3859 * arlad/fs_errors.h (conv_to_arla_errno): add unused. this also
3862 * arlad/fcache.c (fs_server_context): MAXNSERVERS -> NMAXNSERVERS
3864 * arlad/volcache.h (volcacheentry): use nvldbentry
3866 1998-12-16 Magnus Ahltorp <map@stacken.kth.se>
3868 * xfs/linux/bin/startarla.in: start arlad with -z switch
3870 1998-12-15 Assar Westerlund <assar@sics.se>
3874 * xfs/solaris/xfs_dev.c (xfs_message_rpc): bzero the xfs_link's.
3875 why is this necessary?
3877 * xfs/solaris/xfs_node.c (xfs_dnlc_enter): handle the case of no
3880 * xfs/solaris/xfs_syscalls.c (xfs_debug): new function
3881 (xfs_pioctl_call): call xfs_debug
3883 * xfs/irix/xfs_dev.c (xfs_message_wakeup_data): fix call to
3886 * arlad/fcache.c (find_next_fs): simplify
3887 (free_fs_server_context): simplify
3889 * tests: introduce and use AFSROOT
3891 * arlad/fcache.c (find_first_fs): only sort valid entries.
3892 estimate rtt:s before sorting.
3893 * arlad/volcache.c (get_info_loop): only sort valid entries.
3894 estimate rtt:s before sorting.
3895 * arlad/conn.c (conn_rtt_cmp): don't handle NULL pointers
3897 * arlad/conn.h (conncacheentry): add rtt
3900 1998-12-14 Love <lha@s3.kth.se>
3902 * xfs/unknown/xfs_deb.h: dummy
3904 Sun Dec 13 10:55:10 1998 Assar Westerlund <assar@sics.se>
3908 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_lock, xfs_unlock, xfs_islocked):
3909 add a large comment describing the sad state of affairs and remove
3910 all commented out code from the functions
3912 * ydr/parse.y: add syntax: error-function <function>
3914 * configure.in (AC_C_INLINE): test for
3916 * arlad/fcache.c (find_first_fs, find_next_fs): update to sort
3917 filservers by rtt (+ random fuzz)
3918 (free_fs_server_context): new function
3920 * arlad/volcache.c (get_info_loop): get all db-servers and sort
3921 them by rtt + random fuzz.
3923 * arlad/conn.c (conn_rtt_cmp): comparison function for rtt of two
3924 entries. adds a random fuzz to load balance.
3926 * arlad/conn.h (conn_rtt_cmp): function for comparing two entries
3929 Sun Dec 13 10:47:21 1998 Magnus Ahltorp <map@stacken.kth.se>
3931 * appl/fs.c: Added fs rmm.
3933 * arlad/messages.c: Change to new symlink creation
3934 sematics. VIOC_AFS_DELETE_MT_PT added. VIOC_AFS_STAT_MT_PT code
3937 * arlad/inter.c: Do followmountpoint in cm_symlink in order to
3938 install correct information into xfs
3940 * arlad/fcache.c: Don't to fcache_update_length when doing
3941 directory operations. Put more paranoia into fcache_update_length
3943 * arlad/adir.c: Change to unsigned char in hash function
3945 * xfs/linux/xfs_message.c: Invalidate cache when directory is
3948 * tests/*: New tests.
3950 Sat Dec 12 11:52:22 1998 Assar Westerlund <assar@sics.se>
3952 * xfs/bsd/Makefile.in (SYS): set from configure
3954 * configure.in (--with-sys): add
3956 * arlad/volcache.c (get_info_loop): try to return better errors.
3957 also handle the case of an non-existing volume better.
3959 * arlad/fcache.c (followmountpoint): update some comments and move
3962 * arlad/fcache.c (followmountpoint): more comments.
3964 * arlad/fcache.c (followmountpoint): restructure and split up.
3965 also return better errors.
3967 * arlad/messages.c (vioc_arladebug): new function
3969 * arlad/volcache.c (volcache_getby*): return ETIMEDOUT instead of
3972 * arlad/fcache.c (followmountpoint): don't nuke the error code
3974 * arlad/conn.c (pinger): ping one host per loop. print debug
3975 information correctly
3976 (conn_dead): print port number/services correctly.
3978 * appl/fs.c (checkservers_cmd): try to give better error messages
3979 for non-existing cells
3981 * tests/Makefile.in (SRC_TESTS): add ls-afs
3983 * tests/ls-afs: new test
3985 * appl/arlalib.h (fserr): update prototype
3987 * appl/fs_lib.c (fserr): const-ize, print to stderr
3988 (fs_checkservers): copy cell name correctly. return correct return
3991 * appl/fs.c (checkservers): fixes
3993 * appl/arlalib.h: add prototype for fs_checkservers
3995 * appl/fs_lib.c (fs_checkservers): random fixups move around
3998 * arlad/messages.c (viocckserv): some fixes
4000 * arlad/conn.h (conn_probe): add prototype
4002 * arlad/conn.c (pinger): run `conn_free' instead of just
4003 decrementing the refcount when done with a connection. if
4004 somebody else killed it while we're using it, it should get
4006 (conn_probe): new function
4007 (host_down): implement CKSERV_DONTPING and some other random stuff
4009 * xfs/linux/xfs_inodeops.c (xfs_write_file): return `i_blocks' in
4010 units of `I_BLOCKS_UNIT'
4012 * xfs/linux/xfs_node.c (xfs_attr2inode): return `i_blocks' in
4013 units of `I_BLOCKS_UNIT'
4015 * xfs/linux/xfs_locl.h (I_BLOCKS_UNIT): add
4017 * configure.in (VERSION): bump
4019 1998-12-08 Love <lha@s3.kth.se>
4021 * tests/run-tests.in: new file, do it in shellscript instead
4024 * lib/roken/getarg.[ch]: Made arg_printusage() understand style.
4026 * */{,*/}*.c: Made world aware of that arg_printusage() took
4029 * fs/fs_lib.c: stub for VIOCCKSERV
4031 * fs/fs.c: checkservers
4033 * arlad/conn.[ch]: conn_downhosts
4035 * arlad/messages.c: Non working viocckserv()
4037 * include/kafs.h: Flags for VIOCCKSERV
4039 Tue Dec 8 00:49:26 1998 Robert Burgess <rb@stacken.kth.se>
4043 Tue Dec 8 00:47:49 1998 Magnus Ahltorp <map@stacken.kth.se>
4045 * xfs/*: Fix memory leak.
4047 1998-12-06 Love <lha@s3.kth.se>
4049 * tests/find-and-cat-netbsd: cat netbsd 1.3.2
4051 Sun Dec 6 20:00:25 1998 Assar Westerlund <assar@sics.se>
4055 * appl/amon.c (main): no options to XtAppInitialize
4057 * configure.in (VERSION): bump
4059 * INSTALL: add --without-x
4061 * appl/Makefile.in (AMON_LIBS): add more libraries
4063 * appl/fs_lib.c (debug): new helper function
4064 (arla_debug): new function
4066 * appl/fs_local.h (arla_debug): add prototype
4068 * appl/fs.c (arladebug_cmd): new function
4069 (xfsdebug_cmd): fix parsing and unparsing of flags
4071 * appl/Makefile.in (fs): add arladeb.c
4073 * xfs/bsd/xfs_deb.c (xfsdeb): no XDEBANY
4075 * xfs/linux/xfs_syscalls.h: remove xfs_syscall debug stuff
4077 * xfs/linux/xfs_syscalls.c (handle_xfs_syscall): remove
4079 * xfs/include/xfs_debug.h (XDEBANY): remove
4081 * include/kafs.h (VIOC_ARLADEBUG): add
4083 * configure.in (VERSION): bump
4085 1998-12-06 Love <lha@s3.kth.se>
4087 * arlad/messages.c (viocaviator): New funtion
4088 (xfs_message_pioctl): Add VIOC_AVIATOR case
4090 * appl/fs_lib.c (fs_getaviatorstats)new function
4092 * appl/arlalib.h (fs_getaviatorstats)new function
4094 * arlad/kernel.[ch]: added kernel_usedworkers() and
4095 kernel_highworkers()
4097 * include/kafs.h: added VIOC_AVIATOR
4099 * appl/amon.c: Break out stripChart and add workers
4101 * configure.in: Check for X.
4103 * appl/amon.c: New, monitor number of vnodes and kbytes used i cache.
4105 Sun Dec 6 00:02:42 1998 Assar Westerlund <assar@sics.se>
4107 * arlad/arladeb.h (arla_deb_units): export new prototypes
4108 * arlad/arladeb.c (arla_deb_units): define in order. define all
4109 and almost-all properly
4110 (arla_log_set_level_num, arla_log_get_level_num): new functions
4112 * xfs/linux/setdebug.c: removed
4114 * xfs/linux/Makefile.in: removed setdebug
4116 * arlad/discon_log.c (log_head): initialize to zero by default
4118 * arlad/reconnect.c: static-ize some
4120 * arlad/darla.h: add prototypes
4122 * arlad/arla_local.h: include reconnect.h
4124 * arlad/reconnect.h: new file
4126 * appl/vos.c (main): initports -> ports_init
4128 * appl/pts.c (main): initports -> ports_init
4130 * lib/ko/ports.c (ports_num2name): new function
4131 (initports): renamed to ports_init. changed all callers
4133 * arlad/volcache.c (vl_probe): new function
4135 * arlad/messages.c (try_again): print a warning and sleep while
4136 waiting for a busy volume
4137 (viocgetacl, viocsetacl, viocgetvolstat, viocsetvolstat): call
4140 * arlad/fcache.c (fs_probe): new function
4141 (invalidator): new debug messages
4143 * arlad/cred.c (cred_expire): print a message telling the user
4144 that credentials have expired
4146 * arlad/conn.h (ConnCacheEntry): add `probe', `probe_le',
4147 `probe_next', `ntries'
4148 (conn_get): new parameter `probe'
4150 * arlad/conn.c: probe servers that were marked as down.
4151 (re_probe, add_to_probe_list, pinger): new functions
4152 (conn_init): start a pinger thread
4153 (new_connection, add_connection, internal_get, conn_get): new
4154 parameter `probe' (a function that probes the service)
4155 (conn_dead): print message when loosing connection to a server
4156 (conn_alive): print message when a server comes up again
4158 * arlad/arla_local.h: add <pwd.h>
4160 * arlad/arla.c (main): init rx before conn. initports ->
4163 * xfs/irix/Makefile.in (CFLAGS): update with more magic flags
4165 * util/list.c (listempty): explicit cast to shut up SGI cc
4167 * tests/copy-and-diff-gnu-mirror: use find and cmp instead of diff
4170 * arlad/discon_log.c (write_log_ent): add type to `index'
4172 * xfs/linux/xfs_message.c (xfs_message_installnode): use
4173 xfs_full_name_hash instead of full_name_hash
4175 * xfs/linux/xfs_inodeops.c (xfs_readdir): use xfs_full_name_hash
4176 instead of full_name_hash
4178 * xfs/linux/xfs_locl.h (xfs_full_name_hash): work-around for
4179 broken full_name_in_hash in 2.1.131
4181 * xfs/linux/xfs_vfsops.c (xfs_delete_inode): correct type in debug
4184 Sat Dec 5 00:35:05 1998 Assar Westerlund <assar@sics.se>
4186 * tests/Makefile.in (SRC_TESTS): add build-gdb
4188 * tests/build-emacs: use generic-build
4190 * tests/build-gdb: new test
4192 * tests/generic-build: new file
4194 * tests/strange-characters: new test
4196 * tests/read-vs-mmap.c, read-vs-mmap2.c, mmap-and-read.c: include
4199 * tests/Makefile.in: add copy-and-diff-gnu-mirror
4200 (check): generate more unique directory names so that several tests
4201 can be run in the same directory at the same time
4203 * tests/copy-and-diff-gnu-mirror: new test
4205 * arlad/kernel.c (worker): move `data' up front to make sure it's
4206 more suitably aligned. how should this really be done?
4208 * lwp/make-process.o.sh.in (irix): needs -n32 to as.
4210 * arlad/discon_log.h: clean-up
4212 * arlad/discon.h: clean-up
4214 * arlad/reconnect.c (reconnect_create): remove C++-comment
4216 * arlad/discon_log.c (update_log_ent): fix strange comment
4219 * arlad/messages.c (afsstatus2xfs_attr): use ClientModTime instead
4222 * arlad/adir.c: spell-checking and updating of comments
4224 * arlad/fcache.c (find_next_fs): destroy previous connection.
4227 * arlad/fcache.c: call conn_dead at all the appropriate places
4229 * arlad/volcache.c (get_info_loop): mark conns as dead
4231 * arlad/conn.c (create_new_connections): init `parent'
4232 (recycle_conn): remove one reference to `parent'
4233 (internal_get): new function. handle setting of parent.
4234 (conn_get): only return live servers
4235 (conn_dead, conn_alive): new functions
4237 * arlad/conn.h (ConnCacheEntry): `parent' points to a
4238 security-cred-free instance
4239 (conn_dead, conn_alive): new functions
4241 * arlad/fcache.c (find_next_fs, find_first_fs): fill the daily
4244 * arlad/fcache.c (find_next_fs): remember how far we got
4245 (getacl, setacl, getvolstat, setvolstat): always call fcache_release
4247 1998-12-05 Love <lha@s3.kth.se>
4249 * arlad/arla.c: New option, --fork-late,-f that daemonify,
4250 when everything is setup and running.
4252 1998-12-03 Love <lha@s3.kth.se>
4254 * Cleaned up disconnected code (no warnings).
4256 Wed Dec 2 05:04:04 1998 Assar Westerlund <assar@sics.se>
4258 * arlad/messages.c (viocgetcell): update to use `cell_dbservers'
4260 * arlad/fcache.c (find_first_fs, find_next_fs): new functions.
4262 (findconn): dead. reconnect code probably doesn't work
4264 * arlad/volcache.c (get_info_loop): new function to try all db
4267 * lib/ko/ko.h (cell_dbservers): new prototype
4269 * lib/ko/kocell.c (cell_dbservers): new function to list all DB
4271 (cell_listdbserver, cell_finddbserver): removed
4273 * ydr/output.c (print_array, print_varray): fix printf types
4275 Wed Dec 2 09:26:55 1998 Robert Burgess <rb@stacken.kth.se>
4279 Wed Dec 2 00:10:05 1998 Assar Westerlund <assar@sics.se>
4281 * tests/large-dir.c, tests/large-dir-16384: new files
4283 * tests/Makefile.in (TEST_PROGRAMS): add large-dir
4285 * tests/large-dir.c (creat_files): fix types
4287 * tests/mmap-and-read.c (generate_random_file): generate digits in
4290 * configure.in: vm/vm_object.h, vm/vm_pager.h, vm/vnode_pager.h:
4293 * util/hash.c (_add): add braces to make it do what I mean
4295 * util/hash.h (hashtabaddreplace): new prototype
4297 * util/hash.c (hashtabadd): renamed hashtabaddreplace
4298 (hashtabadd): don't replace existing entry
4300 * arlad/afs_dir.h (MAXPAGES): update comment
4302 * arlad/afsdir_check.c: handle large directories
4304 * arlad/adir.c (getpage): new function. use it.
4305 (is_page_empty): new function
4306 handle large directories
4308 * tests/large-dir.c (creat_files): better close the files
4310 * xfs/bsd/xfs_message.c (xfs_message_installattr,
4311 xfs_message_installdata): set pager size
4313 * xfs/bsd/xfs_locl.h: include vm/vm.h and vm/vm_extern.h
4315 * configure.in: VERSION: bump to 0.15
4316 vm/vm.h, vm/vm_extern.h: check for
4318 * arlad/reconnect.c: don't inlcude discon_fix.h
4320 * arlad/discon_fix.h: remove. not used anymore.
4322 * arlad/discon_log.c: don't inlcude discon_fix.h
4324 * arlad/arla_local.h: remove discon_fix.h
4326 * arlad/discon_log.h: replace vattr by xfs_attr and moved two
4327 definitions here from discon_fix.h
4329 1998-11-23 Love <lha@s3.kth.se>
4333 Sun Nov 22 00:35:33 1998 Assar Westerlund <assar@sics.se>
4335 * arlad/inter.c (cm_open): set result to zero if succesful
4337 * arlad/fs_errors.h: new file
4339 * arlad/messages.c (try_again): new function
4340 (xfs_message_*): rewritten to use a loop and call try_again to handle
4341 expiring kerberos credentials and busy volumes
4343 * arlad/kernel.c (WORKER_STACKSIZE): increase
4345 * tests/untar-emacs: progress to fd 3
4347 * tests/Makefile.in (check): give the tests a fd to stderr
4349 * tests/Makefile.in: add read-vs-mmap2
4351 * tests/read-vs-mmap2.c: new file
4353 * tests/Makefile.in (SRC_TESTS): add rename2
4354 (check): write output of failing tests into temporary files. run
4355 scripts with $(SHELL) -x
4357 * tests/Makefile.in: add mmap-and-read
4359 * arlad/inter.c (cm_mkdir): ReleaseSharedLock -> ReleaseWriteLock
4361 * arlad/fcache.h (fcache_update_length); add prototype
4363 * arlad/fcache.c (fcache_update_length): new function. use it.
4365 * arlad/adir.c: call fcache_update_length at appropriate places
4367 * configure.in: don't test for <sys/dirent.h> test for
4368 vfs_object_create and vnode_pager_setsize
4370 * tests/read-vs-mmap.c: new file
4372 * tests/hello-world.in: new file
4374 * tests/Makefile.in: hello-world, read-vs-mmap: add
4376 * arlad/fbuf.c (fbuf_buf): new function
4378 * arlad/fbuf.h (fbuf_buf): add prototype
4380 * arlad/fbuf.h: (fbuf_len): add prototype
4382 * arlad/fbuf.c (fbuf_len): add
4384 * tests/untar-emacs: add . in loop
4386 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_getpages): report the error
4388 * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhlookup): call vfs_object_create
4391 * xfs/bsd/xfs_vnodeops-common.c (xfs_write_comon): call
4392 `vnode_pager_setsize' if there's one
4394 1998-11-18 Love <lha@s3.kth.se>
4396 * xfs/bsd/xfs_vnodeops-bsd.c(xfs_{get,put}pages): use
4397 vnode_pager_generic_{put,get}pages if they exist.
4399 Tue Nov 17 04:10:59 1998 Assar Westerlund <assar@sics.se>
4401 * xfs/bsd/bin/startarla.in: create /afs
4403 * arlad/bsd-subr.c (write_dirent): use _GENERIC_DIRSIZ
4405 * arlad/arla_local.h: only include <sys/dir.h> if there's no
4408 1998-11-15 Love <lha@s3.kth.se>
4410 * arlad/inter.c(cm_rename): Check in new_name already exist, and
4411 delete it in that case, this should not happen. Suggested by
4412 Chuck Lever <chuckl@netscape.com>. Relly a problem between
4413 implementations of rename i bsd and linux xfs.
4415 1998-11-14 Love <lha@s3.kth.se>
4417 * arlad/inter.c(cm_rename): use adir_lookup_fcacheentry()
4419 * arlad/adir.[ch]: New function adir_lookup_fcacheentry()
4421 Fri Nov 13 05:31:27 1998 Assar Westerlund <assar@sics.se>
4423 * arlad/volcache.c (get_info_common): check for dfs fileset
4425 * rxdef/vldb.xg (VLF_DFSFILE_SET): added
4427 Tue Nov 10 05:08:27 1998 Assar Westerlund <assar@sics.se>
4429 * arlad/fcache.c (fcache_get): handle the case of the entry
4430 appearing while we were out looking for a free entry to put it in.
4432 * arlad/adir.c (adir_lookup): centry shouldn't be static
4434 1998-11-08 Love <lha@s3.kth.se>
4436 * ydr/output.c: dont ydr the OUT arguments in server stub if
4437 function fails, ie returns != 0.
4439 Sat Nov 7 17:22:58 1998 Assar Westerlund <assar@sics.se>
4441 * arlad/arla.c: new argument --workers
4443 * arlad/kernel.c (kernel_interface): dynamic number of worker
4446 * arlad/{discon_fix.h,darla.h,discon_log.c,discon.h,discon_log.h,darla.c,reconnect.c}: new files (from wwshen)
4448 * include/kafs.h (CONNMODE_PARCONNECTED): new
4450 * arlad/messages.c (xfs_message_create): preliminary disconn
4452 (viocconnectmode): create and replay log on transitions between
4453 DISCONNECTED and CONNECTED
4455 * arlad/fcache.h: some new prototypes
4457 * arlad/cmcb.c (cmcb_init): not being able to create security
4458 objects is a fatal error
4460 * arlad/fcache.c (throw_entry): signal threads waiting on fee
4462 (unlink_lru_entry): if there are no nodes, sleep until they appear.
4463 don't reuse nodes being used.
4464 (findconn): made global. handle disconnected mode
4465 (find_entry): remove bogus assert
4466 (fcache_unused): new function
4467 (fcache_giveup_all_callbacks): new function
4468 (fcache_reobtain_callbacks): new function
4469 (do_read_attr): more asserts
4470 (read_data): more asserts
4471 (write_data): try to handle disconnected mode
4472 (truncate_file): try to handle disconnected mode
4474 (fcache_get): can't set volume if disconnected
4476 * arlad/adir.c (adir_lookup): remove static variables. add more
4478 (adir_readdir): handle the case of broken pgcount in athena.mit.edu
4480 * arlad/kernel.c: create NUM_WORKERS worker threads to handle
4483 * arlad/volcache.c (get_info): handle the case of getting back a
4484 different name (seems to happen with DFS-servers). move out some
4487 1998-11-07 Assar Westerlund <assar@sics.se>
4489 * xfs/bsd/xfs_vfsops-bsd.c (xfs_dead_lookup): add
4491 * arlad/volcache.c: separate out the _byid and _byname functions.
4493 1998-11-07 Love <lha@s3.kth.se>
4495 * appl/fs.c: Patches from Andrzej Filinski <andrzej@daimi.aau.dk>
4497 1998-11-04 Love <lha@s3.kth.se>
4499 * arlad/fbuf.c (malloc_create): Do lseek(fd, 0, SEEK_SET) before
4500 reading in the file.
4502 * doc/oddities.texi: Added.
4504 1998-11-02 Love <lha@s3.kth.se>
4506 * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhopen): Fix for FreeBSD3.0
4508 * util/list.[ch] (listnextp): New function.
4510 * ydr/main.c: Call generate_tcpdump_patches().
4512 * ydr/parse.y: Call generate_printfunction{,_prototype} and
4513 generate_tcpdump_stub
4515 * ydr/output.h: Random prototypes for below functions.
4517 * ydr/output.c: Introduces concept of printing ydr structures,
4518 added random comment (in generated and !generated code).
4519 (td_file): where tcpdump patches ends up.
4520 (encode_*): Changed sematics for *_MEM, now do goto fail; instead
4522 (print_*): Implemented random functions and stubs for the rest.
4523 (display_type): entrypoint for printing functions
4525 Mon Nov 2 05:11:25 1998 Assar Westerlund <assar@sics.se>
4527 * arlad/fcache.c (throw_data): check that the length of the cache
4528 file agress with the status
4530 * arlad/arladeb.c (arla_deb_units): add `almost-all'
4532 * xfs/bsd/xfs_vnodeops-osf.c (xfs_create): don't print va_rawmode,
4533 there's no such field in 4.0
4535 * xfs/bsd/xfs_vfsops-osf.c (xfs_root): moved the code to
4538 * xfs/bsd/xfs_vfsops.h (xfs_root_common, make_dead_vnode): add
4540 * xfs/bsd/xfs_vfsops-common.c (xfs_root_common): new function
4542 * xfs/bsd/xfs_vfsops-bsd.c (make_dead_vnode): set v_data in newly
4544 (xfs_root): moved the code to xfs_root_common
4545 (xfs_install_filesys): use vfs_register if available
4547 * arlad/fcache.c (write_data): make sure `usedbytes' and
4548 entry->status.Length is updated correctly even if we fail to write
4549 the data to the server
4551 * aclocal.m4 (AC_C___ATTRIBUTE__): update to discover that the
4552 support for __attribute__ in gcc 2.6.3 is not enough for us
4554 Mon Nov 2 05:53:25 1998 Robert Burgess <rb@stacken.kth.se>
4558 1998-11-02 Love <lha@s3.kth.se>
4560 * README: Note about ultrix.
4562 * lib/acl/acl.h: Added stds.h, patch from Max
4563 <davros@cyclone.Stanford.EDU>
4565 Mon Nov 2 02:38:52 1998 Robert Burgess <rb@stacken.kth.se>
4569 1998-11-02 Love <lha@s3.kth.se>
4571 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_{get,put}pages): Disable since
4574 1998-10-31 Love <lha@s3.kth.se>
4576 * configure.in (FreeBSD3.0): Ugly hack to check if we have
4577 DIAGNOSTIC in kernel.
4579 * xfs/bsd/xfs_vnodeops-common.c: FreeBSD3.0
4580 (xfs_rename-common): Removed common
4583 Sat Oct 31 15:00:55 1998 Johan Danielsson <joda@hella.pdc.kth.se>
4585 * xfs/bsd/xfs_syscalls-common.c: make xfs_is_pag static
4587 * xfs/bsd/xfs_node-osf.c (vattr2xfs_attr): va_mode is u_short, not
4590 Sat Oct 31 03:42:23 1998 Assar Westerlund <assar@sics.se>
4592 * xfs/linux/xfs_inodeops.c (xfs_d_delete): make sure we have an
4595 * xfs/solaris/bin/Makefile.in (check): add
4597 * arlad/inter.c (cm_rename): swap order of adir_creat and
4600 Wed Oct 28 04:00:05 1998 Assar Westerlund <assar@sics.se>
4602 * xfs/bsd/xfs_syscalls-freebsd.c (xfs_syscall): fix typo
4604 * configure.in: vfsops: test for vfs_uninit and vfs_oidp struct
4605 proc.p_retval: improve test vfs_register: test for
4607 Sun Oct 25 20:36:37 1998 Johan Danielsson <joda@hella.pdc.kth.se>
4609 * arlad/arla.c: implement simple `wc' command
4611 * rx/rx_clock.c: STARTVALUE for UXP/V
4613 * lwp/make-process.o.sh.in: UXP/V
4615 * lwp/lwp.c: set regsize to 8 for UXP/V
4617 * lwp/process-vpp.s: LWP context switch for Fujitsu UXP/V
4619 1998-10-25 Assar Westerlund <assar@sics.se>
4621 * configure.in (freebsd3): set VFS_LKM
4623 Sun Oct 25 09:48:25 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
4625 * arlad: Added viocgetcacheparms
4627 * xfs/linux: Use filehandles in installdata. SMP fixes.
4629 Sat Oct 24 02:11:00 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
4631 * xfs/linux: Added filehandle support
4633 1998-10-24 Assar Westerlund <assar@sics.se>
4635 * xfs/bsd/xfs_message.c (xfs_message_installdata): revert second
4636 part of last change.
4638 * xfs/bsd/xfs_message.c (xfs_message_installdata): fall back to
4639 looking up cached by names if fhlookup fails. do not reinstall
4642 * xfs/bsd/xfs_vfsops-common.c (xfs_unmount_common): conditionalize
4643 on HAVE_KERNEL_DOFORCE
4645 * xfs/bsd/Makefile.in (DEFS): remove DIAGNOSTICS. defining this
4646 when it's defined in the kernel build would be a good idea but we
4647 currently have no way of knowing when that's the case.
4649 * arlad/adir.c (adir_lookup, adir_changefid): fcache_release
4652 * configure.in (doforce): check for
4654 * aclocal.m4 (AC_CHECK_KERNEL_VAR): new macro
4656 * xfs/bsd/bin/mount_xfs.c: handle two argument getvfsbyname
4658 * configure.in: getvfsbyname: check for two argument version
4660 1998-10-23 Love <lha@natt.e.kth.se>
4662 * rxkad/rxkad_locl.h: #ifndef assert
4664 * appl/pts.c: Implemented: createuser, creategroup, delete, remove,
4665 rename, chown, setfields
4666 (pr_name2id): Bugfixed
4667 (prdebug): Added debugging variable, and added some output code.
4668 (main): Added cvs style debugging switch.
4670 * lib/ko/koerror.c: Added prerrors.
4672 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_readdir): Cookies are off_t in NetBSD
4674 1998-10-21 Love <lha@s3.kth.se>
4676 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_readdir): No need to save cookies
4679 * ydr/output.c (encode_string): Check length of size-less TSTRING
4682 Wed Oct 21 22:41:29 1998 Johan Danielsson <joda@hella.pdc.kth.se>
4684 * xfs/bsd/xfs_node-bsd.c (xfs_cnp_init): init cn_proc
4686 Mon Oct 19 01:47:22 1998 Assar Westerlund <assar@sics.se>
4688 * xfs/bsd/xfs_syscalls-common.c (fhget_call, remote_pioctl):
4689 re-order code so that we always vrele vp
4691 * arlad/adir.c (adir_lookup): don't release the centry if
4694 * arlad/messages.c (viocvenuslog): only print rx stats if RX_DEBUG
4696 * xfs/bsd/xfs_msg_locl.h: new prototype
4698 * xfs/bsd/xfs_message.c (xfs_message_updatefid): new function
4700 * xfs/include/xfs_message.h (XFS_MESSAGE_UPDATEFID): new message
4702 * xfs/bsd/xfs_dev-common.c (xfs_message_receive): handle
4705 * arlad/messages.c (update_kernelfid): new function
4706 (xfs_message_pioctl): moved most of the operations into functions of
4709 * arlad/adir.h: new prototypes
4711 * arlad/adir.c (find_entry): new function
4712 (find_by_name): use find_entry
4713 (update_fid_by_name): new function
4714 (adir_changefid): new function
4715 (adir_emptyp): new function
4717 1998-10-19 Assar Westerlund <assar@sics.se>
4719 * lwp/make-process.o.sh.in (irix): needs -n32 add -I../include to
4722 * lwp/process.S (hopefully) improve some of the conditional stuff.
4724 Sun Oct 18 11:00:58 1998 Assar Westerlund <assar@sics.se>
4726 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_mkdir): conditionalize vput
4728 * xfs/irix/xfs_vnodeops.c (xfs_write): merge solaris fix for
4729 updating mtime and size
4730 (xfs_creat): merge solaris fix for truncating file
4731 (xfs_map): try to implement
4733 Sun Oct 18 00:03:12 1998 Assar Westerlund <assar@sics.se>
4735 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_symlink): fix call to
4738 * arlad/cred.h (cred_add_krb4): updated prototype
4740 * arlad/cred.c (cred_add_krb4): add `uid'
4742 Sun Oct 18 00:02:36 1998 Johan Danielsson <joda@hella.pdc.kth.se>
4744 * xfs/bsd/xfs_node-osf.c (vattr2xfs_attr): cast VNOVAL to correct
4746 (xfs_cnp_init): fix hash calculation
4748 * xfs/bsd/xfs_vnodeops-*.c: don't pass cnp to various common
4751 Sat Oct 17 12:37:54 1998 Assar Westerlund <assar@sics.se>
4753 * xfs/bsd/xfs_vnodeops-common.c (xfs_lookup_common,
4754 xfs_create_common): disable my create optimization
4756 * xfs/bsd/xfs_node-bsd.c (new_xfs_node): fix interlock stuff
4758 * arlad/adir.c (adir_lookup): disable cache
4760 * xfs/bsd/xfs_message.c (xfs_message_installdata): only purge
4761 cache if XFS_INVALID_DNLC is set
4763 * arlad/messages.c: set installdata.flag
4765 * xfs/include/xfs_message.h (installdata): add a flag
4767 Sat Oct 17 11:47:48 1998 Assar Westerlund <assar@sics.se>
4769 * arlad/messages.c (token_for_cell): return uid
4770 (xfs_message_pioctl VIOCSETTOK): remember uid
4772 * arlad/cred.c (cred_add): add `uid'
4774 * arlad/cred.h (CredCacheEntry): add uid
4776 * xfs/irix/xfs_vnodeops.c (xfs_readdir): look at the abi and
4777 convert to irix5_dirent if needed
4779 * xfs/bsd/xfs_vnodeops-common.c: remove bsd-specific code
4781 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_lookup, xfs_remove, xfs_rmdir,
4782 xfs_link, xfs_symlink): move the freeing of the namei buffer here
4785 * xfs/bsd/xfs_vfsops-osf.c (make_dead_vnode): fix prototype
4787 * xfs/bsd/xfs_syscalls-common.c: include <sys/ioccom.h> or
4790 * xfs/bsd/xfs_node-osf.c (xfs_dnlc_enter): do the negative cache
4793 * xfs/bsd/xfs_vnodeops-common.c: VOP_UNLOCK -> xfs_vfs_unlock
4795 * xfs/bsd/xfs_node-bsd.c (xfs_dnlc_enter): make sure there's no
4796 entry already in the DNLC
4798 * xfs/bsd/xfs_message.c (xfs_message_installnode): removed cache
4801 * arlad/fcache.c (read_data): if copyrx2fd fails, bail out
4803 Fri Oct 16 16:46:57 1998 Johan Danielsson <joda@hella.pdc.kth.se>
4805 * xfs/bsd/xfs_locl.h: #define cn_nameiop ni_nameiop
4807 1998-10-16 Love <lha@s3.kth.se>
4809 * appl/fs*.[ch]: Added code to gc pags (compat).
4811 * include/kafs.h: Added VIOC_GCPAGS
4813 1998-10-15 Love <lha@s3.kth.se>
4815 * INSTALL,configure.in: --enable-knfs
4817 * xfs/bsd/xfs_vnodeops.c(xfs_readdir): Added cookie creation code.
4819 Wed Oct 14 05:41:34 1998 Assar Westerlund <assar@sics.se>
4821 * xfs/bsd/xfs_vnodeops.h: update prototypes
4823 * xfs/bsd/xfs_vnodeops-osf.c (xfs_mkdir, xfs_readdir): adapt to
4824 new versions of -common functions
4826 * xfs/bsd/xfs_vnodeops-common.c (xfs_lookup_common): do not enter
4827 negative entries if creating
4828 (xfs_mkdir_common): remove the OS-specific code
4829 (xfs_readdir): set `eofflag'
4831 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_create): make sure to call
4832 VOP_LOOKUP with cn_nameiop == LOOKUP
4833 (xfs_mkdir): do the post mkdir lookup
4834 (xfs_readdir): set eofflag
4836 * xfs/bsd/xfs_vfsops-bsd.c: replace printf with XFSDEB
4838 * xfs/bsd/xfs_syscalls-common.c (fhget_call): check suser
4840 * xfs/bsd/xfs_node-bsd.c (xfs_dnlc_enter_name): init more fields
4843 * xfs/bsd/xfs_message.c (xfs_message_installnode): make sure we
4844 get rid of any negative entries before adding the new entry. Is
4846 (xfs_message_installdata): remove old stuff
4848 * xfs/bsd/xfs_locl.h (xfs_proc_to_cred): new macro
4850 * xfs/bsd/Makefile.in (unload): fix for non-OSF1
4852 * xfs/bsd/bin/mount_locl.h (__progname): remove
4854 * xfs/bsd/xfs_vfsops.h (xfs_fhlookup): update prototype
4856 * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhlookup): take `gen' and check it
4858 * lib/ko/gensysname.c (sysnames): remove all bsd entries
4860 * TODO: I think we do this (at least on some OSes)
4862 * xfs/bsd/xfs_dev-common.c (xfs_message_rpc): sigmask seems to be
4863 defined on more systems than __sigmask. are there any with only
4866 * xfs/bsd/xfs_common.h: s/define/endif/
4868 Thu Oct 15 05:29:19 1998 Assar Westerlund <assar@sics.se>
4870 * xfs/bsd/Makefile.in: use KERNEL_LD
4872 * xfs/bsd/xfs_locl.h: <vm/vm_zone.h>
4874 * configure.in (KERNEL_LD): set
4875 <vm/vm_zone.h>: check for
4877 * xfs/bsd/xfs_vnodeops-bsd.c: free pathnames with zfree if there's
4880 * aclocal.m4 (AC_KERNEL): allow ac_kernel_ld to be already set
4881 (AC_HAVE_KERNEL_FUNC): use KERNEL_CLAGS. should probably call
4882 AC_TRY_COMPILE_KERNEL directly
4884 * xfs/bsd/xfs_vnodeops-common.c: free pathnames with zfree if
4887 * configure.in (freebsd3): add
4888 (vfc_mountroot in struct vfsconf): check for
4889 (zfreei, vfs_cache_lookup): check for
4891 * xfs/irix/xfs_vfsops.c (xfs_root): don't VN_HOLD
4892 (make_dead_vnode): use vn_alloc
4894 * xfs/bsd/xfs_vfsops-bsd.c: move around and reorganize the code
4896 * xfs/bsd/xfs_wrap-bsd.c: handle different versions of MOD_DEV
4898 * xfs/bsd/xfs_syscalls.h: re-organize SCARG & syscallarg
4900 * configure.in: add -I. before testing for VOP_LOCK & c:o
4902 * configure.in (freebsd): use /bin/sh and not $SHELL
4904 * acconfig.h (HAVE_STRUCT_PROC_P_RETVAL): add
4906 * configure.in (freebsd): generate vnode_if.[ch]
4907 (struct proc): look for `p_retval'
4909 * xfs/bsd/xfs_wrap-bsd.c: replace printf by XFSDEB
4910 (xfs_mod): handle MOD_DISPATCH
4912 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_cachedlookup): new function
4913 (xfs_eopnotsupp): always return EOPNOTSUPP. use instead of
4916 * xfs/bsd/xfs_syscalls.h (xfs_setpag_call, xfs_pioctl_call): add
4918 * xfs/bsd/xfs_syscalls-freebsd.c (xfs_syscall): move here. handle
4919 3.0 returning values
4920 (xfs_install_syscalls): try AFS_SYSCALL first, then first free lkm
4923 * xfs/bsd/xfs_syscalls-common.c (xfs_syscall): remove
4925 * xfs/bsd/xfs_syscalls-osf.c (xfs_syscall): move here
4926 (xfs_install_syscalls): try AFS_SYSCALL first, then AFS_SYSCALL2, and
4927 then first free lkm slot
4929 * xfs/bsd/xfs_syscalls-bsd.c (xfs_syscall): move here
4930 (xfs_install_syscalls): try AFS_SYSCALL first, then first free lkm
4933 * xfs/bsd/xfs_locl.h: <sys/filedesc.h>: move <sys/fctnl.h>:
4936 * xfs/bsd/xfs_dev-bsd.c (xfs_dev): modern FreeBSD has poll instead
4939 Sun Oct 11 16:15:04 1998 Johan Danielsson <joda@stp.pdc.kth.se>
4941 * xfs/bsd/xfs_vnodeops-{osf,bsd}.c (xfs_create): move some code from
4942 xfs_create_common here
4944 * xfs/bsd/xfs_vnodeops-common.c (xfs_create_common): remove
4945 architecture dependent code (specifically the call to VOP_LOOKUP)
4947 * xfs/bsd/xfs_dev-common.c (xfs_message_rpc): use __sigaddset if
4950 Sat Oct 10 21:05:13 1998 Johan Danielsson <joda@hella.pdc.kth.se>
4952 * lib/ko/gensysname.c: add generic bsd handler
4954 * configure.in, lib/ko/ko_locl.h: sys/utsname.h
4956 1998-10-09 Love <lha@s3.kth.se>
4958 * ydr/output.c: (sizeof_type) TOPAQUE has a size (1).
4960 Thu Oct 8 14:39:48 1998 Johan Danielsson <joda@hella.pdc.kth.se>
4962 * xfs/bsd/xfs_node-osf.c (new_xfs_node): move call to insmntque to
4963 after initializing the vnode
4964 (so it will automagically create a VM object)
4966 * xfs/bsd/xfs_vfsops.h: xfs_fhlookup takes generation number iff
4969 * xfs/bsd/xfs_message.c (xfs_message_installdata): pass generation
4970 number to xfs_fhlookup iff OSF/1
4972 * xfs/bsd/xfs_vfsops-osf.c: implement xfs_fhlookup, and xfs_fhopen
4974 * xfs/bsd/xfs_vfsops-common.c (xfs_mount_common): init OSF/1
4977 * xfs/bsd/xfs_dev-osf.c (xfs_install_device): try to install
4978 device with major 64
4980 * xfs/bsd/xfs_syscalls-osf.c: try to install syscall at slot 232
4982 * xfs/bsd/xfs_syscalls-common.c: fixes for OSF/1
4984 * xfs/bsd/xfs_dev-common.c (xfs_devclose_common): cleanup,
4985 (xfs_message_rpc): use xfs_curproc()
4987 * xfs/bsd/xfs_locl.h: xfs_curproc()
4989 * arlad/bsd-subr.c (conv_dir): check return value from
4992 * xfs/bsd/bin/mount_xfs.c: call set_progname, add `-F' option to
4993 set mountflags (used by OSF/1 mount)
4995 Wed Oct 7 21:28:14 1998 Johan Danielsson <joda@hella.pdc.kth.se>
4997 * lib/ko/gensysname.c: Add Digital UNIX/Alpha
4999 Wed Oct 7 05:01:53 1998 Assar Westerlund <assar@sics.se>
5001 * xfs/linux/xfs_inodeops.c (xfs_follow_link): handle both two and
5002 three argument versions
5004 * acconfig.h: HAVE_FOLLOW_LINK_THREE_ARGS: add
5006 * configure.in (linux): try looking in /proc/ksyms before
5008 (follow_link): test for number of arguments
5010 1998-10-05 Assar Westerlund <assar@sics.se>
5016 * configure.in: bump to 0.13
5018 * arlad/irix-subr.c: use the correct size macro
5020 * INSTALL: add --disable-dynamic-afs and --enable-smp
5022 * xfs/irix/Makefile.in (unload): add
5024 * configure.in (linux): fall back on testing on /proc/cpuinfo
5027 * configure.in (linux): do the smp test against the include-files
5030 * configure.in (linux): test for smp by looking in /proc/ksyms
5031 instead of /proc/cpuinfo
5033 1998-10-04 Assar Westerlund <assar@sics.se>
5035 * arlad/fcache.c (stale): set sentenced iff already locked.
5036 changed all callers.
5038 * util/log.c (log_vprint_syslog): fflush
5040 * xfs/irix: much improved. most stuff (except getdents) seems to
5043 Sun Oct 4 03:44:53 1998 Magnus Ahltorp <map@stacken.kth.se>
5045 * acconfig.h configure.in: Check for read_super arguments.
5047 * xfs/linux/xfs_load.c: Fix read_super argument confusion.
5049 1998-10-03 Love <lha@e.kth.se>
5051 * xfs/bsd/xfs_node-bsd.c(new_xfs_node): Broke out the
5053 (xfs_getnewvnode): new function, creates xnode too.
5055 * xfs/bsd/xfs_vfsops-{bsd.c,common.c}: Added strange knfs code.
5057 Fri Oct 2 06:39:15 1998 Assar Westerlund <assar@sics.se>
5059 * arlad/volcache.c (get_info): remove bogus `we didn't get what we
5062 * xfs/linux/xfs_inodeops.c (xfs_readdir, xfs_follow_link): do
5065 * xfs/linux/xfs_dev.c (xfs_devread): do free
5067 * xfs/linux/xfs_common.c (xfs_alloc): debugging for xfs_allocs -
5070 * xfs/linux/xdeb.h (XDEBMEM): add
5072 * ydr/symbol.c (printsymbol): unused
5074 * lwp/iomgr.c (IOMGR): correct printf format string
5076 * include/bits.c: some unused to get rid of warnings
5078 * arlad/messages.c (xfs_message_rpc): mark as unused to get rid of
5081 * acconfig.h (_GNU_SOURCE): define it
5083 Wed Sep 30 06:39:08 1998 Assar Westerlund <assar@sics.se>
5085 * xfs/irix/xfs_dev.c (xfs_install_device): initialize the queues
5087 * xfs/irix/xfs_vfsops.c (xfs_mount): remove cdevsw check
5089 Wed Sep 30 01:10:31 1998 Assar Westerlund <assar@sics.se>
5093 * arlad/fcache.c (create_node): new function
5094 (fcache_get): call create_node if there is no cache node.
5096 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_lock, xfs_unlock, xfs_islocked):
5097 don't use vop_nolock/vop_nounlock/vop_noislocked
5099 Tue Sep 29 04:07:14 1998 Assar Westerlund <assar@sics.se>
5101 * arlad/volcache.c (recycle_entry): release the filecache entry
5103 * arlad/fcache.c (fcache_get): assert that find_free_entry
5106 Mon Sep 28 00:51:45 1998 Assar Westerlund <assar@sics.se>
5108 * acconfig.h (HAVE_KERNEL_VFS_GETVFS): add
5110 Sun Sep 27 11:55:55 1998 Assar Westerlund <assar@sics.se>
5112 * xfs/bsd/xfs_vfsops-bsd.c (xfs_may_uninstall_filesys): new
5113 (xfs_fhlookup): use vfs_getvfs
5115 * configure.in (vfs_getvfs): check for
5116 (linux): check for __SMP__
5118 Sun Sep 27 11:55:54 1998 Assar Westerlund <assar@sics.se>
5122 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_islocked): faking always having
5123 it locked is better.
5125 * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhopen): bump v_writecount if
5126 opening for wrinting
5128 Sun Sep 27 11:29:46 1998 Assar Westerlund <assar@sics.se>
5130 * xfs/linux/Makefile.in: use KERNEL_CFLAGS
5132 * configure.in (linux): set KERNEL_CFLAGS
5133 use AC_HAVE_KERNEL_STRUCT_FIELD
5135 * aclocal.m4 (AC_HAVE_KERNEL_STRUCT_FIELD): new macro
5137 Sun Sep 27 07:33:18 1998 Assar Westerlund <assar@sics.se>
5139 * arlad/adir.c (add_to_page): set flag
5141 Sat Sep 26 19:45:37 1998 Robert Burgess <rb@stacken.kth.se>
5145 Sat Sep 26 19:28:00 1998 Assar Westerlund <assar@sics.se>
5147 * arlad/adir.c (adir_lookup): correct centry logic
5149 * lwp/Makefile.in (REALCFLAGS): add DEBUG
5151 * arlad/fbuf.c (mmap_copyrx2fd, mmap_copyfd2rx, malloc_copyrx2fd,
5152 malloc_copyfd2rx): handle len == 0 properly
5154 * arlad/arla.c: use fcache_release
5156 * arlad/adir.c (adir_lookup): verify datap of cached directory
5158 * arlad/fcache.c (find_entry_nolock): new function
5159 (fcache_stale_entry): if entry is locked, sentence it
5160 (read_data): always call copyrx2fd
5161 (write_data): always call copyfd2rx
5162 (fcache_release): new function. change all callers.
5164 * arlad/fcache.h (FCacheEntry): new flag `sentenced'
5165 (fcache_release): new function
5167 Wed Sep 23 03:31:48 1998 Assar Westerlund <assar@sics.se>
5169 * xfs/solaris/xfs_common.c (memcpy): define in terms of bcopy
5170 because gcc generates references to it and solaris doesn't have
5173 Sun Sep 20 06:18:09 1998 Assar Westerlund <assar@sics.se>
5175 * arlad/sunos-subr.c (conv_dir): `handle' should be `cache_name'
5177 * arlad/irix-subr.c (conv_dir): `handle' should be `cache_name'
5179 * arlad/hpux-subr.c (conv_dir): `handle' should be `cache_name'
5181 * arlad/linux-subr.c (conv_dir): `handle' should be `cache_name'
5183 Thu Sep 17 00:26:08 1998 Assar Westerlund <assar@sics.se>
5185 * arlad/messages.c: conditionalize all tests of RXKADEXPIRED on
5188 * xfs/bsd/xfs_message.c (xfs_message_installdata): use cache
5191 * xfs/bsd/xfs_syscalls-common.c: use xfs_fh_args
5193 * xfs/bsd/xfs_syscalls.h (xfs_fh_args): define
5195 * xfs/bsd/xfs_vfsops.h (xfs_fhlookup): add prototype
5197 * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhlookup): new function
5198 (xfs_fhopen): use `xfs_fhlookup'
5200 1998-09-15 Love <lha@s3.kth.se>
5202 * xfs/linux/xfs_locl.h: Checked for HAVE_LINUX_MODVERSIONS_H
5203 and appied patch from Aaron M. Ucko <amu@mit.edu>.
5205 * configure.in: - Added check for <linux/modversions.h>
5206 - Applied patch from (Dima Ruban) <dima@best.net>
5208 Mon Sep 14 03:14:13 1998 Assar Westerlund <assar@sics.se>
5210 * xfs/solaris/xfs_vnodeops.c (xfs_read, xfs_write): complain if
5213 * xfs/solaris/xfs_message.c (xfs_message_installdata): only purge
5214 the name cache if this file had data before.
5216 * xfs/bsd/xfs_vnodeops-common.c (xfs_lookup_common): removed bogus
5219 * xfs/bsd/xfs_node-bsd.c (xfs_dnlc_enter): check for NCHNAMLEN.
5220 apparently freebsd-3.0 doesn't have any limit on the length of
5221 file names in the dnlc.
5223 * conf/arla.conf: bump {high,low}_bytes
5225 * arlad/messages.c (xfs_message_mkdir): do an installdata of the
5228 * arlad/inter.c (cm_getattr): should be no need to set the tokens
5231 * arlad/adir.c: removed lots of magic, clean-up.
5232 (adir_lookup): add a one-entry cache of directories
5233 (adir_readdir): return entries in order stored in directory instead of
5234 hash table order (. and .. are always the two first entries)
5236 1998-09-13 Johan Danielsson <root@chowder.pdc.kth.se>
5238 * configure.in: use AC_ELF_OBJECT_FORMAT, add -D_LKM to CFLAGS
5239 when checking for vfssw, (NetBSD) try to figure out KERNEL_CFLAGS
5240 in a more intelligent way, and make sure we have -mno-fp-regs on
5243 Sat Sep 12 23:34:14 1998 Assar Westerlund <assar@sics.se>
5245 * xfs/solaris/xfs_vnodeops.c (xfs_setattr): clear tokens before
5247 (xfs_link): arguments in correct order. call lookup correctly
5248 (xfs_map): verify that the attributes are there. fake handling the
5249 MAP_SHARED, PROT_WRITE-case
5251 * xfs/solaris/xfs_syscalls.c: solaris' uprintf doesn't understand
5254 * arlad/messages.c (xfs_message_putattr): install the new
5257 * arlad/fcache.c (truncate_file): send (size, 0, size) to
5258 StartRXAFS_StoreData.
5260 1998-09-12 Love <lha@s3.kth.se>
5262 * ydr/output.c: Added missing adding of total_len for strings.
5263 Added RCSID to the generated files.
5265 Sat Sep 12 03:01:36 1998 Assar Westerlund <assar@sics.se>
5267 * xfs/bsd/xfs_vfsops.h (xfs_mount_common): new prototype
5269 * xfs/bsd/xfs_vfsops-common.c (xfs_mount_common): const-ize
5272 * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhopen): more debugging
5274 * xfs/bsd/xfs_syscalls-common.c (fhget_call, fhopen_call): new
5277 * xfs/bsd/xfs_syscalls-freebsd.c (xfs_syscallent): correct number
5280 * xfs/bsd/xfs_syscalls-bsd.c (xfs_syscallent): correct number of
5283 * arlad/fcache.c (fcache_fhget): check fhopen_working
5285 Fri Sep 11 04:27:35 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
5287 * milko/{ptserver.c,pr.c}: First version of ptserver
5289 Wed Sep 9 22:15:09 1998 Assar Westerlund <assar@sics.se>
5291 * xfs/bsd/xfs_syscalls.h (SCARG): better definition
5293 * xfs/bsd/xfs_syscalls-common.c: now even compiles
5295 * xfs/bsd/xfs_message.c (xfs_messge_installdata): don't use
5296 non-existing variable `tmp'
5298 * rx: compilable without RXDEBUG
5300 * arlad/messages.c: remove unused variables
5302 * lib/ko/gensysname.c: add freebsd2.2
5304 * arlad/arla.c (arla_rx_status): conditionalize on RXDEBUG
5306 * arlad/Makefile.in (REALCFLAGS): add RXDEBUG
5308 Tue Sep 8 01:21:25 1998 Assar Westerlund <assar@sics.se>
5310 * arlad/adir.c: new fcache_open_file
5312 * xfs/bsd/xfs_vfsops.h (xfs_fhopen): prototype
5314 * xfs/bsd/xfs_vfsops-bsd.c (xfs_fhopen): new function
5316 * xfs/bsd/xfs_syscalls-common.c (fhget_call, fhopen_call): new
5318 (pioctl_call): restructure
5320 * xfs/solaris/bin/umount_xfs.c: include <config.h>
5323 * xfs/solaris/bin/mount_xfs.c: include <config.h>
5326 * xfs/solaris/bin/test-fhopen.c: new file
5328 * xfs/solaris/bin/Makefile.in (test-fhopen): add
5330 * xfs/solaris/xfs_vnodeops.c (xfs_space): implement for cmd ==
5331 F_FREESP, fl->l_len == 0
5333 * xfs/solaris/xfs_vfsops.c (xfs_fhlookup, xfs_fhopen): new
5336 * xfs/solaris/xfs_syscalls.h (xfs_fh_args): add
5338 * xfs/solaris/xfs_syscalls.c (fhget_call, fhopen_call): new
5340 (pioctl_call): restructure
5342 * xfs/solaris/xfs_message.c (xfs_message_installdata): update to
5343 new message. use xfs_fhlookup
5345 * xfs/solaris/xfs_deb.h (XDEBLKM, XDEBSYS): define
5347 * xfs/sunos/xfs_message.c (xfs_message_installdata): update to new
5350 * xfs/rhapsody/xfs_message.c (xfs_message_installdata): update to
5353 * xfs/linux/xfs_message.c (xfs_message_installdata): update to new
5356 * xfs/irix/xfs_message.c (xfs_message_installdata): update to new
5359 * xfs/include/xfs_message.h (CACHEHANDLESIZE): make fsid_t +
5361 (xfs_message_installdata): add cache_name
5363 * xfs/bsd/xfs_message.c (xfs_message_installdata): update to new
5366 * xfs/aix/xfs_message.c (xfs_message_installdata): update to new
5369 * include/kafs.h (VIOC_FHGET, VIOCE_FHOPEN): define
5371 * arlad/inter.h (cm_open): update prototype
5373 * arlad/inter.c (cm_open): return cache_name and cache_handle
5375 * arlad/arla.c: update to new fcache_open_file
5377 * arlad/fcache.h (FCacheEntry): 32-ize. replace `inode' with
5378 index and cache-handle
5380 * arlad/fcache.c (fhopen, fcache_fhget): new functions
5381 (fcache_create_file): new function. use.
5382 (fcache_open_file): use fhopen if it's working
5383 (fcache_open_file): remove mode argument. change all callers.
5384 (find_entry): handle the case of being called from volcache before the
5385 fcache is initialized.
5386 (read_data, write_data): only call copyrx2fd/copyfd2rx if sizefs > 0
5388 * arlad/subr.h (conv_dir): update prototype
5390 * arlad/*-subr.c (conv_dir): return cache_name and handle.
5392 * arlad/Makefile.in (KAFS_LIBS): set
5393 (LIBS): add KAFS_LIBS
5395 1998-09-06 Love <lha@s3.kth.se>
5397 * output.c: - Added bounce checking for memencoding.
5398 - Got rid of fail: label error message.
5400 * rx/rx.h: Added sys/param.h to get rid of warning.
5402 Fri Aug 28 22:49:22 1998 Assar Westerlund <assar@sics.se>
5404 * util/strutil.h (strupr, strlwr): remove prototypes
5406 * util/strutil.c (strupr, strlwr): remove (they're already in
5409 Mon Aug 24 02:48:19 1998 Assar Westerlund <assar@sics.se>
5411 * xfs/solaris/xfs_vnodeops.c (xfs_create): truncate the file if
5414 * xfs/solaris/xfs_vnodeops.c (xfs_create): existing file is no
5416 (xfs_write): update mtime and size from cache vnode
5418 Tue Aug 11 18:34:33 1998 Johan Danielsson <joda@blubb.pdc.kth.se>
5420 * arlad/arla.c (read_conffile): use parse_units
5422 Tue Aug 4 02:19:06 1998 Assar Westerlund <assar@sics.se>
5424 * xfs/bsd/xfs_vfsops-bsd.c (xfs_vfsops): conditionalize vfc_name
5426 * configure.in: check for `vfs_name' in `struct vfsops'
5428 Fri Jul 31 00:15:38 1998 Robert Burgess <rb@stacken.kth.se>
5432 * xfs/solaris: compiler warning cleanup
5434 Thu Jul 30 23:04:46 1998 Assar Westerlund <assar@sics.se>
5436 * configure.in (netbsd): comments are `dnl' and not `/*' :-)
5438 * configure.in: --with-krb{4,5}: better values for include and lib
5441 * xfs/linux/xfs_inodeops.c (xfs_write_file): set the f_pos of the
5442 cached file before calling its write
5444 Wed Jul 29 22:35:31 1998 Assar Westerlund <assar@sics.se>
5446 * TODO: optimistically remove the items that I think have been
5449 * arlad/fcache.c (unlink_lru_entry): don't remove entries with
5451 (followmountpoint): set refcount on the root of the new volume, not on
5452 the mount point in the old one.
5454 * arlad/inter.c (cm_lookup): fix the handling of `..' over mount
5457 * arlad/volcache.c (recycle_entry): decrement the refcounts of all
5458 fcacheentries pointing to the root of any of the volumes of `e'
5460 * arlad/volcache.h (volcacheentry): remove `mount_point'
5462 * INSTALL: removed mknod from BSD installation instructions
5464 * xfs/bsd/bin/xfs_makedev: new file
5466 * xfs/bsd/bin/startarla.in: use xfs_makedev
5468 * xfs/bsd/bin/Makefile.in: install xfs_makedev
5470 * xfs/bsd/xfs_wrap-bsd.c: made it into a LKM_DEV.
5472 * xfs/bsd/xfs_dev-bsd.c (xfs_install_device, xfs_uninstall_device,
5473 xfs_stat_device): removed all code for adding the device to the
5476 * xfs/bsd/Makefile.in (load): use -p xfs_makedev
5478 * arlad/adir.c (adir_remove, adir_creat): assert the directory
5481 * arlad/inter.c (cm_create, cm_mkdir, cm_symlink, cm_link,
5482 cm_remove, cm_rmdir, cm_rename): make sure we have the data of the
5485 * arlad/fbuf.c (malloc_truncate): call ftruncate
5487 * xfs/bsd/xfs_vfsops-common.c (xfs_mount_common): handle two
5488 argument vfs_getnewfsid
5490 * configure.in: test for two argument vfs_getnewfsid
5492 Tue Jul 28 23:36:47 1998 Assar Westerlund <assar@sics.se>
5494 * lwp/process.S: Applied patch for NetBSD/alpha from John Davison
5495 <davisoja@clarkson.edu>
5497 * ydr/output.c: try to handle error returns from rx_Read and
5500 * lib/ko/kocell.c: check memory allocation and clean-up
5502 * appl/fs.c (afs_listquota): don't divide by zero
5504 * arlad/fcache.c (followmountpoint): close fd if fbuf_create fails
5506 1998-07-28 Love <lha@e.kth.se>
5508 * xfs/bsd/xfs_vfsops-osf.c(xfs_install_fs): Be paranoid about the size
5509 of the private data of struct vnode.
5511 * xfs/bsd/xfs_dev-common.c: (xfs_message_rpc):No code for sigwaitmask
5513 1998-07-24 Love <lha@e.kth.se>
5515 * xfs/bsd/xfs_vfsops-osf.c: (xfs_root): Added uid check for osf.
5517 * appl/fs.c: Added VIOCNOP.
5519 Fri Jul 24 19:15:45 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
5521 * arlad/messages.c: Added VIOCGETCELL, VIOCWHEREIS, VIOCNOP,
5522 VIOCUNPAG and VIOC_AFS_STAT_MT_PT.
5524 Fri Jul 24 09:53:19 1998 Assar Westerlund <assar@sics.se>
5526 * configure.in (int32, u_int32): test for
5528 * arlad/messages.c (xfs_message_create): try installing data for
5531 * arlad/arla.c (temp_sysname): const-ize
5533 Fri Jul 24 06:49:32 1998 Magnus Ahltorp <map@stacken.kth.se>
5535 * xfs/linux/xfs_inodeops.c: Merged in patch from
5536 Aaron M. Ucko <amu@mit.edu>.
5538 * xfs/linux: Made things work better on 2.0 and i386.
5540 1998-07-24 Love <lha@e.kth.se>
5542 * appl/fs.c: fixed small bug in fs lsm.
5544 Thu Jul 23 03:55:12 1998 Assar Westerlund <assar@sics.se>
5546 * xfs/bsd/xfs_vfsops-common.c (xfs_mount_common): use
5547 vfs_getnewfsid is there's one. From Dan Winship <danw@MIT.EDU>
5549 * xfs/bsd/xfs_vfsops-bsd.c: use `struct vnodeopv_desc',
5550 vfs_attach, and vfs_detach when applicable. From Dan Winship
5553 * configure.in: more tests for modern NetBSD. From Dan Winship
5556 * arlad/inter.c (expand_sys): new function for expanding @sys
5557 (cm_lookup): expand @sys anywhere in the name
5559 * xfs/bsd/xfs_vnodeops-common.c (xfs_inactive_common): handle the
5560 case of an already clean vnode.
5562 * xfs/bsd/xfs_node-bsd.c (free_xfs_node): remove bogus comment
5564 * arlad/fcache.c (create_{file,symlink,directory}): update the
5565 acccache and anonacess
5567 * arlad/volcache.c: rename recover_state -> volcache_recover_state
5569 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_islocked): return 0 as a
5572 * xfs/bsd/xfs_vnodeops.h (xfs_vfs_readlock, xfs_vfs_writelock,
5573 xfs_vfs_unlock): new macros for encapsulating the locking
5575 * xfs/bsd/xfs_vfsops-osf.c (xfs_root): remove ifdef __osf__
5577 * xfs/bsd/xfs_vfsops-bsd.c (xfs_root): remove ifdef __osf__
5579 Wed Jul 22 05:00:08 1998 Assar Westerlund <assar@sics.se>
5581 * arlad/fcache.h (create_symlink): update prototype
5583 * arlad/fcache.c: keep better track of the number of used bytes
5586 * rxdef/fs.xg (Symlink): correct
5588 * arlad/fcache.c (fcache_file_name): cast `inode' to unsigned
5590 * lib/ko/gensysname.c: restructured, cleaned up and added new
5593 * util/strmatch.c: const-ize
5595 * arlad/adir.c: replace magic numbers with expressions based on
5596 constants from afs_dir.h
5598 * arlad/arla.c (main): set the sysname from arla_getsysname
5600 Tue Jul 21 04:55:00 1998 Assar Westerlund <assar@sics.se>
5602 * arlad/adir.c (adir_remove): eliminate trailing empty pages
5604 * arlad/adir.c (adir_remove): use the actual size of the converted
5605 directory instead of that from status
5607 * arlad/adir.c (adir_lookup, adir_readdir): use the actual size of
5608 the converted directory instead of that from status
5610 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_revoke): implement
5612 * configure.in (vop_revoke, genfs_revoke): check for
5614 * configure.in (vop_noislocked, genfs_nolock, genfs_nounlock,
5615 genfs_noislocked): check for
5617 * xfs/bsd/xfs_vnodeops-bsd.c (xfs_lock, xfs_unlock, xfs_islocked):
5618 try to use default operations
5620 Mon Jul 20 04:51:11 1998 Assar Westerlund <assar@sics.se>
5622 * configure.in: openbsd2.3: remove
5625 * lwp/lwp.h (lwp_context): add linkRegister and conditionRegister
5628 * xfs/bsd: restructured
5630 * arlad/arla.c (connected_levels): fix misspelling
5632 Mon Jul 20 01:49:28 1998 Robert Burgess <rb@stacken.kth.se>
5636 Sun Jul 19 10:41:44 1998 Mattias Amnefelt <mattiasa@stacken.kth.se>
5638 * appl/vos.c: added support for busy volumes
5640 Fri Jul 17 18:21:10 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
5642 * configure.in, xfs/linux/Makefile.in, xfs/linux/getcwd.c: Added
5643 getcwd shared library to make getcwd work better in 2.1.
5645 Fri Jul 17 03:10:48 1998 Assar Westerlund <assar@sics.se>
5647 * arlad/fcache.c (fcache_recover_state): make sure the volume of
5648 the entry we read back actually exists, otherwise just ignore it.
5650 Thu Jul 16 02:06:28 1998 Assar Westerlund <assar@sics.se>
5652 * configure.in: selinfo.si_pid test removed
5654 * lib/ko/gensysname.c (printsysname): arla_getsysname should
5655 return a const string
5657 * lib/ko/ko.h (arla_getsysname): const-ize
5659 * arlad/volcache.c (volcache_getbyname, volcache_getbyid):
5660 restructure tail so that refcount is return whenn e != NULL
5662 * xfs/openbsd2.3/xfs_vnodeops.c (xfs_lookup): set *vpp to NULL at
5665 * xfs/bsd/xfs_vnodeops.c (xfs_lookup_common): set *vpp to NULL at
5668 1998-07-15 Love <lha@s3.kth.se>
5670 * lib/ko/gensysname.c: Added generation of a sysname function.
5672 Tue Jul 14 16:35:31 1998 Assar Westerlund <assar@sics.se>
5674 * xfs/bsd/bin/mount_xfs.c: conditionalize on autoconf symbols
5675 instead of on __FreeBSD__
5677 * configure.in (getvfsbyname,vfsisloadable,vfsload): check for
5680 1998-07-14 Love <lha@s3.kth.se>
5682 * arlad/services.h: Added VOTE_SERVICE and DISK_SERVICE
5684 * appl/udebug.c: Added the udebug program.
5686 * appl/vos.c: Added command syncsite (only work on local cell)
5688 * appl/arlalib.[ch]: arlalib_getsyncsite() does not work,
5689 I can't see why it shouldn't work thou.
5691 * appl/appl_locl.h: added <err.h> and <ubib*>
5693 * appl/Makefile: Added udebug
5695 * rxdef/ubik.xg: Added
5697 * xfs/bsd/bin/mount_xfs.c: Added patch from Alec Wolman
5698 <wolman@cs.washington.edu> to add the right argument to mount
5701 Mon Jul 13 20:50:09 1998 Assar Westerlund <assar@sics.se>
5703 * lwp/make-process.o.sh.in (aix): for some odd reason the aix
5704 assembler is happier if we always say we have a RIOS
5706 * ydr/Makefile.in: compat with stupid makes
5708 * xfs/sunos/Makefile.in: compat with stupid makes
5710 * xfs/linux/Makefile.in: compat with stupid makes
5712 * util/Makefile.in: compat with stupid makes
5714 * rxdef/Makefile.in: compat with stupid makes
5716 * lwp/process.S: rhapsody fixes
5718 * arlad/volcache.c (recycle_entry): only decrement fe->refcount
5719 if we found the node.
5721 * arlad/kernel.c (process_message): remove `proc_msg: byte = %d'
5723 * arlad/fcache.c (count): rename to inode_count
5724 (fcache_stale_entry): always call stale
5725 (fcache_find): check if find_entry succeeded
5727 * arlad/conn.c (conn_get): check securityindex and cred, otherwise
5728 we could end up not having any connection for (0,0) and loose when
5731 * arlad/arla.c (newwalk): patches from Alec Wolman
5732 <wolman@cs.washington.edu>
5734 * arlad/Makefile.in: compat with stupid makes
5736 * lib/Makefile.in: compat with stupid makes
5738 * appl/Makefile.in: compat with stupid makes
5740 * THANKS: Alec Wolman <wolman@cs.washington.edu>
5742 * Makefile.in: compat with stupid makes
5744 * configure.in (KERNEL_INCLUDE): include -I
5746 some more field tests
5748 * config.{guess,sub}: rhapsody
5750 * xfs/rhapsody: Rhapsody port from Alexandra Ellwood <lxs@MIT.EDU>
5752 Thu Jul 9 16:14:50 1998 Assar Westerlund <assar@sics.se>
5754 * xfs/linux/xfs_inodeops.c (xfs_write_file): 2.0-fix
5756 Mon Jul 13 06:35:55 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
5758 * xfs/linux: Locking corrected and locking debugging added
5760 * xfs/linux: Changed to new lookup method
5762 Sun Jul 12 16:39:05 1998 Johan Danielsson <joda@emma.pdc.kth.se>
5764 * xfs/bsd/*: Merge OSF/1 changes.
5766 * xfs/bsd/xfs_dev.h: make xfs_devopen static, and add prototype
5767 for xfs_func_is_devopen that does the comparison
5769 * xfs/bsd/xfs_deb.h: unsigned int
5771 * xfs/bsd/xfs_deb.c: unsigned int
5773 * xfs/bsd/xfs_common.c: use xfs_malloc
5775 * configure.in: Add support for OSF/1.
5777 * xfs/bsd/bin/{mount_xfs,umount_xfs}.c: use <mount_locl.h>
5779 * xfs/bsd/bin/mount_locl.h: common include file for mount/umount
5781 * xfs/bsd/bin/mntopts.h: remove __P from the single prototype (to
5782 avoid having to add a definition for __P) -- all compilers (gcc
5783 and DEC CC knows prototypes anyway).
5785 * xfs/bsd/bin/Makefile.in: some fixes for OSF/1: conditionally
5786 build `startarla', and add include and link paths for roken.
5788 * rxkad/rxk_crpt.c: __alpha is LE
5790 Thu Jul 9 22:18:25 MET DST 1998 Mattias Amnefelt <mattiasa@stacken.kth.se>
5792 * appl/Makefile.in: Changed so we use libroken included in
5793 arla insead of the one which comes with kth-krb.
5795 1998-07-08 Love <lha@e.kth.se>
5797 * xfs/bsd/{xfs_vfsops.c,xfs_wrap.c} Check if we can unload
5798 before we even try, since on NetBSD you can unload a
5799 mounted filesystem, that will crash in next sync.
5801 Wed Jul 8 01:44:15 1998 Assar Westerlund <assar@sics.se>
5803 * arlad/fcache.c (creat_nodes): use IOMGR_Select instead of
5804 LWP_DispatchProcess to give the iomgr thread the chance to run
5806 * xfs/aix/xfs_syscalls.c (xfs_setpag_call): generate the pag
5809 1998-07-07 Love <lha@e.kth.se>
5811 * util/{time,}prio.[ch], util-tester.c: Added.
5813 Tue Jul 7 02:41:05 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
5815 * xfs/linux/xfs_vfsops.c: Use print_aliases() and
5816 set xfsp->root to NULL when unmounting
5818 * xfs/linux/xfs_common.[ch]: Added print_aliases()
5820 Mon Jul 6 19:56:34 1998 Assar Westerlund <assar@sics.se>
5822 * xfs/bsd/xfs_dev.c: obvious xfs_vfs_busy fix
5824 Mon Jul 6 12:59:51 1998 Mattias Amnefelt <mattiasa@sundance.stacken.kth.se>
5826 * appl/vos.c: correct parsing of partition names
5828 * appl/appl_locl.h: #include <ctype.h>
5830 Mon Jul 6 12:29:04 1998 Johan Danielsson <joda@emma.pdc.kth.se>
5832 * xfs/bsd/Makefile.in: Get KERNEL_CFLAGS from configure.
5834 * xfs/bsd/xfs_dev.c: Add wrapper for vfs_busy.
5836 * xfs/bsd/xfs_vnodeops.c: Add wrapper for VOP_LOCK/VOP_UNLOCK.
5838 * configure.in: Add KERNEL_CFLAGS for *BSD and OSF/1. Test for
5839 three valued vfs_busy, and two valued VOP_LOCK.
5841 * aclocal.m4: AC_TRY_COMPILE_KERNEL, that adds KERNEL_CFLAGS to
5844 Sun Jul 5 20:26:02 1998 Assar Westerlund <assar@sics.se>
5846 * arlad/fcache.c (fcache_find): new function add invalidating and
5847 vnode creating threads
5849 * arlad/fcache.h (FCacheEntry): rename `listentry' -> `lru_le'.
5851 (fcache_find): add prototype
5853 * util/list.c (listaddbefore, listaddafter): new functions
5855 Sun Jul 5 03:28:44 1998 Assar Westerlund <assar@sics.se>
5857 * arlad/arla.c: new option `--cache-dir'
5859 Sun Jul 5 04:28:02 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
5861 * xfs/linux/xfs_vfsops.c: Fix 2.1 {put,delete}_inode weirdness
5863 * xfs/linux/xfs_message.c: Fix callback handling
5865 Sun Jul 5 04:24:14 1998 Magnus Ahltorp <magnus@dike.aladdin.se>
5867 * xfs/linux/xfs_inodeops.c: Clear vm maps when closing file.
5869 Sat Jul 4 16:21:44 1998 Magnus Ahltorp <magnus@dike.aladdin.se>
5871 * xfs/linux/xfs_inodeops.c: 2.0 fixes
5873 Sat Jul 4 05:53:01 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
5875 * xfs/linux/*: Big rewrite of different things. Works somewhat
5876 (writes sometimes do the wrong thing) on 2.1, 2.0 is untested.
5877 The file system may now be mounted before arlad is started.
5879 Fri Jul 3 19:38:22 1998 Assar Westerlund <assar@sics.se>
5881 * arlad/arla_local.h: this ugliness seems required
5883 Wed Jul 1 21:34:42 1998 Assar Westerlund <assar@sics.se>
5885 * arlad/fcache.c (fcache_get): remove the old entry from the free
5886 list before adding the new one.
5888 Sat Jun 27 12:46:20 1998 Assar Westerlund <assar@sics.se>
5890 * xfs/linux/xfs_syscalls.c (sys_afs): correct check for
5891 copy_{from,to}_user. Always return -errno.
5893 * xfs/linux/xfs_common.h (copy_to_user, copy_from_user): these
5894 functions should return the number of uncopied bytes.
5896 * configure.in: remove uid_t size test
5898 * xfs/include/xfs_message.h: use __kernel_foo_t
5900 * xfs/include/xfs_attr.h: define __kernel_foo_t if they are not
5901 already defined and use them.
5903 * xfs/bsd/xfs_node.c (vattr2xfs_attr): cast to `mode_t' otherwise
5904 it breaks on modern NetBSD
5906 Thu Jun 25 06:04:01 1998 Assar Westerlund <assar@sics.se>
5908 * arlad/adir.c (add_to_page): don't index off the end of the page.
5910 1998-06-24 Love Hornquist-Astrand <root@junkyard.stacken.kth.se>
5912 * doc/partsofarla.texi: Added info about libkafs and pioctl()
5914 Mon Jun 22 17:34:53 1998 Robert Burgess <rb@stacken.kth.se>
5916 * xfs/solaris/xfs_vfsops.c: debug panic patch from:
5917 John Hawkinson <jhawk@bbnplanet.com>
5919 1998-06-22 Love <lha@e.kth.se>
5923 1998-06-21 Love <lha@e.kth.se>
5925 * lib/sl/sl.[ch]: Added SL_BADCOMMAND
5927 * appl/{fs,vos}.c: Fixes for sl.
5929 * configure.in: Added patch for afslib from:
5930 Mark Eichin <eichin@kitten.gen.ma.us>
5932 Fri Jun 19 20:43:42 1998 Assar Westerlund <assar@sics.se>
5934 * appl/fs.c (connect_cmd): correct comparison against `dis'
5936 Wed Jun 17 17:08:39 1998 Robert Burgess <rb@stacken.kth.se>
5940 Sat Jun 13 03:32:39 1998 Assar Westerlund <assar@sics.se>
5942 * appl/vos.c (printpartinfo): use bogus field
5944 1998-06-09 Love <lha@e.kth.se>
5946 * lwp/make-process.o.sh.in: The new magic way of building process.o
5948 Tue Jun 9 10:11:03 1998 Magnus Ahltorp <map@stacken.kth.se>
5954 Mon Jun 8 18:07:12 1998 Robert Burgess <rb@stacken.kth.se>
5958 1998-06-08 Love <lha@e.kth.se>
5960 * arlad/fcache.c: Try to do sane things with callback->ExpirationTime.
5961 (Assume that ExpirationTime is a relative time)
5963 * util/log.c(log_vprint_file): Print date when logging to file/stderr.
5965 Mon Jun 8 15:14:10 1998 Assar Westerlund <assar@sics.se>
5967 * xfs/openbsd2.3/xfs_syscalls.c: merge in
5968 xfs/bsd/xfs_syscalls.c:1.26->1.27
5970 * xfs/bsd/xfs_syscalls.c (xfs_setpag_call): only copy the required
5971 gids and return the new cred
5973 Sun Jun 7 10:57:18 1998 Assar Westerlund <assar@sics.se>
5975 * configure.in: add irix
5977 Sun Jun 7 07:23:07 1998 Robert Burgess <rb@stacken.kth.se>
5979 * xfs/{solaris,aix,sunos}/xfs_messages.c
5980 (xfs_message_invalidroot): clear tokens when invalidating
5982 * arlad/fcache.c (fcache_init): set fprioritylevel at init
5984 Sun Jun 7 07:19:35 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
5986 * acconfig.h, configure.in, lib/roken/roken.h:
5987 Autodetect linux htonl weirdness
5989 Thu Jun 4 00:12:37 1998 Assar Westerlund <assar@sics.se>
5991 * arlad/arla.c: new option `--recover' or `-z' for recovering
5994 * arlad/fcache.c (fcache_init): new parameter `recover'
5996 * arlad/volcache.c (volcache_init): new parameter `recover'
5998 Wed Jun 3 23:41:42 1998 Assar Westerlund <assar@sics.se>
6000 * arlad/fcache.c (do_read_attr): make sure we don't return -1
6002 Tue Jun 2 19:16:15 1998 Assar Westerlund <assar@sics.se>
6004 * xfs/linux/xfs_locl.h: include <linux/modversions.h> to get
6005 versioned names of exported kernel symbols
6007 Tue May 26 22:54:33 1998 Assar Westerlund <assar@sics.se>
6009 * acconfig.h (VFS_NEED_PROCP): remove
6011 * configure.in (openbsd2.3): remove old junk
6013 Mon May 25 04:16:26 1998 Artur Grabowski <art@stacken.kth.se>
6015 * arlad/messages.c: fix reading of links when only having
6018 * xfs/*bsd*/xfs_vnodeops.c: change size and mtime of files when
6021 Mon May 25 00:58:17 1998 Assar Westerlund <assar@sics.se>
6025 * lwp/Makefile.in: more uglyness for process.S
6027 * util/Makefile.in: link mmaptime_test with libroken
6029 1998-05-24 Love <lha@e.kth.se>
6031 * util/mmaptime_test.c: Added
6033 * arlad/messages.c(vioc_fpriostatus): FPRIO_{GET,SET}MAX
6035 * arlad/fcache.c(restore_state): Set priority too.
6036 (do_read_attr): Check for disconnected mode, if we got
6037 attr just return, otherwise return ENETDOWN.
6038 (read_data): Check for disconnected mode.
6039 (fcache_get): Check for disconnected mode.
6040 (uptodatep): Check for connected logging mode.
6042 * arlad/conn.c(conn_free): When in disconnected mode conn
6045 * appl/{arlalib.h,fs.c,fs_lib.c,fs_local.h}: Added
6048 Sat May 23 07:24:22 1998 Assar Westerlund <assar@sics.se>
6050 * appl/appl_locl.h: include <sys/param.h>
6052 * arlad/aix-subr.c: new file
6054 * arlad/linux-subr.c (conv_dir): got rid of stupid warning
6056 * arlad/arla.c (arla_cat): check return values from fcache*
6058 * configure.in: check for h_errno, h_errlist, and h_nerr
6060 * aclocal.m4: add check-declaration and check-var
6062 Fri May 22 21:34:30 1998 Assar Westerlund <assar@sics.se>
6064 * arlad/fcache.c (fcache_get): check return value from
6067 Wed May 20 02:56:14 1998 Assar Westerlund <assar@sics.se>
6069 * arlad/arla.c: add `--port'
6071 * getarg.c: fix some of the getarg bugs
6073 Tue May 19 17:18:31 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
6075 * xfs/linux: Fixed varous pointer conversions.
6076 Moved glibc support to the correct place.
6077 Added random code for debug control syscall.
6079 1998-05-18 Love <lha@e.kth.se>
6081 * lwp/process.S: Add linux alpha support
6083 * xfs/bsd/xfs_syscalls.c: Log to XDEBSYS instead of XDEBMSG
6085 * include/kafs.h: Added new PIOCTL (50) for VIOC_FPRIOSTATUS
6086 Added defines and structs for FPRIOSTATUS.
6088 * conf/arla.conf: Added fpriority, default to 100
6090 * arlad/messages.c: Added vioc_fpriostatus
6092 * arlad/inter.c:(log_operation) dont log operations when in
6095 * arlad/fcache.c: Added fprioritylevel and made use of it in
6096 emergency_remove_file() and in cleaner thread.
6098 * arla/arla_local.h: Added new state of connected_mode,
6101 * arlad/arla.c: Added fpriority to the conf file
6103 * appl/fs.c: (getarg) Added {add,remove,get}removepriority,
6105 (connect) changed fs_connect syntax
6106 ({get,set}crypt) changed fs_*crypt syntax
6107 ({set,get,remove}prio) added calls
6108 (fserr) moved to fs_lib.c and changed syntax
6109 (fsversion) print version of fs.c and fs_lib.c
6110 (afs_getfid) moved to fs_lib
6112 * appl/arlalib.h: Added fs_* prototypes
6114 Sat May 16 11:41:19 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
6116 * xfs/linux: Merged in Linux 2.1 support
6118 Sat May 16 06:44:16 1998 Assar Westerlund <assar@sics.se>
6120 * xfs/solaris/xfs_vnodeops.c: fix use of VOP_RWLOCK and
6123 * xfs/aix/bin: add umount_xfs and mount_xfs.
6125 * xfs/aix/xfs_vfsops.c (xfs_mount): find the device path
6127 * xfs/aix/xfs_dev.c: init `event_word' to EVENT_NULL
6129 * xfs/aix/xfs_deb.h: Use uprintf instead of printf to make it
6130 possible to see the messages.
6132 Tue May 12 17:29:39 1998 Assar Westerlund <assar@sics.se>
6134 * lwp/process.S: grammar fix
6136 Sun May 10 02:25:47 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
6138 * xfs/linux/xfs_inodeops.c: Fixed create, mkdir, rmdir, rename
6141 * xfs/linux/{xfs_message.c,xfs_inodeops.c}:
6142 Addded more correct handling of dcache in 2.1 branch
6144 Sat May 9 11:41:10 1998 Assar Westerlund <assar@sics.se>
6146 * xfs/solaris/xfs_vnodeops.c: replace VN_HOLD/VN_RELE by
6147 VOP_RWLOCk/VOP_RWUNLOCK before calling VOP-funktions in ufs.
6151 * xfs/solaris/xfs_message.c (xfs_message_installdata): replace
6152 printf by XFSDEB. Extra ASSERT for rb.
6154 Thu May 7 04:00:30 1998 Assar Westerlund <assar@sics.se>
6156 * xfs/aix: new directory
6158 1998-05-06 Assar Westerlund <assar@sics.se>
6160 * xfs/solaris/xfs_message.c: try to purge the dnlc once in a while
6162 * xfs/solaris/xfs_node.c (vattr2xfs_attr): check for AT_TYPE
6163 (vattr2xfs_attr, xfs_attr2vattr): correct panic string
6165 Tue May 5 10:45:15 1998 Assar Westerlund <assar@sics.se>
6167 * ydr/output.c (encode_string): zero-terminate string when
6170 1998-05-05 Love <lha@s3.kth.se>
6172 * configure.in: Check for dbm.
6174 * arla/arla.c: Added flushfid command in -t mode.
6176 * milko/bufcache.{c,h}: Added experimental bufcache.
6178 Sun May 3 04:29:01 1998 Assar Westerlund <assar@sics.se>
6180 * xfs/solaris/xfs_vnodeops.c: return ENOSYS instead of EINVAL.
6181 implement some trivial vnodeops
6183 * xfs/solaris/xfs_vfsops.c: return ENOSYS instead of EINVAL for
6184 non-implemented vfs-operations
6186 Sat May 2 03:00:35 1998 Assar Westerlund <assar@sics.se>
6188 * **/Makefile.in: add `DESTDIR' and `uninstall:'
6190 * arlad/fcache.c: got rid of some stupid warnings
6191 updated to new volcache root volume stuff
6193 * arlad/volcache.c: renamed volcache_rootvolume ->
6194 volcache_get_rootvolume
6195 (volcache_set_rootvolume): new function
6197 * arlad/cred.c (cred_add): remove any old entry before adding the
6200 * arlad/messages.c: try to handle expiring credentials in lots of
6202 (viocgettok): remember to free the cred.
6204 * arlad/fcache.c (read_data): handle the case of the file not
6205 fitting in the cache.
6206 (getroot): print the errors correctly
6207 (getacl, setacl, getvolumestatus, setvolumestatus): don't destroy the
6210 * arlad/fbuf.c: rename all arguments fbuf -> f to avoid namespace
6213 * arlad/bsd-subr.c (conv_dir): get rid of a stupid varning
6215 * arlad/cred.c (cred_expire): new function
6217 * arlad/messages.c: try to handle expiring credentials.
6219 Fri May 1 22:20:23 1998 Assar Westerlund <assar@sics.se>
6221 * configure.in: call AC_C___ATTRIBUTE__
6223 * aclocal.m4 (AC_C___ATTRIBUTE__): new macro for testing for
6225 (AC_C___FUNCTION__, AC_FUNC_NTOHL): conservative default when
6228 1998-04-30 Love <lha@s3.kth.se>
6230 * ydr/output.c: No #define FOO_BAR_SIZE 0
6232 * conf/services.h: No more errormessages...
6234 * arlad/{fcache.c, arlad.c}: Added --root-vol=root.afs
6236 * milko/* Added random stuff.
6238 Mon Apr 27 22:11:55 1998 Assar Westerlund <assar@sics.se>
6240 * ydr/lex.l: parse more types of #line-lines.
6241 renamed all tokens to T_FOO
6243 * lwp/lwp.h: <sys/types.h> and <sys/select.h>
6245 * lwp/Makefile.in: rs6000.
6246 try harder preprocessing process.S
6248 * appl/Makefile.in: add AIX_EXTRA_KAFS
6252 * aclocal.m4: AC_KRB_SYS_AIX added
6254 Sun Apr 19 15:36:35 1998 Assar Westerlund <assar@sics.se>
6256 * xfs/bsd/Makefile.in (vop_defs.h): generate list of vops. From
6257 "Per Boussard, ERA/T/ED" <per@era-t.ericsson.se>
6259 * xfs/bsd/xfs_locl.h: include vop_defs.h
6261 Sun Apr 19 08:09:43 1998 Assar Westerlund <assar@sics.se>
6263 * xfs/openbsd2.3/xfs_vfsops.c (xfs_mount): set `f_files' correctly
6265 * xfs/bsd/xfs_vfsops.c (xfs_mount): set `f_files' correctly
6267 Wed Apr 15 04:52:27 1998 Robert Burgess <rb@abc.se>
6271 * xfs/solaris/xfs_node.c: set blksize/nblocks
6273 Tue Apr 14 23:59:08 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
6275 * xfs/linux/xfs_load.c: Changed major number to the newly
6278 Tue Apr 7 05:32:26 1998 Robert Burgess <rb@stacken.kth.se>
6280 * arlad/fcache.c: Added VIOCSETAL support
6282 * arlad/messages.c: Moved some checks here from xfs_syscalls.c
6284 Mon Apr 6 05:19:44 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
6286 * xfs/linux/xfs_vfsops.c: Added xfs_statfs
6288 * xfs/linux/xfs_syscalls.c: Merged in new syscall style from bsd
6290 * arlad/messages.c: Free opaque after use
6292 Sun Apr 5 12:50:56 1998 Assar Westerlund <assar@sics.se>
6294 * xfs/bsd/xfs_node.c (xfs_dnlc_lookup): print debug output
6297 * arlad/cred.c (cred_delete): new function
6299 Sun Apr 5 05:49:27 1998 Robert Burgess <rb@stacken.kth.se>
6301 * arlad/fcache.c: Added VIOCGETVOLSTAT/VOLCSETVOLSTAT support
6303 Sun Apr 5 05:31:52 1998 Assar Westerlund <assar@sics.se>
6305 * arlad/fcache.c (truncate_file): decrement usedbytes iff the data
6308 * arlad/adir.c (adir_mkdir): zero out hash table.
6310 * arlad/afsdir_check.c: use arla_log
6312 * arlad/Makefile.in (afsdir_check): link with arladeb.o
6314 Sun Apr 5 01:25:00 1998 Assar Westerlund <assar@sics.se>
6316 * ydr/output.c (gendeclare): handle strings
6318 Sat Apr 4 20:39:18 1998 Assar Westerlund <assar@sics.se>
6320 * configure.in: add a --disable-mmap
6322 * aclocal.m4 (AC_HAVE_GETCONF): call AC_CHECK_PROG properly
6324 Sat Apr 4 14:00:06 1998 Assar Westerlund <assar@sics.se>
6326 * appl/Makefile.in: link with RXKAD and KAFS in the correct order
6328 Fri Apr 3 09:19:53 1998 Love H-Astrand <lha@ksk.sala.se>
6330 * lib/ko/port.[ch]: Moved and added more ports.
6332 Fri Apr 3 05:30:19 1998 Assar Westerlund <assar@sics.se>
6334 * lib/ko/koerror.c: const-ize
6336 * arlad/arla.c: new option `-n'
6338 * arlad/*.c: rationalize and use new debug levels and functions
6340 * util/log.c: change LOG_DEBUG -> LOG_INFO
6342 * util/log.h: add __attribute__
6344 * arlad/arladeb.c: add new debug levels.
6345 add arla_{v,}{err,warn}{,x}
6347 Thu Apr 2 05:07:29 1998 Assar Westerlund <assar@sics.se>
6349 * configure.in: use AC_STRUCT_SOCKADDR_HAS_SA_LEN
6351 * aclocal.m4 (AC_STRUCT_SOCKADDR_HAS_SA_LEN): added
6353 * rx/rx_user.c (GetIFInfo): rewrite so that it actually works.
6355 Tue Mar 31 07:52:39 1998 Assar Westerlund <assar@sics.se>
6357 * xfs/bsd/xfs_vnodeops.c (xfs_lookup): better debug output for
6360 * xfs/bsd/xfs_message.c (xfs_message_installnode): purge the name
6362 (xfs_message_installdata): purge the name cache iff it's a directory
6364 Mon Mar 30 17:45:45 1998 Love Hörnquist-Åstrand <lha@stacken.kth.se>
6366 * Added autoconf test for glibc.
6367 From: Brad Keryan <keryan@andrew.cmu.edu>
6369 Mon Mar 30 12:01:50 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
6371 * xfs/linux/xfs_inodeops.c: added mkdir and rmdir
6373 * xfs/linux/xfs_inodeops.c: xfs_readdir checks for inode numbers
6376 Mon Mar 30 00:27:22 1998 Love Hornquist-Astrand <lha@stacken.kth.se>
6378 * aclocal.m4: Autoconf test for getconf, and getconf LFS_{C,LD}FLAGS
6380 Sun Mar 29 14:25:28 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
6382 * xfs/linux: Merged in access control from bsd.
6384 * xfs/linux: Fixed various things. Should work much better.
6386 Sun Mar 29 03:21:39 1998 Assar Westerlund <assar@sics.se>
6388 * arlad/arla.c: new option `connected-mode' for setting initial
6391 * arlad/fcache.c (do_read_attr, read_data): set anonaccess
6393 * configure.in: remove test for winsock.h. added test for recvmsg
6396 * rx/rx_mach.h: cygwin doesn't have SIOCGIFCONF. From Dan Winship
6399 * arlad/*.c: Use O_BINARY. From Dan Winship <danw@mit.edu>
6401 Sat Mar 28 10:34:30 1998 assar westerlund <assar@sics.se>
6403 * xfs/bsd/xfs_common.c (install): use DESTDIR
6405 * arlad/bsd-subr.c (write_dirent): conditionalize on
6406 HAVE_STRUCT_DIRENT_D_TYPE
6408 * configure.in: check for `d_type' in `struct dirent'
6410 Sat Mar 28 10:15:29 1998 Assar Westerlund <assar@sics.se>
6412 * aclocal.m4 (AC_HAVE_STRUCT_FIELD): added
6414 1998-03-28 Love Hörnquist-Åstrand <lha@s3.kth.se>
6418 * configure.in: Added --enable-mmaptime
6420 * arlad/{messages,arlad}.c: Added no kerberos fix from
6421 Dan Winship <danw@mit.edu>
6423 1998-03-27 Love Hornquist-Astrand <lha@ksk.sala.se>
6425 * util/mmaptime.[ch]: Added (not working yet)
6427 Fri Mar 27 03:41:45 1998 Assar Westerlund <assar@sics.se>
6429 * arlad/arla.c (newwalk): handle symlink followed by more path
6431 * xfs/bsd/xfs_vnodeops.c (xfs_lookup): enter negative entires in
6432 name cache when arlad returns ENOENT
6434 * xfs/bsd/xfs_node.c (xfs_dnlc_lookup): change signature to be
6435 more compatible with cache_lookup
6437 * arlad/arla.c (arla_cat): release lock
6439 Thu Mar 26 02:21:48 1998 Assar Westerlund <assar@sics.se>
6443 * lwp/process.S: rhapsody/powerpc
6445 * lwp/Makefile.in: Add powerpc and rhapsody.
6447 * **/Makefile.in: Use KRB_INC_FLAGS
6449 * configure.in, aclocal.m4: Test for krb v5. From <lxs@mit.edu>
6451 Wed Mar 25 04:26:56 1998 Assar Westerlund <assar@sics.se>
6453 * xfs/linux/xfs_dev.c (xfs_devwrite): return the correct value.
6454 also check for bogus size == 0
6456 * xfs/{linux,sunos,solaris}: update to new style xfs_message.h
6458 * xfs/bsd/xfs_msg_locl.h: new file
6460 * xfs/bsd/xfs_wrap.c: do DISPATCH the `correct' way
6462 * xfs/bsd/xfs_message.c: add `struct proc *p' to xfs_message_*
6464 * xfs/bsd/xfs_node.c (new_xfs_node): now takes a `struct proc *p'
6466 * xfs/bsd/xfs_dev.c: add `struct proc *p' to xfs_message_*
6468 * xfs/bsd/xfs_dev.h: add prototypes for xfs_message_*
6470 * arlad/messages.c: made all xfs_message_* functions static
6472 * arlad/messages.h: add proto for xfs_message_receive
6474 * xfs/include/xfs_message.h: Removed all the prototypes.
6476 * xfs/bsd/xfs_vnodeops.c: s/EINVAL/EOPNOTSUPP/
6478 * xfs/bsd/xfs_dev.c (xfs_message_wakeup_data): correct debug
6481 * arlad/messages.c(afsrights2xfsrights): change arguments.
6483 * xfs/linux/xfs_load.c (init_module): don't print
6484 xfs_message_installnode, it's static now.
6486 Tue Mar 24 00:24:18 1998 Assar Westerlund <assar@sics.se>
6488 * xfs/bsd/xfs_vfsops.c (xfs_mount): copy in the arguments. From
6489 Karl Ramm <kcr@mit.edu>.
6491 Tue Mar 24 19:53:50 1998 Robert Burgess <rb@stacken.kth.se>
6493 * arlad/fcache.c: Added VIOCGETAL support
6495 Tue Mar 24 02:03:43 1998 Assar Westerlund <assar@sics.se>
6497 * xfs/linux/xfs_dev.c (xfs_devwrite): fix?
6499 * arlad/kernel.c: also collect statistics on the number of
6502 * arlad/messages.c: more stats
6504 * arlad/messages.c: count the number of send/recd messages
6506 * xfs/include/xfs_message.h (XFS_MSG_COUNT): added
6508 * arlad/*-subr.c (conv_dir): use `fcache_extra_file_name' and do
6511 * xfs/bsd/xfs_vnodeops.c (xfs_seek): return 0.
6513 * Makefile.in (configure): ignore errors
6515 * arlad/arla.c (main): don't malloc and free device_file
6517 * appl/fs.c: added `getcrypt' and `setcrypt'
6519 * xfs/bsd/xfs_syscalls.c (xfs_pioctl_call): add
6522 * include/kafs.h (VIOC_[GS]ETRXKCRYPT): added
6524 * arlad/bsd-subr.c (write_dirent): set `d_type'
6526 Sun Mar 22 19:25:18 1998 Assar Westerlund <assar@sics.se>
6530 * configure.in: don't clobber CFLAGS
6532 * xfs/bsd/xfs_syscalls.c (xfs_pioctl_call): use
6533 `a_followSymlinks'. Call `suser' instead of == 0
6535 * arlad/solaris-subr.c: handle the weirdness in the solaris dirent
6538 * arlad/afsdir_check.c (check): removed bogus code
6540 * xfs/solaris: major rewriting and fixing.
6542 Sun Mar 22 02:47:59 1998 Love Hornquist-Astrand <lha@stacken.kth.se>
6544 * appl/fs.c,arlad/messages.c,xfs/{bsd,openbsd2.3,linux}:
6545 Added VIOCCONNECTMODE
6547 Sat Mar 21 15:20:52 1998 Assar Westerlund <assar@sics.se>
6549 * arlad/fcache.c (read_data, write_data, truncate_file): kill the
6550 call if an error occurs.
6552 * configure.in: tweak CFLAGS and -I/usr/athena
6554 * arlad/conn.c (conn_get): connected_mode test
6556 * arlad/volcache.c (volume_uptodatep): look at connected_mode
6558 * arlad/fcache.c (uptodatep): look at `connected_mode'
6560 * arlad/arla.c: new option `--debug'
6562 * arlad/arladeb.c (arla_log_set_level, arla_log_get_level,
6563 arla_log_print_levels): new functions
6565 * arlad/kernel.c (process_message): handle multiple messages
6567 * xfs/{sunos,solaris,linux}/xfs_dev.c: merge in changes from bsd
6569 * arlad/messages.c(xfs_send_message_wakeup_multiple): new
6572 * lwp/iomgr.c: re-wrote the handling of fd_set's
6574 * xfs/bsd/xfs_dev.c (xfs_devread, xfs_devwrite): implement
6575 multiple messages per read/write
6577 Sat Mar 21 06:45:42 1998 Artur Grabowski <art@squit.stacken.kth.se>
6579 * doc/* : added a few docs about Arla.
6581 Fri Mar 20 08:19:36 1998 Artur Grabowski <art@squit.stacken.kth.se>
6583 * xfs/{openbsd2.3,bsd}/xfs_vfsops.c (xfs_unmount): fix unmounting.
6585 Fri Mar 20 04:30:33 1998 Assar Westerlund <assar@sics.se>
6587 * xfs/bsd/xfs_vnodeops.c (xfs_fetch_rights): new function used by
6589 (xfs_read, xfs_write, xfs_readdir, xfs_readlink): vop_lock and
6592 Thu Mar 19 22:31:20 1998 Assar Westerlund <assar@sics.se>
6594 * ydr/output.c (init_generate): change path of rx.h
6596 * xfs/bsd/xfs_vnodeops.c(xfs_fsync): send correct flags to
6599 * arlad/fbuf.c (mmap_copyrx2fd, malloc_copyrx2fd): check result of
6602 * arlad: moved kerberos includes to arla_local.h
6604 * include/Makefile.in: remove stds.h, kafs.h add rxkad.h service.h
6606 * **/Makefile.in: remove unused INCLUDES
6608 Thu Mar 19 12:27:47 1998 Love Hörnquist-Åstrand <lha@s3.kth.se>
6611 (fserr): Implemented and changed on all used use on all places.
6612 (afs_getfid): Added VIOCGETFID
6613 (quit_cmd): use return instead of exit();
6615 Wed Mar 18 21:52:31 1998 Assar Westerlund <assar@sics.se>
6617 * arlad/fcache.c (create_directory): create the directory locally
6618 instead of fetching it from the file server
6620 * arlad/adir.c (dir_mkdir): new function
6622 * arlad/fcache.c (stale): don't bother if the callback is already
6625 Wed Mar 18 10:58:44 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
6627 * xfs/linux/xfs_vfsops.c: Added xfs_write_inode
6629 * xfs/linux/xfs_inodeops.c: Added permission checking and write support
6631 Wed Mar 18 03:11:51 1998 Artur Grabowski <art@squit.stacken.kth.se>
6633 * xfs/{openbsd2.3,bsd}/{xfs_fs.h,xfs_node.c}: xfs_has_pag implemented.
6635 * xfs/{openbsd2.3,bsd}/xfs_node.c (new_xfs_node): set anonrights.
6637 * xfs/openbsd2.3/xfs_vfsops.c: small fix to {un,}installation.
6639 * xfs/{openbsd2.3,bsd}/xfs_vnodeops.c
6640 (xfs_access): implement correctly
6642 * xfs/{openbsd2.3,bsd}/xfs_node.h: add an anonrights field to
6645 * xfs/{openbsd2.3,bsd}/xfs_message.c
6646 (xfs_message_installattr, xfs_message_installdata): set anonrights.
6648 * xfs/include/xfs_message.h: add anonrights, change id from u_int
6649 to pag_t, add masks for rights.
6652 (afsrights2xfsrights): implement.
6653 (fcacheentry2xfsnode): add handling of access rights.
6654 (most functions): access rights handling with changed cm_attr.
6657 (getrights): correct implementation.
6658 (checkright): correct implementation.
6659 (cm_getattr): handling of access rights.
6662 (create_new_entries): initialize acccache.
6663 (recover_state): Do not recover rights.
6664 (findaccess): pag 0 doesn't mean that it's unauthorized.
6666 * ChangeLog: updated.
6668 Tue Mar 17 06:05:26 1998 Artur Grabowski <art@squit.stacken.kth.se>
6670 * lwp/iomgr.c: some speed optimizations on selecting.
6672 Tue Mar 17 03:09:56 1998 Love Hornquist-Astrand <lha@foo.ksk.sala.se>
6674 * Make arlad /dev/xfs0 working again.
6676 * lib/ko/koerror.c: Fallback on strerror().
6678 * xfs/bsd/{xfs_dev.c,xfs_vnodeops.c,xfs_locl.h}: Started to
6679 use #ifdef HAVE_VOP_FOO for everything.
6681 * xfs/bsd/xfs_dev.c: NetBSD 1.3 and OpenBSD 2.2 doesn't have
6682 vop_{get,put}pages_desc.
6684 Tue Mar 17 01:24:55 1998 Assar Westerlund <assar@sics.se>
6686 * xfs/*: moved xfs/*.h to .
6688 * xfs/bsd/xfs_vnodeops.c: fixed vop_t
6690 * xfs/solaris/Makefile.in: renamed xfs.mod -> xfs
6692 * lwp/Makefile.in: check if the compiler is gcc not if it's called
6695 * **: renames lots of `errno' to `error'
6697 * xfs/linux/Makefile.in: include KRB_INC_DIR last
6699 Mon Mar 16 21:38:06 1998 Artur Grabowski <art@squit.stacken.kth.se>
6701 * lwp/process.S: close a comment and let lwp work on ppc. (reported
6704 Mon Mar 16 20:55:52 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
6706 * xfs/linux/xfs_inodeops.c: Fixed bug in xfs_readdir
6708 Mon Mar 16 02:54:53 1998 Assar Westerlund <assar@sics.se>
6712 * NEWS, THANKS: new files.
6714 * include/Makefile.in: add parse_units.h and resolve.h
6716 Sun Mar 15 00:56:47 1998 Assar Westerlund <assar@sics.se>
6718 * arlad/volcache.c (volume_uptodatep): new function
6719 (recover_state): don't mark recovered volumes as valid
6721 * xfs/sunos/xfs_vnodeops.c (xfs_inactive): use the flag field on
6722 the inactivenode message
6724 * xfs/solaris/xfs_vnodeops.c (xfs_inactive): use the flag field on
6725 the inactivenode message
6727 * xfs/openbsd2.3/xfs_vnodeops.c (xfs_reclaim): use the flag field
6728 on the inactivenode message
6730 * xfs/linux/xfs_vfsops.c (xfs_put_inode): set flag in inactivenode
6733 * xfs/include/xfs_message.h (xfs_message_inactivenode): new `flag'
6736 * xfs/bsd/xfs_vnodeops.c (xfs_close): only call `do_fsync' if the
6737 file was oppened for writing and was actually changed.
6738 (xfs_inactive): send an inactivenode message
6739 (xfs_reclaim): use the correct flag on the inactivenode message
6741 * arlad/messages.c (xfs_message_inactive): look at the flags
6742 (xfs_message_create & c:o): use the correct realfid
6744 * arlad/inter.c: update to new FCacheEntry
6746 * arlad/fcache.c (throw_entry): only give up a callback if we have
6748 (recover_state): init `count'
6749 (fcache_stale_entry): call stale iff flags.kernelp
6750 (fcache_get_data): don't get data if the shows that it hasn't changed.
6752 * arlad/fcache.h (FCacheEntry): remove `nreaders' and `nwriters'.
6755 * arlad/adir.c (create_new_page): return page1
6756 (add_to_page): only loop till ENTRIESPERPAGE - 2
6757 (adir_creat): don't use status.Length, it might already have been
6758 increased by the file server. more and more correct checks.
6760 * appl/vos.c (printvolstat): const-ized
6762 * appl/arlalib.h: const-ized
6764 * appl/arlalib.c: const-ized
6766 Sat Mar 14 14:39:25 1998 Assar Westerlund <assar@sics.se>
6768 * include/Makefile.in: add err.h
6770 * rx/rx_pkt.[ch]: don't assume sizeof(void) == 1
6772 Sat Mar 14 14:08:02 1998 Assar Westerlund <assar@sics.se>
6774 * arlad/cmcb.c (RXAFSCB_CallBack): remove warning message
6776 * arlad/{ports,arla,messages}.c: no \n to arla_log
6778 * rxkad/rxk_locl.c (rxkad_check_packet): kludge around.
6780 * README: update installation instructions
6782 * arlad/arla.c: add options for rxkad_level and device.
6784 Sat Mar 14 13:56:55 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
6786 * arlad/Makefile.in: Added libko dependencies in arlad
6788 Fri Mar 13 05:06:37 1998 Assar Westerlund <assar@sics.se>
6790 * xfs/linux/xfs_inodeops.c (xfs_readlink): call `set_fs'
6792 * xfs/bsd/xfs_vnodeops.c (do_fsync): reset the XFS_DATA_DIRTY flag
6793 (xfs_remove): remove the name from the dnlc
6794 (xfs_mmap, xfs_bmap, xfs_getpages, xfs_putpages): dummy functions
6796 * xfs/bsd/xfs_message.c: spell-check the printfs
6798 * util/fnameutil.[ch]: rename {base,dir}name to copy_\1name
6800 * rxdef/pts.xg: fix broken declarations
6802 * include/Makefile.in: add getarg.h
6804 * arlad/volcache.h (volcacheentry): add `validp'
6806 * arlad/volcache.c: change `freelist' to be a `lrulist'
6807 (recover_state, volcache_store_state): new functions
6808 (volcache_invalidate): new function
6810 * arlad/inter.c (cm_init,cm_store_state,log_operation): new
6812 (*): call log_operation
6813 (*): const-ized some arguments
6815 * arlad/fcache.h: update prototypes
6817 * arlad/fcache.c (fcache_store_state,recover_state): new functions
6818 (fcache_init): don't create cachedir. try to recover state.
6819 (*): return ENETDOWN if findconn fails
6820 (do_read_attr): throw data if DataVersion has changed
6821 (truncate_file): use O_CREAT
6822 (create_file): create a empty cache file
6823 (*): const-ized some arguments
6824 (fcache_get_data): DTRT
6826 * arlad/cmcb.c (RXAFSCB_CallBack): handle volume callbacks.
6828 * arlad/arladeb.h: add ADEBVOLCACHE and ADEBCM
6830 * arlad/arla.c (newwalk): return int. change callers. handle
6831 signals by storing state
6832 (main): use getarg. chdir to cachedir before initializing
6834 * configure.in: fix sys/dir.h and dirent.h test.
6837 * aclocal.m4 (AC_KRB_VERSION): new macro
6841 Thu Mar 12 15:22:50 1998 Love Hornquist-Astrand <lha@stacken.kth.se>
6843 * configure.in,aclocal.m4,acconfig.h,lib/roken/resolve.c:
6846 * configure.in, aclocal.m4: Added tests for krb-libs,and includes.
6848 Thu Mar 5 22:20:54 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
6850 * xfs/linux/xfs_inodeops.c: More correct error handling
6853 Thu Mar 7 05:50:10 1998 Love Hörnquist-Åstrand <lha@s3.kth.se>
6855 * rxdef/pts.xg: Added broken xg def.
6857 Wed Mar 4 03:23:19 1998 Love Hornquist-Astrand <lha@stacken.kth.se>
6859 * arla/*.c: Added arla_log and started to used.
6861 * util/log.c: Added log_vlog.
6863 * arlad/messages.c: Moved vicofluchvolume outsize #ifdef KERBEROS
6864 and added stub for VIOCGETAL.
6866 Tue Mar 3 21:16:06 1998 Love Hornquist-Astrand <lha@stacken.kth.se>
6868 * xfs/linux/xfs_inodeops.c: fixes memoryleak and xfs_readdir()
6869 on linux != sparc. from amu@mit.edu (Aaron M. Ucko)
6871 Tue Mar 3 00:00:55 1998 Assar Westerlund <assar@sics.se>
6873 * arlad/inter.c (cm_lookup): const-ized parameters
6875 * xfs/{sunos,solaris}/{,bin/}Makefile.in: set exec_prefix
6876 (install): removed '-m 444'
6878 * rxdef/volumeserver.xg: remove stds.h
6880 * lib/{ko,tl}/Makefile.in (install): removed '-m 444'
6882 * arlad/arla.c (newwalk): follow symlinks
6883 (main): try harder getting kerberos credentials
6885 * appl/appl_locl.h: include <atypes.h>
6887 Mon Mar 2 13:32:42 1998 Love Hornquist-Astrand <lha@stacken.kth.se>
6889 * appl/vos.c: Vos exa now uses libko/kocell.
6891 * lib/ko/kocell.c: Moved from arlad/cell.c, and turned
6892 arlad/cell.c to a dummy.
6894 * configure.in,include/stds.h.in: Added autoconf test
6897 * Made a bunch of links to include/ from all .h files
6898 to make the compile lines more sane.
6900 * arla/{fcache.c,volcache.c} Added use of libkoerror.
6902 Mon Mar 2 01:00:09 1998 Johan Danielsson <joda@emma.pdc.kth.se>
6904 * arlad/bsd-subr.c: Horrible hack for DEC Unix.
6906 Sun Mar 1 06:42:00 1998 Assar Westerlund <assar@sics.se>
6910 * arlad/fcache.c (do_read_attr): invalidate data if we have it
6911 cached and DataVersion has changed.
6913 * xfs/bsd/xfs_node.c (new_xfs_node): postpone vget-ing
6915 * xfs/bsd/bin/Makefile.in: set PROGS and clean properly
6917 * xfs/bsd/xfs_message.c (xfs_message_isntallnode): more debug
6919 * xfs/bsd/Makefile.in (doclean): clean properly
6920 (CFLAGS): remove Wall (it is set by configure)
6922 * rx/rx.h: remove stupid includes
6924 * conf/Makefile.in: don't overwrite existing configuration files
6926 * configure.in: remove unused tests
6928 * xfs/bsd/xfs_message.c (xfs_message_installdata): don't
6929 VOP_UNLOCK unlocked vnode.
6931 * util/list.c: more paranoia
6933 * arlad/bsd-subr.c (conv_dir): free buf
6935 * arlad/adir.c (adir_readdir): do `.' and `..'-magic correctly.
6937 Fri Feb 27 23:37:39 1998 Assar Westerlund <assar@sics.se>
6939 * arlad/fcache.c: better error reports when rx calls fail.
6941 Fri Feb 27 07:09:08 1998 Artur Grabowski <art@squit.stacken.kth.se>
6943 * arlad/*-subr.c: truncate files when opening a dircache file.
6945 Fri Feb 27 04:56:58 1998 Artur Grabowski <art@squit.stacken.kth.se>
6947 * arlad/arladeb.h: ADEBFCACHE added
6949 * arlad/fcache.c: don't break dead xfs-callbacks.
6951 * arlad/adir.c: put '.' and '..' in front of a readdir. Some systems
6952 seem to like it that way.
6954 Thu Feb 26 01:30:44 1998 Love Hornquist-Astrand <lha@stacken.kth.se>
6956 * arlad/fcache.c,messages.c: VIOC_FLUSHVOLUME
6958 * Now semiworking (no good parsing) vos listvol, it was a feature
6963 - Fix for use of temporary variables.
6965 Mon Feb 23 06:38:18 1998 Love Hornquist-Astrand <lha@stacken.kth.se>
6967 * xfs/bsd/xfs_syscalls.c: Merged in changes from obsd23.
6969 * lib/roken/roken.h: ssize_t added.
6971 * lib/roken/roken.h: sunos select fix.
6973 * lib/roken/roken.h,acconfig.h, configure.in: sunos select fix.
6975 * VIOC_VENUSLOG: Almost.
6977 Mon Feb 23 01:17:43 1998 Artur Grabowski <art@stacken.kth.se>
6979 * xfs/openbsd2.3: (xfs_pioctl) cleanup and VIOCSETCACHE
6981 * arlad/messages.c, fcache.c: VIOCSETCACHE
6983 Mon Feb 23 02:10:51 1998 Assar Westerlund <assar@sics.se>
6987 * arlad/arla.c (main): try to get tokens for the local cell.
6989 * appl/appl_locl.h: include rxkad.h iff KERBEROS
6991 * arlad/fcache.c (read_data): make sure we never go over
6994 * lwp/Makefile.in: add hpux
6996 * configure.in: add hpux
6998 * rx/rx_pkt.c(rxi_ReadPacket): fix from <per@era-t.ericsson.se>
6999 for handling strange packets.
7001 * rxdef/vldb.xg: MAXNAMELEN -> VLDB_MAXNAMELEN
7003 * rx/rx_locl.h: include <atypes.h>
7005 * lib/ko/ko.h: include <atypes.h>
7007 * arlad/messages.c: always include <kafs.h>
7009 * arlad/arla.c: made `conf_params' static to make it initable.
7011 * arlad/Makefile.in: coompatible with stupid make
7013 * appl/Makefile.in: use KAFS_LIBS
7015 * configure.in: set KAFS_LIBS
7017 * arlad/arla.c: allow setting of low and high-water marks.
7019 * configure.in: test if strtok_r needs a prototype
7021 * rxdef/Makefile.in: remove new junk files
7023 * ydr/main.c: changed the way of running cpp :-(
7025 Mon Feb 23 05:55:54 1998 Artur Grabowski <art@squit.stacken.kth.se>
7027 * xfs/openbsd2.3: (xfs_pioctl) cleanup and VIOCSETCACHE
7029 * arlad/messages.c, fcache.c: VIOCSETCACHE
7031 * appl/fs.c: setcachesize implmeneted.
7033 * arlad/arla.c: Added reading of a configuration file.
7035 Sun Feb 22 20:51:47 1998 Love Hornquist-Astrand <lha@stacken.kth.se>
7037 * xfs/bsd/xfs_vnodeops.c(xfs_link): Added OpenBSD and NetBSD
7040 * configure.in, include/stds.h, rxkad/rxkad.h: Added test for
7041 {,u_}int32, and added those for rxkad.
7043 * appl/vos.c: Fixing listpart, but the total is still wrong.
7045 * appl/vos.c: Added libko to parts of vos.c
7047 * lib/ko: Added libko, vlserver, volserver and rxkad errorcodes
7050 Sun Feb 22 15:59:30 1998 Assar Westerlund <assar@sics.se>
7052 * arlad/volcache.c (print_entry): print every volume only once.
7054 Sun Feb 22 15:23:31 1998 Johan Danielsson <joda@emma.pdc.kth.se>
7056 * lwp/iomgr.c (struct IoRequest): add `next' pointer instead of
7057 bogus use of `result'.
7059 * lwp/lwp.c: Include <string.h>, replace "0x%x" with "%p".
7061 * rx/*: Use rx_locl.h
7062 - replace bcopy with memcpy
7064 - change long -> int32
7065 - don't depend on sizeof(whatever) being correct
7067 * rx/rx_user.c: Clean up osi_Panic.
7069 * rx/rx_pkt.c: Cleanup rx_Slow{Read,Write}Packet.
7071 * appl/vos.c: htonl(vlentry.serverNumber)
7073 Sun Feb 22 06:10:55 1998 Assar Westerlund <assar@sics.se>
7075 * ydr/lex.l (yywrap): conditionalize
7077 Sun Feb 22 01:11:17 1998 Assar Westerlund <assar@sics.se>
7079 * arlad/messages.c (xfs_message_pioctl): implement VIOCGETTOK
7081 * xfs/bsd/xfs_syscalls.c (xfs_pioctl_call): implement `VIOCGETTOK'
7083 * rxkad: updated to a more modern version.
7085 * xfs/bsd/xfs_vnodeops.c (xfs_link, xfs_rename): implement
7087 * arlad/messages.c (xfs_message_link, xfs_message_rename):
7090 * arlad/inter.c (cm_link, cm_rename): new functions
7092 * arlad/fcache.c (create_link, rename_file): new functions
7093 all functions are now careful not to use any OUT parameters from
7096 * xfs/bsd/xfs_node.c (xfs_node_find): cleaner
7098 * arlad/fbuf.c: re-did the fbuf-interface
7100 * arlad/bsd-subr.c (write_dirent): do special for ".." iff
7103 * arlad/volcache.c (recycle_entry): removed a bogus `hashtabdel'
7105 * rx/rx_pkt.c (rxi_ReadPacket): case `RX_HEADER_SIZE' to int when
7106 comparing again `nbytes', otherwise we lose :-(
7108 * xfs/bsd/xfs_node.c (xfs_node_find): a dead vnode might still be
7109 on the mount-list, check for that.
7111 Sat Feb 21 23:14:47 Love Hornquist-Astrand <lha@foo.ksk.sala.se>
7113 * arlad/adir.c(adir_remove): Use length when deleting a entry
7116 * arlad/fcache.c: Return ENOMEM when not finding a cred for the
7117 new cell (this should never fail, we should allways be able to find a
7120 * xfs/bsd/xfs_vnodeops.c: Define xfs_vop_t for Open|NetBSD for
7121 typecasting --> getting less errors.
7123 * arlad/fcache.c: Use CRED_ANY when we hit a remote cell,
7124 and doesn't find a "native" cred.
7126 Sat Feb 21 18:14:47 1998 Assar Westerlund <assar@sics.se>
7128 * arlad/messages.c (xfs_message_symlink): new function
7130 * arlad/inter.c (cm_symlink): new function
7132 * arlad/fcache.c (create_symlink): new function
7134 * xfs/bsd/xfs_vnodeops.c (xfs_symlink): implement
7136 * xfs/bsd/xfs_vnodeops.c (xfs_lookup): more SAVENAME voodoo
7137 (xfs_remove, xfs_rmdir, xfs_abortop): implement functions
7139 * arlad/messages.c (xfs_message_mkdir, xfs_message_rmdir): new
7142 * arlad/inter.c (cm_mkdir, cm_rmdir): new functions
7144 * arlad/fcache.c (create_directory, remove_file,
7145 remove_directory): new files
7147 * arlad/afsdir_check.c: more paranoid tests
7149 * arlad/adir.c: squash some almost fence-post bugs.
7151 * xfs/include/xfs_message.h (xfs_message_remove): added cred
7153 * arlad/afs_dir.h: start using sized types
7155 * arlad/messages.c (xfs_message_create): convert and push down the
7158 * arlad/inter.c (cm_create): create the file in the local cached
7159 copy of the directory.
7161 * arlad/fbuf.c: re-organized.
7162 (truncatefilebuffer): new function
7164 * arlad/adir.c (adir_lookup): test to see that `dir' is a
7166 (adir_readdir): dito
7167 (adir_creat): new function for adding an entry to a directory.
7168 (aidr_remove): new function for removing an entry from a directory.
7170 * arald/afsdir_check.c: new program
7172 Sat Feb 21 16:00:00 Love Hornquist-Astrand <lha@foo.ksk.sala.se>
7174 * arlad/arla.c, rx/r.c: Added rx-status.
7176 Fri Feb 20 09:32:52 1998 Assar Westerlund <assar@sics.se>
7178 * arlad/fcache.c: return better error codes than ENODEV (except in
7181 Thu Feb 19 23:17:25 1998 Love Hornquist-Astrand <lha@foo.ksk.sala.se>
7183 * xfs/bsd/xfs_syscalls.c, arlad/messages.c: Added VIOC_GET_WS_CELL.
7185 * xfs/include/xfs_messages.h: Added handle to pioctl msg.
7187 Thu Feb 19 02:47:52 1998 Love Hornquist-Astrand <lha@stacken.kth.se>
7189 * xfs/bsd/syscalls.c, arlad/message.c: VIOC_FILE_CELL_NAME.
7191 * xfs/bsd/xfs_vnodeops.c(xfs_mkdir): Send right message and
7194 * include/kafs.h: Added more pioctl calls.
7196 * appl/vos.c: Added to option to query a specific server in vos exa
7197 and added options -host, -cell and -noauth.
7199 * arlad/arla.c: begining for sysname in -t mode.
7201 * arlad/cell.c: Ask diffrent vldb-server each time.
7203 Thu Feb 19 06:05:43 1998 Assar Westerlund <assar@sics.se>
7205 * include/kafs.h: added
7207 * arlad/fcache.c: re-wrote
7209 * arlad/volcache.c: re-wrote
7211 * arlad/messages.c (VIOC_AFS_SYSNAME): remove
7212 (afsstatus2xfs_attr): fix
7213 (xfs_message_*): updated
7215 * arlad/inter.c (getrights, checkright): commented out, I didn't
7216 bother to fix them now.
7217 (cm_lookup): add test for `@sys'
7218 (cm_remove, cm_link): commented out
7220 * arlad/fbuf.c: remove #undef HAVE_MMAP and make the code compile.
7222 * arlad/conn.c: re-wrote
7224 * arlad/cred.c: re-wrote
7226 * arlad/cmcb.c (RXAFSCB_InitCallBackState): do something
7228 * arlad/cell.c: rename all functions to cell_
7229 (cell_num2name): new function
7230 fix fopen format strings
7231 removed all locks (sorry Love)
7233 * arlad/arla.c: Use `tmpce'
7234 (arla_{conn,vol,cred,fcache}_status): new functions
7236 * arlad/adir.c (adir_lookup): update to new fcache-interface. use
7237 CredCacheEntry. don't handle @sys
7238 (adir_readdir): update to new fcache-interface. use CredCacheEntry
7240 * ydr/output.c: add copyright
7241 (gen1): make TIN arguments `const'
7243 * xfs/bsd/Makefile.in (CFLAGS): add `-Wno-unused'
7245 * xfs/bsd/xfs_node.c (xfs_attr2vattr): set `va_blocksize' to a
7248 * util/hash.c (hashtabnew): check malloc return value at correct
7251 * arlad/Makefile.in: more includes link with libraries in correct
7254 * makesnap: don't hardcode cvsbin and CVSROOT
7256 Thu Feb 12 01:38:21 1998 Assar Westerlund <assar@sics.se>
7258 * ydr/output.c: include rx.h
7260 * ydr/main.c: does it have to be this hairy to run a simple cpp
7263 * xfs/solaris/xfs_node.c (new_xfs_node): use correct set of
7266 * xfs/include/xfs_message.h: moved xfs_msg_node and related
7267 definitions here from xfs/*/xfs/xfs_node.h
7269 * lwp/q.c: renamed {ins,rem}que to lwp_\1
7271 * arlad/irix-subr.c: new file
7273 * aclocal.m4: stolen BASH_CHECK_DEV_FD from bash
7275 * configure.in: Add testing for /dev/fd.
7277 stub support for irix.
7279 Wed Feb 11 02:18:51 1998 Assar Westerlund <assar@sics.se>
7281 * lib/roken/{snprintf.c,mini_inetd.c,getarg.c}: merged in newer
7284 * configure.in: moved util and ydr from subdirs to AC_OUTPUT
7286 1998-02-10 Per Andersson <ppan@joker.cntw.com>
7288 * INSTALL: Changed sunos(4) instructions to match current version
7290 Tue Feb 10 02:52:51 1998 Assar Westerlund <assar@sics.se>
7292 * lwp: renamed process.s -> process.S
7294 * aclocal.m4(AC_GROK_TYPE): test for ktypes.h
7296 * xfs/sunos/Makefile.in: rewrote and vpath-ed.
7298 * xfs/sunos: updated to changes elsewhere.
7300 * arlad/arla_local.h: use <dirent.h> xor <sys/dir.h>
7302 * arlad/afs_dir.h: rename PAGESIZE -> AFS_PAGESIZE
7304 * include/bits.c: test for ktypes.h
7306 * configure.in: test for ktypes.h
7308 * include/{bits.c,Makefile.in}: generate atypes.h
7310 * xfs/solaris: new directory
7312 * arlad/solaris-subr.c: new file
7314 * ydr/lex.l: handle more kinds of #-lines
7316 * rxkad/Makefile.in: work-around for stupid solaris make
7318 * rxdef/Makefile.in: remove BSD/GNU-special and use explicit rules
7321 * rx/Makefile.in: work-around for stupid solaris make
7323 * lwp/iomgr.c: add <fcntl.h>
7325 * lwp/Makefile.in: more magic for preprocessing and assembling
7328 * arlad/sunos-subr.c (fcacheentry2xfsnode, conv_dir): update to
7331 * arlad/conn.c (markasdown): don't initialize `d' in declaration
7333 * Makefile.in: add include to SUBDIRS
7335 * configure.in: replace @CANONICAL_HOST@
7337 check for -lsocket, -lnsl and -lresolv
7338 generate Makefile in include
7340 Tue Feb 3 16:16:42 1998 Love Hörnquist-Åstrand <lha@e.kth.se>
7342 * util/hash.c(hashjpw): Some typecasting to save the world.
7344 * lib/roken/snprint.c: Removed #if 0
7346 * configure.in: Added check for gcc and -Wall
7348 Fri Jan 30 19:58:51 1998 Love Hornquist-Astrand <lha@stacken.kth.se>
7350 * arlad/{conn.c,fcache.c,volcache.c}: Fixed conn locking.
7352 Wed Jan 28 05:43:44 1998 Artur Grabowski <art@stacken.kth.se>
7354 * Cleaned up most of the warnings in arlad, lwp, rx* and some other
7357 * lwp: ANSI-prototypes.
7359 * rx: ANSI-prototypes. Indentation, cleanup
7361 Wed Jan 28 01:00:00 1998 Niklas Hallqvist <nh@stacken.kth.se>
7363 * BSDmake compatibility
7365 * Build from local libsl
7367 Thu Jan 22 22:13:57 1998 Magnus Holmberg <mho@stacken.kth.se>
7369 * xfs/include/xfs_message.h: Argh! Whoever came up with the bright
7370 idea of having userland xfs_message_receive() and kernel
7371 xfs_message_receive() have the same name and share the same
7374 * xfs/include/xfs_message.h, configure.in, acconfig.h:
7375 Gross hack to support both old and new VFS.
7377 Wed Jan 21 12:52:44 1998 Assar Westerlund <assar@sics.se>
7379 * xfs/linux/xfs_inodeops.c (xfs_close): use XFS_{READ,WRITE}
7381 * xfs/bsd/xfs_vnodeops.c (xfs_close): use XFS_{READ,WRITE}.
7382 always call cm_close, independent of the dirty flag. arlad needs
7383 to now how many processes have this file open.
7385 * arlad/inter.c(cm_close): use XFS_READ & c:o
7387 * xfs/include/xfs_message.h: introduced flags:
7388 XFS_{READ,WRITE,...}
7390 Wed Jan 21 03:54:15 1998 Magnus Holmberg <mho@stacken.kth.se>
7394 Merged from .../xfs/bsd.
7397 Mon Jan 19 03:30:53 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
7399 * arlad/*-subr.c, arlad/messages.c: Merged xfs_attr stuff into messages.c
7401 * Changed linux xfs to use xfs_attr and changed everything to include
7402 xfs/include/xfs_message.h
7404 Mon Jan 19 04:46:36 1998 Assar Westerlund <assar@sics.se>
7406 * xfs/include/xfs_message.h: add ID. remove old junk
7408 * xfs/include/xfs_attr.h (XA_SET_*): Use correct field name.
7409 (xfs_file_type): fix typo
7411 * xfs/bsd/xfs_node.c (vattr2xfs_attr, xfs_attr2vattr): new
7414 Sun Jan 18 12:19:26 1998 Assar Westerlund <assar@sics.se>
7416 * xfs/bsd/Makefile.in (MODULE): use `mv -f'
7417 (unload): correct symbol is `xfs_mod'
7419 * arlad/fcache.c (writefile): don't send the length of data in the
7422 Sun Jan 18 23:57:11 1998 Love H-Åstrand <lha@foo.ksk.sala.se>
7424 * xfs/bsd/bin/startarla.in: a startscript, using autoconf.
7426 * xfs/bsd/xfs_dev.c(xfs_devclose): Make sure we dont unmount a
7427 not mounted filesystem.
7429 Sun Jan 18 12:19:26 1998 Assar Westerlund <assar@sics.se>
7431 * arlad/conn.c (getconnection): restructured. Make all
7432 unauthenticated connections with cred == 0. Try to add an
7433 unauthenticated connection at the same time as a authenticated
7434 one. This is used when receiving and breaking callbacks.
7436 * arlad/conn.h (ConnCacheEntry): add `securityclass'
7438 * xfs/bsd/bin/mount_xfs.c: DTRT with __progname and err*
7440 * xfs/bsd/Makefile.in (unload): use modunload
7442 * arlad/*-subr.c: no need to specify cachedir.
7444 * arlad/fcache.c: allow specification of cachedir
7446 * arlad/arla.c (main): specify cachedir when calling initfcache
7448 * Makefile.in: clean and simplify
7450 * xfs/bsd/xfs_dev.c: use = instead of bcopy
7452 Sun Jan 18 15:14:58 CET 1998 Love H-Åstrand <lha@foo.ksk.sala.se>
7454 * Added configure option --with-arlacachedir
7456 Sun Jan 18 01:20:45 1998 Love H-Åstrand <lha@foo.ksk.sala.se>
7458 * arla/cafe-au-lait.c: Added new file.
7460 * Added target install and made arla/cell.c use prefix for
7461 CellServDB and ThisCell.
7463 * xfs/bsd/xfs_dev.c(xfs_uninstall_device): Fixed unload bug for
7466 * xfs/bsd/xfs_vfs_ops.c: Fixed kernel panic for net|openbsd,
7467 it may work now. Tried to fix it for freebsd too.
7469 Thu Jan 15 23:24:52 1998 Magnus Holmberg <mho@stacken.kth.se>
7471 * xfs/openbsd2.3/xfs_vnodeops.c: Fixed arguments to vnode
7472 functions to match new vfs.
7474 Thu Jan 15 06:10:37 1998 Assar Westerlund <assar@sics.se>
7476 * configure.in: test for symorder. use xfs/bsd
7478 * xfs/bsd: new unified bsd xfs-module
7480 Thu Jan 15 01:14:35 1998 Love Hornquist-Astrand <lha@foo.ksk.sala.se>
7482 * xfs/openbsd/xfs_vnodeops.c: Added use of XFS_ANONYMOUSID when we
7483 dont have a cred. Setting pag_t.pag to 0 is a bad idea, since we
7484 use uid when the user doesn't have a pag...
7486 Thu Jan 15 00:52:16 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
7488 * xfs/linux/xfs_vfsops.c: Made xfs_put_inode tell arla when an
7491 * arlad/fcache.c: Hopefully more correct locking
7493 Tue Jan 13 23:10:03 1998 Assar Westerlund <assar@sics.se>
7495 * arlad/fcache.c (openfile): changed to return error and fd as
7498 * arlad/Makefile.in: use @LIB_readline@
7500 * configure.in: stolen editline-tests from krb4
7502 * aclocal.m4: stolen AC_FIND_FUNC_NO_LIBS from krb4
7504 * arlad/arla.c: junked lots of old code.
7505 wrote a new simple command-line mode for `-t'.
7507 * arlad/cmcb.c (RXAFSCB_Probe, RXAFSCB_InitCallBackState,
7508 RXAFSCB_CallBack): print the IP-address
7510 * arlad/Makefile.in: renamed arla -> arlad.
7511 link with sl and related libraries
7513 * configure.in: make sure we have a working version of autoconf
7514 don't create any xfs-makefiles if we have a unsupported OS
7516 1998-01-13 Per Andersson <ppan@joker.cntw.com>
7518 * Arladaemons name changed to 'arlad' in INSTALL
7520 Tue Jan 13 19:23:10 1998 Love Hornquist-Astrand <lha@stacken.kth.se>
7522 * Added sl and editline
7524 * Added pag support for net/open-bsd
7528 Mon Jan 12 23:12:15 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
7530 * arlad/messages.c,xfs/{linux,openbsd,freebsd}:
7531 Moved to pag authentication, added set sysname,
7532 added set pag in linux
7534 Mon Jan 12 00:59:55 1998 Magnus Ahltorp <magnus@dike.aladdin.se>
7536 * xfs/linux/xfs_syscalls.c: Added set pag.
7538 Sun Jan 11 05:14:44 1998 Assar Westerlund <assar@sics.se>
7540 * rxkad/rxk_crpt.c: resurrect bswap and conditionalize it on
7543 * configure.in: use AC_FUNC_NTOHL
7545 * aclocal.m4 (AC_FUNC_NTOHL): new macro
7547 * ydr: added support for the 'multi' keyword
7549 Sun Jan 11 00:19:46 1998 Love Hornquist-Astrand <lha@stacken.kth.se>
7551 * xfs/openbsd/xfs_locl.h: Added prototype for xfs_get_pag and
7552 added som include files (removed those include files all over)
7554 * xfs/openbsd/xfs_vfsops.c: Added the type of fs to the
7557 * xfs/openbsd/xfs_syscalls.c: Added pag support
7559 * xfs/openbsd/xdeb.h: Added XDEBSYS
7561 * xfs/openbsd/xfs_dev.c(xfs_devclose): Lock the mointpoint when
7562 freeing the xfsnodes
7564 Sat Jan 10 04:21:31 1998 Assar Westerlund <assar@sics.se>
7566 * arlad/{bsd,linux,sunos}-subr.c (conv_dir): don't ReleaseReadLock
7568 * arlad/fcache.c: allow reuse of the cache files
7570 * arlad/messages.c (xfs_message_getroot): use `cm_getattr'
7572 * arlad/inter.c (cm_getattr): return real_fid as a parameter.
7574 * arla/thash.[ch], arla/vlstr.h: removed.
7576 * ydr/output.c (generate_server_switch): write prototype to header
7579 * lwp/Makefile.in: add mips/irix
7581 * arlad/volcache.c: clean-up:
7585 * arlad/ports.c (initports): use the official IANA names and
7588 * arlad/{linux,sunos,bsd}-subr.c (write_dirent): const-ize
7590 * arlad/conn.c: all cells are int32_t
7592 * arlad/cell.c: all cells are int32_t
7594 * arlad/cmcb.c: clean-up
7596 * arlad/adir.c (afs_lookup): return int. removed old code.
7599 * lwp/Makefile.in: fix ranlib
7601 * arlad/cell.c: restructured a tiny bit and added some (void)
7603 * arlad/fcache.c (getroot): return error code. changed all callers.
7605 * arlad/kernel.c: `struct fd_set' should be `fd_set'
7607 * include/config.h.in: removed
7609 * xfs/openbsd2.3/xfs_vfsops.c (xfs_mount): replaced VOP_UNLOCK by
7612 * xfs/openbsd/xfs_vfsops.c (xfs_mount): do vput instead of
7615 Fri Jan 9 21:32:54 1998 Assar Westerlund <assar@sics.se>
7617 * configure.in: test for header files used by fs
7619 Fri Jan 9 20:55:05 1998 Robert Burgess <rb@bobby.stacken.kth.se>
7621 * appl/fs.{c,h}: added
7623 Fri Jan 9 18:29:28 1998 Assar Westerlund <assar@sics.se>
7625 * xfs/*/xfs/xfs_node.h: define xfs_attr
7627 * xfs/linux/xfs/attr.h: xfs_attr must be a type and not a struct.
7629 * bin/umount_xfs.c: does not work. replaced with the
7632 * arlad/kernel.c: new file with generic kernel interface code.
7634 * arlad/{bsd,sunos,linux}-subr.c: OS-specific functions
7636 * arlad/messages.c: new file with the generic message code.
7638 * conf/CellServDB: A recent version.
7640 Fri Jan 9 17:23:08 1998 Love H-Astrand <lha@ksk.sala.se>
7642 * Added milko/aefs: Added Äckligt fs, and cleaned up
7644 * configure: Removed
7646 Fri Jan 9 17:25:21 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
7648 * arlad/linux-messages.c: getattr and creds fixed
7650 Fri Jan 9 13:53:50 1998 Artur Grabowski <art@squit.stacken.kth.se>
7652 * xfs/openbsd: cleanup
7654 * xfs/openbsd: add flags to free_all_xfs_nodes to allow forced unmount
7656 Fri Jan 9 12:17:20 1998 Artur Grabowski <art@squit.stacken.kth.se>
7658 * Made the definite move of mount_xfs and other binaries into
7661 Fri Jan 9 05:23:13 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
7663 * arlad/adir.c: Moved pointer dereference to after initialization
7666 1998-01-08 Per Andersson <ppan@joker.cntw.com>
7668 * Added very preliminary installation instructions in ./INSTALL
7670 Thu Jan 8 11:05:40 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
7672 * arlad/fbuf.c: Truncate file before close
7674 * arlad/inter.c, arlad/fcache.c: Made cm_lookup handle EACCES
7676 Thu Jan 8 03:28:55 1998 Assar Westerlund <assar@sics.se>
7678 * arlad/fcache.c: changed getfile and getattr to return an error
7679 code. fixed all callers.
7681 * lwp/preempt.c: ifdef SA_NODEFER
7683 * ydr/lex.l: always print error messages with `error_message'.
7684 use global `filename'.
7685 be careful when setting `filename' from cpp-lines
7687 * ydr/types.h: add TINOUT
7689 * ydr/parse.y: add INOUT and int
7691 * ydr/output.c (encode_symbol): add default catch-all.
7692 add handling of INOUT.
7693 rename `result' -> `_result'
7695 * ydr/lex.l: add INOUT
7697 * rxdef/Makefile.in (CLIENTLIB, SERVERLIB): run ranlib.
7698 (clean): remove more files.
7700 * rx/rx_queue.h: renamed _Q() to _RX_QUEUE(): it conflicts with _Q
7703 * configure, include/config.h.in: regenerated
7705 * configure.in: remove rxgen
7707 * rxdef/Makefile.in: add more file types to ydr rule
7709 * lwp/preempt.c, lwp/iomgr.c: use RETSIGTYPE
7711 * arlad/volcache.c: use `u_int32_t' for volumes.
7713 * arlad/fcache.c (writefile): fix sprintf call.
7715 * configure.in: add AC_TYPE_SIGNAL
7717 * arlad/msg.c: removed
7719 Wed Jan 7 19:54:57 1998 Love H-Astrand <lha@ksk.sala.se>
7721 * arlad/*.xg, arlad/common.h: Removed them, then live in rxdef/ now
7723 Wed Jan 7 10:00:25 1998 Magnus Ahltorp <magnus@dike.aladdin.se>
7725 * xfs/linux/Makefile: removed
7727 * xfs/linux/Makefile.in: Added
7729 Wed Jan 7 07:40:02 1998 Artur Grabowski <art@squit.stacken.kth.se>
7731 * xfs: mount_xfs and umount_xfs moved from openbsd to xfs/bin
7733 * xfs/bin: new mount_xfs with argument parsing and correct syntax
7735 Wed Jan 7 05:31:16 1998 Artur Grabowski <art@squit.stacken.kth.se>
7737 * xfs/openbsd/mount_xfs.c: mount_xfs mow mounts with fstype "xfs"
7738 and not from command-line
7740 Tue Jan 6 07:03:38 1998 Artur Grabowski <art@squit.stacken.kth.se>
7742 * appl/vos.c: new command-interface for vos
7744 Tue Jan 6 05:22:13 1998 Love Hornquist-Astrand <lha@stacken.kth.se>
7746 * arlad/inter.c(cm_setattr): Using error from writeattr()
7748 * arlad/fcache.c(writeattr): Using the error we got back from
7751 * xfs/openbsd/Makefile.in: Added -e to modload
7753 Tue Jan 6 05:06:40 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
7755 * arlad/adir.c: Added @sys support
7757 * arlad/linux-messages.c: Added putdata, putattr, create,
7758 pioctl. Cleaned up a lot.
7760 * xfs/linux/xfs_syscalls.c: First real version
7762 * xfs/linux/xfs_inodeops.c: Added open, read, readdir, readlink,
7765 * xfs/linux/xfs_dev.c: Added xfs_message_wakeup_data
7767 Tue Jan 6 04:16:53 1998 Artur Grabowski <art@squit.stacken.kth.se>
7769 * fixed xfs/openbsd/umount_xfs and compilation problems with mount
7772 Mon Jan 5 17:30:41 1998 Love Hornquist-Astrand <lha@stacken.kth.se>
7774 * xfs/openbsd/mod.c: Dont need the diffence between net and open,
7777 * arlad/fcache.c: Fixed bug that made arla write the old length of
7780 * xfs/openbsd/xfs_node.c: Fixed long filename, and added a one
7781 entry cache for them.
7783 * xfs/openbsd/xfs_dev.c: Added some really ugly workarounds for
7784 differences between *BSD
7786 Mon Jan 5 05:10:41 1998 Love Hornquist-Astrand <lha@stacken.kth.se>
7788 * xfs/openbsd/mount_xfs.c: More errorchecking and removed compat
7791 Sun Jan 4 22:30:37 1998 Love Hörnquist-Åstrand <lha@stacken.kth.se>
7793 * */*/*: Removed all (?) reference to u_long cred and started to
7794 use pag_t cred. Dont know how much vill break.
7796 * xfs/openbsd/xfs/xfs_message.h: added xfs_cred and pag_t
7798 Sat Jan 3 21:51:56 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
7800 * xfs/linux/xfs_syscalls.c: Added
7802 * xfs/linux/xfs_inodeops.c: Released inode after use
7804 Sat Jan 3 20:24:37 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
7806 * xfs/linux/xfs_cache.c: Added
7808 * xfs/linux/xfs_node.c: Added cache purging in
7809 free_all_xfs_nodes()
7811 * xfs/linux/xfs_common.h: Cleaned up and changed syntax for xfs_free
7813 * xfs/linux/xfs_common.c, xfs/linux/xfs_dev.c,
7814 xfs/linux/xfs_node.c: Changed syntax for xfs_free
7816 * xfs/linux/xfs_inodeops.c, xfs/linux/xfs_message.c: Changed to xfs_cache
7818 * xfs/linux/xfs_vfsops.c: Added xfs_put_inode
7820 Sat Jan 3 08:37:08 1998 Love Hornquist-Astrand <lha@stacken.kth.se>
7822 * arlad/bsd-messages.c(xfs_message_create): New function
7824 * arlad/inter.c(cm_close): Fixed flags semantics
7826 * arlad/fcache.c(writefile): Fix AFSStoreStatus mask
7828 * xfs/openbsd/xfs/xfs_message.h: Added flag to struct
7829 xfs_message_putdata, so we know what to do.
7831 * arlad/bsd-messages.c: Implemented xfs_message_putdata()
7833 * xfs/openbsd/xfs_vnodeops.c(xfs_close, xfs_fsync): Added writesupport
7835 Sat Jan 3 05:27:51 1998 Assar Westerlund <assar@sics.se>
7837 * xfs_message.c: merge in changes from ../openbsd
7839 * xfs_vnodeops.c (xfs_read): panic if cache vnode == NULL
7841 * arlad/bsd-messages.c (xfs_message_getnode,xfs_message_getattr):
7842 mask XFS_DATA_MASK from `msg.node.tokens'
7844 Sat Jan 3 00:55:46 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
7846 * arlad/inter.c: Changed cm_getattr to check for the correct rights
7848 * xfs/linux/xfs_inodeops.c: Fixed return value from xfs_lookup
7850 Fri Jan 2 23:34:22 1998 Love Hörnquist-Åstrand <e96_lho@e.kth.se>
7852 * xfs/openbsd/xfs_message.c(xfs_message_invalidnode): Fixed tokens
7855 Fri Jan 2 20:46:03 1998 Assar Westerlund <assar@sics.se>
7857 * xfs_vnodeops.c: mrege in changes from ../openbsd
7859 * arlad/bsd-messages.c (vattr2afsstorestatus): remove mask
7861 Fri Jan 2 20:47:20 1998 Love Hörnquist-Åstrand <e96_lho@e.kth.se>
7863 * xfs/openbsd/xfs_vnodeops.c: Fixed xfs_write()
7865 * arlad/bsd-messages.c: Added vattr2afsstorestatus() and cleaned up
7867 * arlad/arla_local.h: Added vattr2afsstorestatus() defines
7869 Fri Jan 2 12:47:20 1998 Love Hörnquist-Åstrand <e96_lho@e.kth.se>
7871 * xfs/openbsd/xfs_vnodeops.c: putattr support working when ATTR
7874 * arlad/inter.c (cm_setattr): Return error message if writeattr fail
7876 * arlad/fcache.h: Fixed writeattr call
7878 * arlad/fcache.c: Adding support for chmod
7880 * arlad/arla_local.h: Added {fs,vldb}.cs.c to get prototypes,
7881 and fixed the error that was discoved
7883 Fri Jan 2 04:27:06 1998 Assar Westerlund <assar@sics.se>
7885 * arlad/cmcb.c (RXAFSCB_CallBack): handle the case of there not
7886 being enough callbacks.
7888 Fri Jan 2 03:42:43 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
7890 * arlad/linux-messages.c: Made getnode and getroot work
7892 * xfs/linux/xfs_inodeops.c: Added xfs_lookup
7894 * xfs/linux/xfs_message.c: Fixed inode number bug
7896 Thu Jan 1 22:53:15 1998 Assar Westerlund <assar@sics.se>
7898 * rx/Makefile.in: removed all xdr*
7900 * rx/rx_misc.c: remove xdr.h and use malloc/free instead of
7903 * ydr/Makefile.in: bsd-make compatible
7905 Thu Jan 1 19:13:40 1998 Magnus Ahltorp <map@lroken.stacken.kth.se>
7907 * xfs/linux/xfs_dev.c: Fixed some inits.
7909 Thu Jan 1 17:31:08 1998 Assar Westerlund <assar@sics.se>
7911 * arlad/arla.c (main): fix call to conv_dir
7913 Wed Dec 31 18:17:15 1997 Love H-Astrand <lha@ksk.sala.se>
7915 * milko/ss2fs/file.c: Bugfixes, not done
7917 * milko/mutil/dirpage.c: Moved to here
7919 * milko/mutil/fdrxop.c: Added file
7921 Wed Dec 31 13:11:01 1997 Love H-Astrand <lha@ksk.sala.se>
7923 * milko/ss2fs/ss2dir.c: Added file
7925 Wed Dec 31 00:30:07 1997 Assar Westerlund <assar@sics.se>
7927 * xfs/xfs_message.h (xfs_message_wakeup_data): added
7929 * xfs_dev.c (xfs_message_wakeup_data): copied from ../openbsd
7931 * Makefile.in: removed duplicate ydr
7933 * rx/rx_pkt.c (rxi_ReadPcket): use a sensible length test.
7935 * rx/rx_null.h: prototypize
7936 rxnull_New{Server,Client}SecurityObject
7938 * xfs/xfs_message.h (xfs_message_pioctl): add `outsize' add some
7941 * arlad/cred.h: only include <des.h> and <krb.h> iff KERBEROS
7943 * arlad/conn.c (getconnection): ifdef KERBEROS for krbdata
7945 * arlad/bsd-messages.c (xfs_message_pioctl): (VIOCSETTOK,
7946 VIOCUNLOG): ifdef KERBEROS
7948 * arlad/arla.c (get_cred): ifdef KERBEROS.
7950 * arlad/Makefile.in: use autoconf'd RXKAD_LIBS
7952 * configure.in: set RXKAD_LIBS
7954 * util/fnameutil.c (dirname): return "." for local files.
7956 * ydr/output.c (init_generate): include the same set of headers in
7957 all generated .c-files.
7959 * lwp/Makefile.in: separate cpu vs OS definitions
7961 Tue Dec 30 22:08:55 1997 Magnus Ahltorp <map@lroken.stacken.kth.se>
7963 * xfs/linux/xfs_inodeops.c: Added
7965 * xfs/linux/xfs_node.c: Inode values now based on xfs_node
7966 pointer. Some more functions ported.
7968 * xfs/linux/xfs_message.c: Initial linux port
7970 Tue Dec 30 21:11:01 1997 Love H-Astrand <lha@ksk.sala.se>
7972 * milko/ss2fs/file.c: Added even more junk
7974 * rxdef/Makefile.in: Removed that common.h link, using -I
7976 Mon Dec 29 17:23:25 1997 Assar Westerlund <assar@sics.se>
7978 * util/fnameutil.c (dirname): new function
7980 Fri Dec 26 22:54:12 1997 Love H-Astrand <lha@ksk.sala.se>
7982 * configure.in: Added ufs01fs & co
7984 * milko/ss2fs: Added
7986 * milko/ufs01fs: Added
7988 * milko: Cleaned up and started to migrate in ss2fs
7990 Wed Dec 24 03:25:51 1997 Magnus Ahltorp <map@hefaistos.abc.se>
7992 * xfs/linux: Added nfs like allocation of inodes
7994 * xfs/linux/xfs/attr.h, arlad/linux-messages.c: Added xfs_attr
7996 Mon Dec 22 12:38:26 1997 Love H-Astrand <lha@ksk.sala.se>
7998 * ydr/lex.l: We now recognise {u_,}int{16,32}_t
8000 Sun Dec 21 10:30:42 1997 Love H-Astrand <lha@ksk.sala.se>
8002 * Makefile.in: Added rxdef
8004 Fri Dec 19 05:08:24 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8006 * xfs/openbsd/xfs_dev.c: Added wakedup_data function in xfs end
8008 * arlad/fcache.c: Added sysname
8010 * xfs/openbsd/xfs/xfs_message.h: Added wakedup_data function and
8013 * xfs/openbsd/xfs_syscalls.c: Started adding of sysname
8015 * arlad/volcache.c: Added VOLCACHEADDDYNAMIC
8017 Wed Dec 17 08:39:02 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8019 * TODO: Fixed getcwd() ?
8021 * arlad/bsd-messages.c: Added error checking and fixed error msg
8023 * arlad/arla_local.h: Added debuggingmacro
8025 * Makefile.in: Changed to ydr
8027 * arlad/fcache.c: getcwd & ydr
8029 * arlad/bsd-messages.c: Working pwd, there is still bugs in
8032 1997-12-10 Love Hornquist-Astrand <lha@foo.ksk.sala.se>
8034 * arlad/inter.c: Made tokens support more sane
8036 * xfs/openbsd/*: Added support for NetBSD
8038 Tue Dec 9 03:38:52 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8040 * arlad/inter.c: cm_open(): Not quite ready yet.
8042 * arlad/inter.c: Added test för datausedp;
8044 Mon Dec 8 20:52:09 1997 Assar Westerlund <assar@sics.se>
8046 * arlad/bsd-messages.c (afsstatus2vattr): use VNOVAL
8047 (xfs_message_getnode): cleanup
8049 * configure.in: test for more header files.
8053 Thu Dec 4 14:51:05 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8055 * TODO: Added vos and rxdef
8057 Sat Nov 29 02:18:57 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8059 * appl/vos.c: listvol does not work, yet
8061 * appl/vos.c: Almost working, just lacking CellServDB parsing
8063 * appl/arlalib.c: Added more junk
8065 Fri Nov 28 17:00:17 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8067 * appl/vos.c: More working code
8069 * appl/arlalib.c: First version
8071 Tue Nov 25 20:45:20 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8073 * rxgen/main.c: Fixed configure test for CPP
8075 Wed Nov 19 13:03:58 1997 Love Hornquist-Astrand <lha@foo.ksk.sala.se>
8077 * milko/dirpage.c: Added
8079 * milko/inodedb.c: Added
8081 * milko/diskio.c: Made more usable
8083 Tue Nov 18 23:54:11 1997 Magnus Ahltorp <map@stacken.kth.se>
8085 * configure.in: Fixed bug that turned off kerberos default
8087 Tue Nov 18 06:13:17 1997 Magnus Ahltorp <map@stacken.kth.se>
8089 * Added support for different include and lib paths in kerberos.
8092 Sat Nov 15 15:31:24 1997 Love H-Astrand <lha@jenny.ksk.sala.se>
8094 * lwp/lwp.c: Added support for posix signals, added RCSID()
8096 * lwp/preempt.c: Added support for posix signals
8098 * lwp/lwp.h: Added check for posix-signals
8100 * acconfig.h: Added check for posix-signals
8102 * configure.in: Added check for sys/ioccom.h
8104 * arla/Makefile.in: Added @CFLAGS@
8106 Sat Nov 15 11:41:33 1997 Magnus Ahltorp <map@stacken.kth.se>
8108 * configure.in, Makefile.in: Added support for conditional
8111 Fri Nov 14 09:36:20 1997 Magnus Ahltorp <map@stacken.kth.se>
8113 * configure.in: Cleaned up and added messages
8115 Fri Nov 14 08:54:26 1997 Magnus Ahltorp <map@stacken.kth.se>
8117 * configure.in: Added support for --with-krb4.
8119 * acconfig.h: Removed superfluous #define KERBEROS
8121 Thu Nov 13 05:42:30 1997 Artur Grabowski <art@stacken.kth.se>
8123 * xfs/openbsd/xfs_node.c: Fixed the removing of vnodes from the
8124 list of all vnodes in the fs. :)
8126 Wed Nov 12 22:00:28 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8128 * arlad/volcache.c: Added gc
8130 Wed Nov 12 04:40:46 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8132 * arlad/conn.c: Added gc
8134 * arlad/bsd-messages.c: Added check for invalid rpc calls
8136 * arlad/cred.c: Made a cred_remove() remove all connection in the
8137 connection cache too.
8139 * arlad/bsd-messages.c: Cleaned up the code.
8141 * arlad/conn.c: Added support to remove a connection from the
8142 connection cache, we still dont gc.
8144 * util/hash.c: Added hashtabcleantab()
8146 Mon Nov 10 01:11:38 1997 Assar Westerlund <assar@sics.se>
8148 * added lots of copyrights.
8150 * lib/rxkad: updated
8152 * acconfig.h: -DKERBEROS
8154 * xfs/freebsd/xfs/xfs_message.h: added pioctl
8156 Sun Nov 9 19:16:25 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8158 * arlad/cred.h: Cleanup, added support to clean tokens based on
8161 * xfs/openbsd/xfs_syscalls.c: Added support for VIOCUNLOG
8163 * xfs/openbsd/xfs/xfs_message.h: Added uid to struct
8164 xfs_message_pioctl, in some magic way we should support PAGs too.
8166 * arlad/bsd-messages.c: Added support for VIOCUNLOG
8168 Sun Nov 9 17:25:27 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8170 * xfs/openbsd/xfs/xfs_message.h: Added xfs_message_pioctl
8172 * xfs/openbsd/kafs.h: Added
8174 * xfs/openbsd/xfs_syscalls.c: Added VIOCSETTOK
8176 * arlad/bsd-messages.c: Working cred
8178 Sat Nov 8 19:58:46 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8180 * arlad/cred.c: Added putkrb4cred()
8182 Fri Nov 7 20:57:09 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8184 * rx/rx_user.c: Removed rx warning messages
8186 * arlad/conn.c: After 24h hacking, working rxkad !
8188 Thu Nov 6 22:28:33 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8190 * arlad/arla.c: Added kerberos support, not working, yet.
8192 * arlad/Makefile.in: Added support for rxkad, assume krb4 world
8194 * Makefile.in: Added rxkad
8196 * arlad/cred.h: Fixed.
8198 * arlad/cred.c: Fixed some more
8200 Thu Nov 6 18:05:59 1997 Artur Grabowski <art@bobby.stacken.kth.se>
8202 * arlad/bsd-kernel.c: fixed exit on error from device.
8204 Thu Nov 6 17:34:27 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8206 * arlad/arla.c: Init credcache
8208 * arlad/conn.c: Added support for rxkad
8210 Thu Nov 6 17:34:27 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8212 * arlad/cred.h: Made it buildable and spell checked.
8214 * arlad/cred.c: Made it buildable.
8216 Thu Nov 6 17:31:09 1997 Artur Grabowski <art@bobby.stacken.kth.se>
8218 * xfs/openbsd/xfs_vfsops.c: fixed the releasing of vnodes.
8220 * xfs/openbsd/xfs_vnodeops.c: cleaned up.
8222 * Learned to use ChangeLog. (hopefully)
8224 Thu Nov 6 02:38:20 1997 Love Hornquist-Astrand <lha@foo.ksk.sala.se>
8226 * arlad/cred.h: Added
8228 * arlad/cred.c: Added
8230 * milko/diskio.c: Started to read the inode instead of makeing up data.
8232 * milko/build_a_inode.c: more features
8234 Tue Nov 4 03:03:03 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8236 * rxkad/*.[ch]: s/int32/int32_t/g
8238 * configure.in: Added some more tests.
8240 * rxkad/Makefile.in: Living in a krb4 work, assar will shot me.
8242 * aclocal.m4: Added checks for types (int32 & co)
8244 Sun Nov 2 17:24:22 1997 Assar Westerlund <assar@sics.se>
8246 * xfs_vnodeops.c (xfs_data_valid): set `msg.tokens'
8247 (xfs_lookup): copy name to `msg' correctly
8249 * xfs_vfsops.c (xfs_root): set `msg.cred'
8251 * xfs_node.c (free_xfs_node): reset data
8253 * xfs_message.c (xfs_message_installdata): unlock the cache vnode
8256 * xfs_dev.c (xfs_message_rpc): copy back from temporary memory to
8259 * arlad/inter.c (cm_open): set enty->tokens correctly
8261 * arlad/Makefile.in: use `test -h' instead of `test -L'
8263 Sat Nov 1 02:06:18 1997 Love H-Astrand <lha@ksk.sala.se>
8265 * arlad/Makefile.in: Fixed so we can build in another directory
8270 Thu Oct 30 01:46:51 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8272 * configure.in: Fixed linux include stuff
8274 * arlad/linux*: Added linux specific files
8276 * configure.in: Added milko.
8278 * milko/Makefile.in: Fixed for merging into arla-tree
8280 Wed Oct 29 22:52:15 1997 Assar Westerlund <assar@sics.se>
8282 * arlad/volcache.c (findvolname, findvolid): check for getvolname
8285 Sun Oct 26 17:59:11 1997 Magnus Ahltorp <map@wakko.stacken.kth.se>
8287 * xfs/linux/xfs_common.c: Linuxified
8289 Sat Oct 25 19:01:45 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8291 * lwp/lwp.c: Ansified
8293 * lwp/iomgr.c: Ansified
8295 Sat Oct 25 17:05:21 1997 Assar Westerlund <assar@sics.se>
8297 * xfs/freebsd: use mp->mnt_vnodelist instead of xfsp->nodes
8299 * xfs/freebsd/Makefile.in: new autoconf'ed makefile
8301 Sat Oct 25 15:53:31 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8303 * lwp/Makefile.in: Grrrr gcc -E är dum.
8305 * Makefile.in: Added rx and rxgenbuilding
8307 * lwp/Makefine.in: Added support for multippel processors
8309 Sat Oct 25 15:48:38 1997 Assar Westerlund <assar@sics.se>
8311 * xfs/linux/xfs: new files
8313 Sat Oct 25 14:23:45 1997 Love Hornquist-Astrand <lha@stacken.kth.se>
8315 * configure.in: Removed some configure.in's
8317 Sat Oct 25 14:15:11 1997 Magnus Ahltorp <map@wakko.stacken.kth.se>
8319 * xfs/linux/xfs_dev.c: Merged in the real file and adopted it to
8322 Sat Oct 25 05:46:29 1997 Magnus Ahltorp <map@stacken.kth.se>
8324 * xfs/linux/xfs_dev.c: Moved device stuff here
8326 * xfs/linux/super.c: Working filesystem
8328 Fri Oct 24 18:33:36 1997 Magnus Ahltorp <map@stacken.kth.se>
8330 * xfs/linux/super.c: Almost working empty filesystem.
8332 Fri Oct 24 17:20:40 1997 Assar Westerlund <assar@sics.se>
8334 * rx/Makefile.in: replaced junk makefile with a new one
8336 * arlad/Makefile.in: much clean-up and improvements
8338 * Makefile.in: much clean-up and improvements
8340 * configure.in: much clean-up and improvements
8342 * xfs/Makefile.in: stub makefile
8344 * lib/util/ip.[ch]: resurrected
8346 * lib/lwp/q.c: resurrected