Commit Graph

2713 Commits

Author SHA1 Message Date
Derrick Brashear
706530c295 openafs-kill-dead-code-20050403
Code ifdef'd any of AFS_MACH_ENV, AFS_GFS_ENV, AFS_DEC_ENV dies

Code ifdef'd AFS_SUN_ENV either becomes AFS_SUN5_ENV or dies as appropriate,
in the kernel only. The database servers etc are probably still buildable,
and I still have a SunOS 4.1.4 machine. ;-) But the Solaris vnops get all
SunOS 4 code nuked.

Uses of AFS_ALPHA_ENV which secretly meant OSF/1,D/UX,Tru64 become
AFS_OSF_ENV.

Bozon lock use gets its own ifdef. OSF and Solaris define it. Darwin and any
BSDs have bozon lock usage removed: note that only OSF and Solaris were
bothering to *init* the bozon lock during NewVCache. Bozon locks are for
platforms where basically we could end up deadlocking ourselves because of
how locks are handled.

Some nonsensical ifdefs removed.
Some if 0'd code removed.
Some obsolete code (hpux pre-10, for instance) removed.
2005-04-03 19:09:05 +00:00
Jeffrey Altman
15d82b857e rxdebug-unsigned-20040403
use unsigned types when displaying stat data via printf
2005-04-03 06:32:35 +00:00
Jeffrey Altman
6beff57613 windows-notes-20050402
updates for version 1.3.81
2005-04-02 10:06:44 +00:00
Jeffrey Altman
48b2968e0a windows-deadlock-20050402
One final deadlock was found in cm_TryBulkStat().  Do not hold the scp->mx
through the RXAFS call.
2005-04-02 09:23:50 +00:00
Jeffrey Altman
9a3844a96b windows-time-20050331
Replace the time translation hack based on smb_NowTZ with a purely
mathematical conversion from UTC based unixTime (time_t) to UTC
based FILETIME
2005-04-01 00:36:04 +00:00
Jeffrey Altman
0a9609d8eb windows-afsd-minor-20050330
Add bounds checking to the comparison of fid->vnode and cm_localMountPoints
when Freelance mode is used.

Fix typo in DJGPP section of smb.c

Use rx_connection * instead of rx_call * in previous fix to cm_dcache.c
2005-03-31 07:05:21 +00:00
Jeffrey Altman
b9bf7ee01a windows-stress-test-fixes-20050330
Ran more stress tests against 1.3.80b on a dual processor machine and
found a number of additional errors which could be fixed.

cm_callback.c: correct the refCount handling of server lists when
processing registering callbacks on the scache entry

cm_conn.c: cm_Analyze was not handling the CM_ERROR_NOSUCHVOLUME case.
In this case force a retry and Force Update the Volume info

cm_dcache.c; do not hold mx locks around calls to rx_NewCall().  That is
why we have reference counting on the rx_connection objects.

cm_ioctl.c: replace references to afsdcell.ini with CellServDB

cm_utils.c: formatting

cm_vnodeops.c: improve the logging and add a missing call to
cm_EndCallbackGrantingCall()

cm_volume.c: allows cm_volume_t objects to be reused if their
ref count is 0 and we have hit the maximum number allowed.

smb.c: improve the logging and the handling of dead_vcp references.
If all of the SMB sessions and NCBs are in use, return BUSY to the
CIFS client.

smb3.c: convert constants to preprocessor symbols
2005-03-30 21:49:35 +00:00
Derrick Brashear
c167d56b1a linux-vnode-macros-20050326
here's a place where we passed a vcache instead of a vnode for linux. doesn't
matter today, might as well fix it now.
2005-03-26 07:10:39 +00:00
Chaskiel M Grundman
1156923e08 lwp-deal-with-unaligned-memory-20050326
FIXES 18050

don't double-free lwp stack space
2005-03-27 21:19:45 +00:00
Derrick Brashear
4cbe2e7ebf rx-getaddrs-skip-loopback-addr-on-bsd-too-20050326
as reported by Tracy Demarco-White
2005-03-26 06:53:44 +00:00
Derrick Brashear
7970369801 darwin-vnode-macros-20050325
use vnode to vcache conversion macros
2005-03-26 05:37:42 +00:00
Derrick Brashear
977184e220 darwin-fstrace-20050325
holy crap, it just worked.
2005-03-26 00:44:39 +00:00
Jeffrey Altman
93ed4e14f0 acl-maxentry-comment-20050325
correct the comment related to the maximum number of entries in
an ACL.  the number of ACEs must be less than or equal to ACL_MAXENTRIES
not less than ACL_MAXENTRIES.
2005-03-25 17:58:47 +00:00
Derrick Brashear
2ba2c97f90 sb-list-fix-20050323
fix gaffe from my attempt at this
2005-03-24 01:53:46 +00:00
Jeffrey Altman
d33cd7595b windows-logon-20050323
Fix initialization error when getting domain parameters
2005-03-23 22:31:13 +00:00
Jeffrey Altman
ef8eb1aef6 windows-version-8002-20050323
1.3.8002
2005-03-23 22:30:09 +00:00
Jeffrey Hutzelman
6132fc0384 kbuild-one-more-try-20050322
and shortly i will confirm it works for all cases
2005-03-22 23:52:59 +00:00
Jeffrey Altman
19b681e32b windows-toplevel-makefile-20050322
fix build dependencies for vl headers
2005-03-22 19:39:44 +00:00
Jeffrey Altman
46f7713f16 windows-smb-fix-20050322
the use logon cache hack only works on xp and above. do not give up
use of smb auth simply because it fails

fix the smb_vc_t refCount fix to smb_CopyPacket.  Only hold a smb_vc_t
if there is one.
2005-03-22 05:42:29 +00:00
Jeffrey Altman
8d8fe49478 windows-version-20050322
1.3.8001
2005-03-22 05:40:13 +00:00
Jeffrey Altman
247a58de77 windows-smb_vc_t-refcounts-20050321
conditionalize the assertions on smb_vc_t refcounts as they are only
for debugging.  We know there is a problem but don't want to deal with
it for the 1.3.80 release.

added logging info for each hold and release.  perhaps that will provide
a clue in the future

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

When copying a packet we must increment the vcp refcounts
2005-03-21 16:27:59 +00:00
Ervin Fenyak
f9e3781fdb vos-extended-format-20050320
FIXES 17961

vos listvol -extended
with -format option (vos listvol -extended -format) had no effect.
After applying the patch,
vos listvol -extended -format
outputs tab delimited output.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
FIXES 17961

move variable declaration to the beginning of the block
2005-03-21 02:54:11 +00:00
Derrick Brashear
6650b683bf linux-inotify-20050320
yay more inode fields.
2005-03-20 20:37:39 +00:00
Michael Niksch
4be6888040 install-cfgafs-20050320
FIXES 17712

cfgafs shoudl be installed regardless of AIX64
2005-03-20 20:26:19 +00:00
Chas Williams
5a8f1057b0 linux-crref-held-longer-20050320
FIXES 17917

hold the cr ref longer
we were putting it too soon
2005-03-20 20:18:08 +00:00
Chaskiel M Grundman
158f2d91b9 linux-rx-spinlocks-for-preempt-20050320
FIXES 17966

force linux spinlocks on when CONFIG_PREEMPT is involved
2005-03-20 20:12:05 +00:00
Chaskiel M Grundman
1aa23c6653 afs-lock-init-20050320
FIXES 17939

add missing afs lock initialization
2005-03-20 20:08:06 +00:00
Vitaly Chernookiy
3b6e82294b linux-libafs-makefileproto-call-kbuild-correctly-20050320
FIXES 17972

call the script directly out of srcdir instead of looking elsewhere
2005-03-20 19:38:44 +00:00
Chaskiel M Grundman
70a8bba77b amd64-linux-rx-clock-fix-20050320
FIXES 17950

avoid initial delay in rx on amd64 linux due to interval timer issue
2005-03-20 19:23:19 +00:00
Tom Keiser
37f7895c48 vos-partinfo-summary-mode-20050320
FIXES 17868

add a summary mode to vos partinfo
2005-03-20 15:11:54 +00:00
Jeffrey Hutzelman
2cfd611e91 linux-find-kernel-build-link-path-to-kernel-headers-20050320
look in /lib/modules for a path to the kernel build instead of just in /usr/src
2005-03-20 15:07:19 +00:00
Jason McCormick
b0b3b02bd1 linux-afsd-rc-better-defaulting-20050320
FIXES 17630

default to a small cache rather than breaking if the client is ill-configured
2005-03-20 15:00:43 +00:00
Ervin Fenyak
efda40565d afsd-rxpck-switch-20050320
FIXES 17837

add rxpck switch to afsd to allow overrding maxpackets
2005-03-20 14:32:06 +00:00
Derrick Brashear
af22fcd182 revert-salvager-verbosity-entirely-20050319
simply remove the verbosity added to salvager
2005-03-19 20:42:04 +00:00
Jeffrey Altman
ab67e8970f windows-notes-20050317
final notes for 1.3.80
2005-03-17 17:50:22 +00:00
Jeffrey Hutzelman
9055824240 CellServDB-update-20050317
Public CellServDB 16 Mar 2005
2005-03-17 17:42:26 +00:00
Harald Barth
54119c1e0e nosettime-20050317
Make -nosettime default for afsd.  Use -settime to get old behavior.
2005-03-17 15:52:54 +00:00
Jeffrey Altman
164d4ee959 windows-dns-crypt-20050516
Found another case in which the windows client could break connections
which should not be broken if cryptall is on.  If the connection is
unauthenticated because there are no tokens, the connections will be
broken.

If a site relies on AFSDB records and the client machine is configured
to append a domain suffix to all queries it is possible for "foo" and
"foo.bar" to appear to be separate cells.  fixed by appending a trailing
'.' to all AFSDB queries if there is not already one.
2005-03-16 21:37:07 +00:00
Jeffrey Altman
1c5e550e99 rollback-20050315
Rollback changes to 1.68
2005-03-16 04:49:02 +00:00
Jeffrey Altman
0949ca36fa windows-notes-20050314
Update notes to describe fix for cross realm trusts to Windows
multi-domain forests
2005-03-15 00:55:56 +00:00
Jeffrey Altman
80d60b9cd1 windows-comments-20050314
Update the comments to indicate how we force authentication to be
performed against the Windows logon cache instead of a domain controller
and how BackConnectionsHostNames will work in Longhorn Beta 1.
2005-03-15 00:43:21 +00:00
Jeffrey Altman
834adacf6a windows-mumble-20050311
Add new registry setting to force a lana to be treated as a loopback

Move hack to force use of MSV1_0 cache
2005-03-11 18:16:47 +00:00
Jeffrey Altman
01a4455f37 windows-1380-20050310
updates for 1.3.80

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

update issues list
2005-03-11 07:30:00 +00:00
Jeffrey Altman
0b90d69f8a windows-pcache-20050310
This patch applies all of the work done to add persistent cache support,
cache manager debugging, and a variety of bug fixes.  A full description
will be committed within doc/txt/winnotes as part of a later commit.
2005-03-11 05:33:12 +00:00
Derrick Brashear
c41aa8245e fix-linux22-20050310
fix accumulated linux 2.2 damage
2005-03-11 04:35:39 +00:00
Derrick Brashear
d82d85f7c4 volinfo-dont-bomb-on-attach-failure-20050310
let volinfo keep going in the face of failure
2005-03-11 02:54:49 +00:00
Tom Keiser
d849943aab vos-listaddrs-dont-infinite-loop-20050308
FIXES 17814

avoid possible infinite loop in vos when checking a non-existant uuid
2005-03-08 22:14:50 +00:00
Johan Danielsson
a91a5fc686 linux-osi-gettime-avoid-collision-20050308
FIXES 17802

don't reuse tv as a variable name in osi_GetTime macro
2005-03-08 22:09:29 +00:00
Chaskiel M Grundman
e9084af7bf linux-writepage-sync-20050308
FIXES 17792

"The attached patch
1) makes afs_linux_writepage_sync do the required lock_kernel and
AFS_GLOCK()'s instead of making the caller do it.
2) removes the 2.4+ afs_linux_updatepage wrapper function which just calls
afs_linux_writepage_sync and is only called by afs_linux_commit_write
3) removes the kmap/kunmap in afs_linux_{prepare,commit}_write on 2.6
since the caller of afs_linux_{prepare,commit}_write
(do_generic_file_write) does the kmap/kunmap itself, and has since before
2.4.19 (early 2.4's do require it, and it doesn't break anything to do it
twice, so !defined(AFS_LINUX26_ENV) is appropriate)"
2005-03-08 22:05:45 +00:00
Chaskiel M Grundman
011a40a56d osi-lookupname-nuke-dirvpp-20050308
FIXES 17791

osi_lookupname doesn't need dirvpp anymore
2005-03-08 21:57:41 +00:00