3152 Commits

Author SHA1 Message Date
Chas Williams
9485ca85d3 linux-panic-20050727
FIXES 20392

just call panic() on linux

====================
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 20392

call BUG() instead
2005-08-08 15:58:32 +00:00
Jeffrey Altman
7e95d1bc89 windows-notes-20050806
updates for 1.3.8700
2005-08-06 01:38:53 +00:00
Jeffrey Altman
520d3143e6 windows-version-20050806
1.3.8700
2005-08-06 01:37:13 +00:00
Jeffrey Altman
4d0a6e73bf windows-afscache-validate-20050806
Ensure that queues that have forward and reverse pointers are
consistent that either both are NULL or neither are.
2005-08-06 01:34:50 +00:00
Rainer Toebbicke
c264965a63 client-omit-zero-length-reads-20050804
The attached patch restores the behaviour of the 1.2.x client: writes
appending to a file do not trigger a 0-length read which at best updates the
current status. If another cache manager wrote to the same file in the
meantime, the file status is updated only after the StoreData RPC (and for
the changes the last one wins).
2005-08-04 21:44:57 +00:00
Horst Birthelmer
b607770bc5 checkservers-set-back-deadtime-correctly-20050804
the multirx version of this does this wrong. fix it.
2005-08-04 21:03:53 +00:00
Derrick Brashear
67f1537746 revert-cache-size-limit-upping-20050728
let's re-examine this
2005-08-04 20:53:30 +00:00
Rainer Toebbicke
1775474656 client-omit-zero-length-reads-20050804
The attached patch restores the behaviour of the 1.2.x client: writes
appending to a file do not trigger a 0-length read which at best updates the
current status. If another cache manager wrote to the same file in the
meantime, the file status is updated only after the StoreData RPC (and for
the changes the last one wins).
2005-08-04 20:31:33 +00:00
Eric Williams
fc0ca363da windows-afsifs-20050804
addresses:
byte-range locks work (mildly tested)
fixes a reference counting error
can shutdown/restart client
code formatting
major speed improvements
fixes delete operation problem
internal locking in more places

i have reviewed this patch myself carefully.  specifically, please review
the changes to cm_buf.c and cm_callback.c.  in cm_buf, i added the looping
code because i ran into the following assert once.  i am not sure why, and
my attempt to diagnose the problem was not successful.

apart from the byte-range locking code, the code has not change for quite
a bit.
2005-08-04 17:32:32 +00:00
Jeffrey Altman
81b0f9cf1d windows-pioctl-update-20050804
change "fs wscell" to report the registry configured cell name when
using freelance mode.

change "fs mkmount|rmmount" to require membership in AFS Client Admins
group when freelance mode is being used

change "symlink make|remove" to require membership in AFS Client Admins
group when freelance mode is being used

Move some smb init debug messages to afsd_init.log
2005-08-04 17:03:50 +00:00
Rainer Toebbicke
1bdc4cea4b viced-dont-crash-on-link-enospc-20050803
when symlink gets ENOSPC don't assert.
2005-08-03 05:45:53 +00:00
Chaskiel M Grundman
f6ff3f769a linux-vnode-aliases-20050802
FIXES 18613

you can end up hanging when you end up with multiple aliases for a single direct
ory (dentry) as a result of @sys or multiple mountpoints.

don't end up with multiple aliases, and avoid the situation
2005-08-02 19:59:46 +00:00
Derrick Brashear
7ad3929e3c linux-fix-refrigerator-calls-20050802
it's CONFIG_PF, not CONFIG_PM
2005-08-02 15:03:42 +00:00
Chas Williams
893849bdca linux-4gb-32bit-file-fix-20050802
FIXCES 20560

fix wrapping error on page offset
2005-08-02 14:46:28 +00:00
Chas Williams
82b010d26a linux-group-putback-20050802
FIXES 20562

put back reference before discarding group pointer
2005-08-02 06:15:54 +00:00
Chas Williams
c893cf0e3d linux-write-dirty-pages-once-20050802
FIXES 20561

also done in afs_linux_write
2005-08-02 06:11:38 +00:00
Chas Williams
4778f1fc15 linux-4gb-32bit-file-fix-20050802
FIXCES 20560

fix wrapping error on page offset
2005-08-02 06:08:45 +00:00
Jim Rees
7c5dcc5d43 tq-uq-scope-20050731
Move local vars tq and uq back into proper scope
2005-07-31 18:22:50 +00:00
Chas Williams
f7b6f3022d linux-osi-vfs-mkdir-20050729
FIXES 20479

mkdir so this works when building outside our tree
2005-07-29 15:49:31 +00:00
Stefaan De Roeck
57bb8e09a3 audit-use-va-arg-20050729
FIXES 20311

use va_arg instead of int
2005-07-29 15:24:05 +00:00
Jeffrey Altman
2da4a84732 windows-doc-updates-20050728
updates for 1.3.8600
2005-07-28 23:15:50 +00:00
Jeffrey Altman
3d43d87010 windows-version-update-20050728
version number to 1.3.8600
2005-07-28 23:09:20 +00:00
Chas Williams
4fc48af834 vc-hashing-be-less-expensive-20050728
use an afs_q so this is less expensive to deal with
2005-07-28 15:38:36 +00:00
Derrick Brashear
459636211c cache-size-limit-upping-20050728
based on work from wes chow

allow larger caches without variable overflows.

does not port to 1.4 as-is.
2005-07-28 15:17:47 +00:00
Stefaan De Roeck
456462b314 audit-use-va-arg-20050726
FIXES 20311

use va_arg instead of int
2005-07-26 19:14:14 +00:00
Chas Williams
b58c1f103e linux-mmap-cleanup-20050726
FIXES 20391

avoid the vma close business, we don't need to do this to track maps
2005-07-26 18:39:00 +00:00
Chas Williams
a21fc56daf linux-reduce-stack-use-20050726
FIXES 20337

don't do pointless work in osi_NetSend, and save some stack
2005-07-26 18:34:05 +00:00
Jim Rees
575cbd4a2f openafs-sleep-20050726
tsleep on "afsslp" in afs_osi_Sleep
2005-07-26 16:25:43 +00:00
Chas Williams
eff25c1899 linux-largefile-fix-20050726
FIXES 20396

use the generic read/write functions, but set the superblock up correctly.

====================
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 20396

make old 2.4 happy
2005-07-26 14:34:31 +00:00
Derrick Brashear
969a49f6d9 amd64-no-red-zone-20050725
why are we not -mno-red-zone here?
2005-07-28 22:50:01 +00:00
Jeffrey Altman
ab22c7a587 windows-misc-20050722
Add debug logging to SMB and CM Locking code

Optimize cm_Analyze by only performing a cm_CheckServers on the current
cell instead of all cells

Add code to detect loops to the cm_scache_t validation routines.
2005-07-23 02:16:06 +00:00
Chas Williams
724b6e639a unlink-fix-20050721
fill in parent after processFS
2005-07-21 17:30:50 +00:00
Jeffrey Altman
7926c85fdf viced-multiprobe-fix-20050721
see if a uuid actually matches what we though was there
2005-07-21 15:54:18 +00:00
Hans-Werner Paulsen
2f3bdd36ee fssync-fix-log-20050721
don't call Log like it's ViceLog
2005-07-21 06:06:27 +00:00
Peter Somogyi
9e32ad3313 afsclient-cellopen-avoid-global-var-20050721
FIXES 20215

avoid use of global variable in CellOpen to avoid thread problems
2005-07-21 05:56:02 +00:00
Hartmut Reuter
da5187d4b4 dir-buffers-use-nullidx-as-none-20050721
FIXES 20214

since 0 is a valid number use -1 (NULLIDX)
2005-07-21 05:52:33 +00:00
Chas Williams
f00e35f7a2 checksysname-stack-usage-20050721
FIXES 20227

fix misuse of MAXSYSNAME for MAXNUMSYSNAMES
2005-07-21 05:46:51 +00:00
Sabin Iacob
bd1eba7f40 linux-refrigerator-check-20050721
FIXES 20209

don't call refrigerator unless we have a kernel which supports it
2005-07-21 05:41:09 +00:00
Derrick Brashear
ea20d8d6c2 vnrehash-avoid-cachecheck-change-20050618
unlocking and locking lets us race and makes cacheCheck potentially go bad
2005-07-19 15:44:53 +00:00
Jeffrey Altman
fb1b339a01 windows-explorer-remove-mountpt-fix-20050719
FIXES 20137

the gui version of fs rmmount was reading random memory.
2005-07-19 06:06:12 +00:00
Karl E. Kelley
ef934e388c aklog-segfault-fix-20050718
FIXES 20198

I have built openafs 1.3.85 on an emt64 platform on RedHat Enterprise 4,
and found that the aklog supplied with 1.3.85 (not the one in the afs-krb5
conversion kit) consistently segfaults when aklog is called with the
"-path ...." parm. It works properly when called with no parms.

I traced this down to the call to the readlink() call in aklog_main.c,
when the params structure references were removed the nesting was
changed on an if statement that changed the logic and allowed the
do while loop to loop past the end and de-reference a NULL pointer.
2005-07-19 03:51:26 +00:00
Derrick Brashear
0c67857911 pt-util-no-cmd-seek-20050715
i guess someone was dumb at some point and failed to completely remove bogus options
2005-07-15 20:16:27 +00:00
Jeffrey Altman
3f3fdba330 windows-cmdebug-20050715
add TellMeAboutYourself functionality and report on capabilities if they
are known.  Used instead of WhoAreYou when supported by the cache manager.
2005-07-15 13:17:53 +00:00
Jeffrey Altman
1acd90549f windows-aklog-tweaks-20050715
* type correction

* formatting

* other cleanup
2005-07-15 13:09:47 +00:00
Jeffrey Altman
1c3d89463e windows-config-cache-path-20050715
FIXES 20007

Update AFS Control Panel to display the default cache location based upon
the SYSTEM %TEMP% environment variable.
2005-07-15 12:56:42 +00:00
Jeffrey Altman
d51baa42c4 audit-pts-supergroups-20050714
PTS SuperGroups failed to compile with auditing due to a missing #define
2005-07-15 04:23:18 +00:00
Christopher Allen Wing
7498def5fb misc-aklog-fixes-20050714
FIXES 20092

Fix various minor problems with aklog, including the return type from main,
removal of #ifndef __STDC__ code, missing includes, removal of unused
variables, correct number of arguments to pr_Initialize, correct argument
type for pr_SNameToId, and use of getcwd instead of getwd.
2005-07-15 02:19:27 +00:00
Chas Williams
2fdb50e1b8 linux-dynamic-inodes-20050713
remove errant log message
2005-07-13 16:51:50 +00:00
Jeffrey Altman
f21fa57453 windows-aclent-deadlock-20050713
Discovered a deadlock due to a violation of lock order.  We may not
attempt to obtain a lock on a cm_scache_t mutex while holding the
cm_aclLock.
2005-07-13 15:22:06 +00:00
Zach Schimke
2d5bb80889 freevclist-static-20050711
these are static now, make it so
2005-07-12 18:48:49 +00:00