2004-10-18 06:49 shadow * src/afs/afs_osi_pag.c: DELTA setpag-print-throttled-20041012 AUTHOR bucy-openafs-devel@gloop.org kernel printf when we start throttling for time 2004-10-18 06:12 shadow * src/volser/volprocs.c: DELTA partly-revert-volser-restore-timestamp-cleanup-20041018 AUTHOR shadow@dementia.org FIXES messes up creation field on new volume. 2004-10-18 06:08 shadow * src/: cf/osconf.m4, auth/Makefile.in, des/Makefile.in, util/Makefile.in: DELTA amd64-ccobj-update-20041018 AUTHOR jhutz@cmu.edu FIXES update ccobj for amd64 2004-10-18 04:22 jaltman * src/config/NTMakefile.i386_nt40: DELTA windows-version-20041017 AUTHOR jaltman@mit.edu update version to 1.3.7200 2004-10-18 02:44 jaltman * src/WINNT/afsd/cm_freelance.c: DELTA freelance-end-of-line-20041017 AUTHOR jaltman@mit.edu modify the algorithm used for loading mount point entries to ignore all data beyond the terminating dot. 2004-10-17 21:19 jaltman * src/WINNT/afsd/afsd_service.c: DELTA flushonhibernate-20041017 AUTHOR jaltman@mit.edu Fix Asanka's patch. 2004-10-17 21:02 jaltman * src/WINNT/afsd/cm_freelance.h: DELTA flushonhibernate-registry-20041017 AUTHOR asanka@mit.edu Add a new FlushOnHibernate registry option to allow users to disable the Power Management Flush support 2004-10-17 21:00 jaltman * doc/txt/winnotes/: afs-changes-since-1.2.txt, afs-install-notes.txt, registry.txt: DELTA winnotes-updates-20041017 AUTHOR jaltman@mit.edu Updates for 1.3.72 New FlushOnHibernate registry option 2004-10-17 20:24 jaltman * src/WINNT/: afsd/afskfw.c, aklog/aklog.c: DELTA krb5-no-dot-20041017 AUTHOR jaltman@mit.edu Generate error in the client if a krb5 principal contains a dot in the first component. 2004-10-17 15:18 jaltman * src/WINNT/: afsd/fs.c, client_config/isadmin.cpp: DELTA local-system-acct-20041017 AUTHOR jaltman@mit.edu When testing for Administrator privileges always grant them to the Local System account 2004-10-17 02:46 jaltman * src/WINNT/install/wix/NTMakefile: DELTA wix-clean-20041016 AUTHOR jaltman@mit.edu Clean the intermediary build files before each build. 2004-10-17 02:44 jaltman * src/WINNT/client_osi/: osisleep.h, osistatl.h: DELTA windows-updates-20041016 AUTHOR jaltman@mit.edu * Update reference count fields from short to unsigned long 2004-10-17 02:32 jaltman * src/WINNT/afsd/: cm_buf.h, cm_conn.h, cm_diskcache95.h, cm_scache.h, cm_server.h, cm_user.h, cm_volume.h, smb.c, smb.h, smb3.c: DELTA windows-updates-20041016 AUTHOR jaltman@mit.edu * Correct the handling of Over Quota errors * Update all of the reference count fields to use unsigned long instead of shorts or ints * Reformat touched files 2004-10-16 22:41 jaltman * src/des/des.c: DELTA des-fix-mustalign-20041016 AUTHOR jaltman@mit.edu FIXES 15637 Forgot to fix the MUSTALIGN case 2004-10-15 21:41 shadow * src/kauth/Makefile.in: DELTA provide-fPIC-method-for-amd64-20040508 AUTHOR shadow@dementia.org FIXES 3680 allow building fPIC on amd64 2004-10-15 06:01 shadow * src/rx/: rx.c, rx.h: DELTA rx-peer-and-conn-refcounts-now-unsigned-int32-20041015 AUTHOR shadow@dementia.org FIXES 15459 in an extreme case, the peer object refcount could wrap we should probably also log if wrapping is imminent 2004-10-14 01:52 jaltman * src/sys/pioctl_nt.c: DELTA pioctl-debug-20041013 AUTHOR jaltman@mit.edu Add more debug statements 2004-10-13 21:00 shadow * src/libafs/MakefileProto.LINUX.in: DELTA makefileproto-linux26-20041013 AUTHOR pnelson@andrew.cmu.edu FIXES add "linux26" to the case where we symlink asm 2004-10-13 16:29 shadow * src/viced/host.c: DELTA h-tossstuff-r-leak-20041013 AUTHOR cg2v@andrew.cmu.edu FIXES don't leak host hash objects in h_TossStuff_r 2004-10-13 14:46 shadow * src/afs/afs.h: DELTA amd64-use-flock-20041013 AUTHOR pnelson@andrew.cmu.edu FIXES so we stand a chance of compiling on amd64 2004-10-13 14:23 jaltman * src/ptserver/pts.c: DELTA uninitialized-vars-20041013 AUTHOR jaltman@mit.edu FIXES 15604 initialize flags in SetFields so that it has a default value otherwise a runtime exception is generated on windows due to lack of initialization before use. 2004-10-13 14:07 shadow * src/afs/LINUX/osi_vnodeops.c: DELTA linux-pagelaunder-avoid-deadlock-20041012 AUTHOR jbuehler@hekimian.com FIXES 15239 mmap'd files can deadlock on linux; fix by not letting kernel free pages out of our space predictively 2004-10-13 06:41 jaltman * src/WINNT/client_config/drivemap.cpp: DELTA expand-strings-20041012 AUTHOR jaltman@mit.edu Stop blowing away the drive mappings of REG_EXPAND_SZ values due to the use of the incorrect order of the parameters 2004-10-13 02:48 jaltman * doc/txt/winnotes/afs-issues.txt: DELTA winnotes-20041012 AUTHOR jaltman@mit.edu Update documentation files with latest changes 2004-10-13 02:30 jaltman * src/WINNT/afsd/: afsd_init.c, cm_callback.c, cm_conn.c, cm_dcache.c, cm_ioctl.c, cm_server.c, cm_vnodeops.c: DELTA rx-refcount-20041012 AUTHOR jaltman@mit.edu FIXES 15585 * use new rx_GetConnection/rx_PutConnection functions to increment/ decrement the refCounts on the rx_connection objects so that the objects are not invalidated during RXAFS_xxx calls when: - the user tokens change - the global cryptlevel changes * import SysName from registry and parse along white space boundaries 2004-10-13 01:28 shadow * src/rxkad/domestic/fcrypt.c: DELTA aix-des-cleanup-20041012 AUTHOR horst@riback.net FIXES incrementing pointers behind casts apparently pisses of vac 6 2004-10-13 01:16 shadow * src/config/: afs_sysnames.h, param.amd64_linux26.h: DELTA amd64-linux26-20041012 AUTHOR jhutz@cmu.edu FIXES 15617 support for amd64 linux26 2004-10-13 01:10 shadow * src/: libafsrpc/Makefile.in, shlibafsrpc/Makefile.in: DELTA build-fcrypt-from-domestic-20041010 AUTHOR rees@umich.edu don't install rxkad/domestic/*.c, just compile them where they live 2004-10-13 01:07 shadow * src/ubik/uinit.c: DELTA generic-client-init-function-20041009 AUTHOR shadow@dementia.org FIXES 15464 so we can have this code in just one place 2004-10-13 01:04 shadow * src/afs/SOLARIS/osi_vnodeops.c: DELTA solaris-fix-ulimit-write-size-bug-20041012 AUTHOR ericm@electric-cloud.com FIXES 15609 convert nonsensical comparison to one which makes sense in light of code and comments below it 2004-10-13 00:51 shadow * src/afs/: afs_buffer.c, afs_dcache.c, afs_osi.h, afs_pioctl.c, afs_prototypes.h, afs_segments.c, VNOPS/afs_vnop_create.c, VNOPS/afs_vnop_dirops.c, VNOPS/afs_vnop_link.c, VNOPS/afs_vnop_lookup.c, VNOPS/afs_vnop_readdir.c, VNOPS/afs_vnop_remove.c, VNOPS/afs_vnop_rename.c, VNOPS/afs_vnop_symlink.c: DELTA dread-do-validation-20041012 AUTHOR cg2v@andrew.cmu.edu FIXES 15340 so we can do directory object validation in DRead() 2004-10-13 00:36 shadow * src/afs/afs_vcache.c: DELTA linux-26-vlru-cycle-20041012 AUTHOR cg2v@andrew.cmu.edu FIXES 15339 it was only a matter of time... 2004-10-11 22:31 shadow * src/afs/LINUX/osi_groups.c: DELTA linux-setgroups-need-asmlinkage-20041011 AUTHOR cg2v@andrew.cmu.edu FIXES 15460 sys_setgroups pointers must be asmlinkage everywhere 2004-10-11 18:39 shadow * src/viced/callback.c: DELTA viced-callback-lock-host-during-multi-breakcallback-20041011 AUTHOR shadow@dementia.org FIXES since it looks like CheckHost is using a gc'd client conn, this more or less has to be it. and don't deadlock. 2004-10-11 18:35 shadow * src/: libafsrpc/afsrpc.def, rx/rx_prototypes.h: DELTA rx-getputconnection-20041011 AUTHOR jhutz@cmu.edu FIXES 15584 add Get/PutConnection funcs to diddle conn refCounts. 2004-10-11 16:21 shadow * src/afs/LINUX/: osi_module.c, osi_prototypes.h: DELTA ppc64-26-support-20041011 AUTHOR hartmans@mit.edu FIXES 15581 update support for ppc64 2.6DELTA some-name-yyyymmdd AUTHOR contributor@some.site 2004-10-11 16:01 shadow * src/: shlibafsrpc/NTMakefile, shlibafsrpc/afsrpc.def, shlibafsrpc/afsrpc.rc, libafsrpc/mapfile: DELTA libafsrpc-cleanup-20041011 AUTHOR shadow@dementia.org FIXES 15586 remove unwanted files 2004-10-10 23:50 jaltman * src/WINNT/afsd/: cm_buf.c, cm_ioctl.h, cm_vnodeops.h: DELTA windows-combined-20041010 AUTHOR jaltman@mit.edu * fix the Windows cache manager to prevent it from replacing the rx_connection object associated with the cm_conn_t object on each and every operation if "fs crypt" was set. This explains the dramatic performance difference when crypt is used vs clear. The problem: 'cryptall', a boolean flag indicating whether or not "fs crypt" is set, was being compared to the rx_connection cryptlevel which is either rxkad_clear:0 or rxkad_crypt:2. 1 != 2 and therefore the rx_connection was always destroyed and replaced on each and every operation. Lock the cm_conn_t object around every call to RXAFS_xxxx functions. It is not safe for the cm_conn_t object to not be locked because rx_DestroyConnection might be called from another thread if: - the user's tokens have changed or expired - the crypt mode has changed * Modify cm_Lookup to evaluate a list of possible values for @sys instead of just a single entry. Re-write cm_ExpandSysname and add cm_LookupInternal. * Reformat affected files * Add cache file name to cache creation errors 2004-10-10 19:45 rees * src/rxkad/Makefile.in: DELTA build-fcrypt-from-domestic-20041010 AUTHOR rees@umich.edu don't install rxkad/domestic/*.c, just compile them where they live 2004-10-10 02:04 shadow * src/scout/Makefile.in: DELTA generic-client-init-function-20041009 AUTHOR shadow@dementia.org FIXES 15464 so we can have this code in just one place 2004-10-10 02:03 shadow * src/ptserver/ptuser.c: DELTA pr-initialize-dont-leak-ref-20041009 AUTHOR shadow@dementia.org FIXES we were leaking an afsconf_Open ref. let's not. 2004-10-10 01:58 shadow * src/: libafsauthent/Makefile.in, libafsauthent/NTMakefile, shlibafsauthent/Makefile.in: DELTA generic-client-init-function-20041009 AUTHOR shadow@dementia.org FIXES 15464 so we can have this code in just one place 2004-10-10 01:38 shadow * src/: bozo/bos.c, ubik/ubik.p.h, venus/fs.c, vlserver/vlclient.c, volser/vsutils.c: DELTA generic-client-init-function-20041009 AUTHOR shadow@dementia.org FIXES 15464 so we can have this code in just one place 2004-10-10 00:25 shadow * src/: util/NTMakefile, util/afsutil_prototypes.h, util/uinit.c, ubik/Makefile.in, ubik/NTMakefile: DELTA generic-client-init-function-20041009 AUTHOR shadow@dementia.org FIXES 15464 so we can have this code in just one place 2004-10-09 22:34 shadow * src/rx/: rx_user.c, LINUX/rx_knet.c: DELTA linux-disable-pmtu-discovery-20041009 AUTHOR cg2v@andrew.cmu.edu FIXES 15505 don't set DF bit; use setsockopt to turn of kernel "pmtu feature" 2004-10-05 20:40 rees * src/: des/cbc_encrypt.c, des/des_prototypes.h, des/pcbc_encrypt.c, rxkad/rxkad_prototypes.h: DELTA crypt-take-voids-20041005 AUTHOR rees@umich.edu make various crypt/decrypt routines take void * args to eliminate more compiler warnings 2004-10-04 07:35 jaltman * src/WINNT/install/NSIS/AdminGroup.cpp: DELTA admin-group-nsis-20041004 AUTHOR jaltman@mit.edu correct the test for -create and -remove so that the proper action is taken for each 2004-10-03 13:34 jaltman * src/WINNT/afsd/: afsd_flushvol.c, lanahelper.cpp, lanahelper.h: DELTA win-power-mgmt-flush-test-20041003 AUTHOR jaltman@mit.edu The windows power management code responds to a request to suspend or hibernate by performing a "fs flushvol" as the logged in user on each of the SMB/CIFS mounted shares. This can be very time consuming if the cell servers cannot be reached. This patch adds a test to ensure that there is at least one network adapter in the machine which is not a loopback adapter. While developing this patch other areas of concern have been raised. The power management code waits a fixed period of time based upon the hard dead timeout before allowing the suspend/hibernate to continue. This allows the machine to shutdown even if there are active flush operations being performed. This defeats the benefit of performing the flush at all. A better mechanism could be developed if the functions called via cm_IoctlFlushVolume returned and checked error codes. Then it might be possible to abandon the flush operation if a Server Not Reachable state was obtained. The power management flush operations will also not work on Terminal Server. This would be important in the case where a terminal server is shutting down due to a switch over to a UPS. The reason it does not work on Terminal Server is that there is that it is not possible for afsd_service.exe to enumerate the SMB/CIFS shares and impersonate the individual logged in users. It would be preferred for there to be a new cm_FlushAll() function implemented which was not dependent on the use of the ioctl mechanism for the purpose of identifying a volume ID or a user ID. 2004-10-02 15:54 shadow * src/vol/nuke.c: DELTA vol-fix-nuke-iteration-and-nuke-globals-20040928 AUTHOR shadow@dementia.org allInodes global dies; don't use ti as an iterator right after freeing it. 2004-09-28 05:07 shadow * src/vol/: namei_ops.c, namei_ops.h, ntops.c, ntops.h: DELTA vol-fix-nuke-iteration-and-nuke-globals-20040928 AUTHOR shadow@dementia.org allInodes global dies; don't use ti as an iterator right after freeing it. 2004-09-28 04:44 shadow * src/vol/: listinodes.c, vol-salvage.c: DELTA vol-fix-nuke-iteration-and-nuke-globals-20040928 AUTHOR shadow@dementia.org allInodes global dies; don't use ti as an iterator right after freeing it. 2004-09-24 01:42 kolya * src/rx/rx_rdwr.c: DELTA rxi-flushwrite-fake-a-better-empty-packet-20040923 AUTHOR kolya@mit.edu Fake a better empty packet in rxi_FlushWrite(), with enough space for an rxkad header. Otherwise rxi_PrepareSendPacket may panic. 2004-09-23 03:55 shadow * src/volser/: volmain.c, voltrans.c: DELTA threaded-volserver-and-protoization-update-20040922 AUTHOR shadow@dementia.org FIXES fix a deadlock between GCTrans and DeleteTrans more protoization 2004-09-21 14:00 jaltman * src/WINNT/afsd/: cm_utils.c, smb3.h: DELTA windows-links-20040921 AUTHOR jaltman@mit.edu FIXES 915 FIXES 15250 * smb_ReceiveCoreRename() was factored to produce smb_Rename() which is used by both the original function and the new smb_ReceiveNTRename(). smb_ReceiveNTRename() supports the creation of HardLinks in addition to Renaming. smb_Link() is a new function which creates HardLinks via cm_Link(). cm_Link() is a new vnodeops function which creates links using RXAFS_Link(). smb_ReceiveNTRename() does not support the File Copy and Move Cluster Information operations described in its interface. ReceiveNTRename is under documented in CIFS-TR-1p00_FINAL.pdf. * When opening files via symlinks, we should follow the symlinks until we reach the actual file stat cache entry. The stat cache entry of the file should then be stored in the FID instead of stat scache entry of the symlink. * return bad operation errors for all unimplemented functions even if we do not know the functions exist. * Log bad packets and unknown operation packets to the trace log * Map CM_ERROR_BADOP to STATUS_NOT_SUPPORTED instead of 0xC09820FF * Update list of known CIFS operations to include all those listed in CIFS-TR-1p00_FINAL.pdf. 2004-09-20 02:07 shadow * src/rx/rx_packet.c: DELTA rx-unrefd-peer-may-be-gcd-so-be-safe-20040919 AUTHOR shadow@dementia.org FIXES this means we potentially "lose" some received bytes in the tracking, but the alternative is to add and then drop a ref (which i suppose would be ok) 2004-09-17 13:35 shadow * src/rx/: rx_globals.h, rxdebug.c: DELTA rx-stats-calls-waited-ever-20040917 AUTHOR shadow@dementia.org keep track of the number of calls which have waited for a thread ever (not just those waiting now) update rxdebug to be able to print it. 2004-09-09 20:19 jaltman * src/WINNT/install/NSIS/NTMakefile: DELTA nsis-1400-compiler-20040908 AUTHOR jaltman@mit.edu Add support for MS VS 2005 2004-09-09 20:12 jaltman * src/WINNT/install/NSIS/OpenAFS.nsi: DELTA nsis-1400-compiler-20040908 AUTHOR jaltman@mit.edu Add support for MS VS 2005 2004-09-08 21:35 jaltman * src/: WINNT/afsd/ctokens.c, bucoord/commands.c, bucoord/dump_sched.c, bucoord/restore.c, butc/lwps.c, butc/recoverDb.c, butc/tcmain.c, butm/test_ftm.c, ubik/udebug.c, util/ktime.c, util/serverLog.c, viced/viced.c: DELTA time_t-pointer-conversions-20040908 AUTHOR jaltman@mit.edu FIXES 15169 Modify all parameters to functions which take a pointer to time_t to actually provide a pointer to time_t instead of pointers to long, afs_int32, afs_uint32, etc. This is to provide compatibility with systems that use 64-bit time_t typedefs such as the IBM compilers for AIX and the Microsoft Visual Studio 2005 compiler. This patch does not address any of the issues of data loss caused by converting 64-bit time_t to 32-bit signed or unsigned values. 2004-09-08 05:52 jaltman * src/WINNT/: afsd/afsshare.c, client_creds/ipaddrchg.c: DELTA windows-misc-20040907 AUTHOR jaltman@mit.edu * add expanded registry support to "submounts" 2004-08-26 20:20 kolya * src/afs/afs_stats.h: DELTA placate-netbsd-cc-20040826 AUTHOR kolya@mit.edu netbsd's cc doesn't like multiple semicolons in variable declarations, so let's adjust the XSTATS_DECLS macro appropriately. 2004-08-26 18:14 rees * src/cf/linux-test3.m4: DELTA fix-missing-config-quote-20040826 AUTHOR rees@umich.edu fix missing quote and CPPFLAGS from last commit 2004-08-26 17:45 shadow * src/util/snprintf.c: DELTA snprintf-ip-printing-20040826 AUTHOR rtb@pclella.cern.ch don't treat ip address as long long, cast to 32 bit... 2004-08-26 05:15 shadow * src/: rx/rx_getaddr.c, util/netutils.c: DELTA allow-loopback-interfaces-to-be-advertised-20040826 AUTHOR shadow@dementia.org some software network adapters use instances of lo but are real network adapters. allow them to be advertised. the modified functions are called only in the process of collecting a list to advertise. at the same time, make sure we mask 127.0.0.1. i wonder if that's a mistake. 2004-08-25 20:39 shadow * acinclude.m4: DELTA linux-5-arg-sock-create-20040825 AUTHOR Menke@MPPMU.MPG.DE update for sock_create 5 arg with a better configure test