Commit Graph

3891 Commits

Author SHA1 Message Date
Jeffrey Altman
8da04000ec windows-multi-fix-20061002
Fix the following problems:

it is possible for a file to be created, buffers to become dirty from
writes, the file to be deleted, the stat cache entry to be reused, and
the dirty buffers to remain dirty until the end of time.

stat cache entry starvation can occur because of large numbers of dirty
buffers which take too long to be written to the file server.  The
thread that writes dirty buffers in background writes/checks a small
number of buffers, SQRT(buf-count), and then sleeps for 5 seconds.
Writing all of the dirty buffers via this algorithm produces untimely
results.

threads can end up waiting for a callback on the same stat cache entry
even though there are no threads actually attempting to perform the
FetchStatus.

And:

Fix prototypes

Optimize cm_GetNewSCache to reuse scache entries for deleted files
and entries not in the hashtable before allocating a new one.  This
keeps the entries in the hashtable to a minimum and thereby improving
performance for all other operations which must lookup a scache entry
by FID.

Add support for Sequential and Random Access flags
2006-10-03 04:22:37 +00:00
Jeffrey Altman
b17a5d8192 windows-track-lock-tid-20061002
Keep track of the tid of the holding thread for writers
2006-10-03 03:45:16 +00:00
Jeffrey Altman
62e5dab3d6 windows-scache-ref-leak-20061002
when handling VNOVNODE must release the scache entry.
2006-10-03 03:27:22 +00:00
Jeffrey Altman
0fe7b3a058 avoid-assert-for-missing-vnodes-20060928
specify the correct number of parameters for VForceOffline_r()
2006-09-28 13:58:04 +00:00
Derrick Brashear
4bfe736b91 darwin90-ukernel-setjmp-conflict-20060927
FIXES 39354

setjmp isn't safe for #define KERNEL
2006-09-27 22:13:15 +00:00
Chas Williams
6a2ac1e2d4 keyring-gcpags-20060927
FIXES 40659

do gcpags for keyrings without needing tasklist_lock
2006-09-27 21:01:10 +00:00
Derrick Brashear
2201fd6d9f getcellunix-use-stdio-again-20060925
i have no idea why this is so ugly. put it back to something like how it was.
2006-09-26 03:22:28 +00:00
Derrick Brashear
c1d3a69976 copyonwrite-dont-assert-20060925
take it offline, don't assert.
2006-09-26 02:36:03 +00:00
Ken Aaker
9bd3d0926b getcell-still-stupid-20060925
FIXES 40829

should be fixed a third time too
2006-09-25 16:04:12 +00:00
Jeffrey Altman
9a5cfc73bc windows-no-more-win95-20060921
after killing off win95 at the hackathon there were some build
dependencies left behind.  now we build again.
2006-09-22 21:20:54 +00:00
Jeffrey Altman
50852d6c81 vioc-header-split-20060921
enable windows to build again
2006-09-22 21:18:50 +00:00
Jeffrey Altman
faee281941 windows-kfw-sdk-20060921
kfw 3.1
2006-09-22 20:17:45 +00:00
Jeffrey Hutzelman
928ad0445e tasklist-lock-redux-20060922
try tasklist_lock weak binding in osi_probe

if no tasklist_lock, fall back to rcu locking
2006-09-22 12:16:24 +00:00
Derrick Brashear
955a58a5a8 pr-changeentry-arg-types-20060921
FIXES 40568

this has been broken a while, we just noticed it because of prototypes
2006-09-21 22:10:28 +00:00
Derrick Brashear
b613480bd5 avoid-assert-for-missing-vnodes-20060921
right now if a vnode is missing when we try to clone, we could assert. ick.
2006-09-21 12:47:20 +00:00
Derrick Brashear
86f4e7620b dont-close-this-afsconf-either-20060921
static means static
2006-09-21 12:38:04 +00:00
Derrick Brashear
1221e482d7 salvage-zlc-update-20060920
avoid dealing so well with damaged namei volumes that we assume a temporary clone is damaged
2006-09-20 06:51:15 +00:00
Chas Williams
361751cbf4 linux-i-blksize-test-20060919
this was missed in the configure test conversions
2006-09-19 22:33:10 +00:00
Jeffrey Altman
3e28a968e0 windows-loopback-install-20060919
FIXES 40291

Disable DNS Registrations for the Loopback Adapter and make sure
that Netbios is turned on.
2006-09-19 06:48:22 +00:00
Derrick Brashear
357771453b solaris-fopen-sucks-20060916
FIXES 38566

avoid issue trying fopen when fds 0-255 are in use already
yuck
2006-09-17 06:01:43 +00:00
Derrick Brashear
57101f38a0 fix-afsconf-leak-20060916
this one's not a leak
2006-09-16 20:40:19 +00:00
Derrick Brashear
58e23eb620 amd64-linux-missing-syscall-nrs-20060916
they removed these. makes it harder to probe for the ia32 syscall table
(ignoring the compilation issue)

cheat. they aren't going to change...
2006-09-16 20:11:04 +00:00
Chas Williams
52557c982e xml-docbook-documentation-first-pass-20060915
needs more massaging to make it fit the tree, but, get it here first
2006-09-16 01:13:22 +00:00
Derrick Brashear
3473fa4ec7 darwin80-avoid-stack-free-20060915
thanks to apple for their help; all i did was code the patch
2006-09-16 01:10:23 +00:00
Derrick Brashear
1c8080fe9d namei-emulate-flock-20060913
FIXES 39797

lockf when not locking and unlocking the whole file is fraught with peril
2006-09-16 00:23:18 +00:00
Jeffrey Altman
de5f1c47e8 afsconf-leak-20060915
don't leak afsconf structs
2006-09-16 00:17:23 +00:00
Tom Keiser
914b2e27dc uae-avoid-dups-20060914
avoid duplicates in the errno space so we don't return the wrong error (something unexpected)
2006-09-15 00:58:24 +00:00
Jeffrey Altman
975897d476 windows-afs-config-20060913
FIXES 3730

remove "Show Tray Icon" checkbox from afs_config
2006-09-13 18:49:58 +00:00
Derrick Brashear
94ff5651cb suse-kernel-source-path-update-20060912
no one can ever agree on anything
2006-09-12 19:57:17 +00:00
Peter Somogyi
e7ec36ddeb vol-voffline-avoid-early-freevolumeheader-20050906
FIXES 39422

don't free vp before we finish using it
2006-09-07 02:08:39 +00:00
Asanka Herath
19e16d34a6 windows-afs-shell-ext-32bit-20060906
Generate a new GUID for the 64-bit AFS Shell Extension and install
the 32-bit version as part of the 32-bit tools
2006-09-07 00:12:31 +00:00
Chas Williams
3dc9bcb128 keyring-dont-use-syscall2-20060906
avoid not-really-portable-use of syscall2
2006-09-06 21:56:01 +00:00
Jeffrey Altman
a63d753df8 windows-dot-dir-part-two-20060906
cm_LookupInternal can return the input stat cache entry when the name
is "."

the DNLC should not cache "." or ".."
2006-09-06 18:19:36 +00:00
Jeffrey Altman
f47b934c13 windows-dot-dir-20060906
when evaluating paths with cm_NameI treat the component "." as a no-op.
2006-09-06 07:11:52 +00:00
Jeffrey Altman
e68b0f9cb4 windows-install-licenses-20060905
port LICENSES file contents to installers
2006-09-06 06:09:13 +00:00
Jeffrey Altman
b4d8384b67 windows-fs-prototypes-20060905
remove unused prototype
2006-09-06 00:51:44 +00:00
Jeffrey Altman
51b862ef88 windows-vol-ntops-20060905
if the function is namei_XXX on unix then it is nt_XXXX on Windows
2006-09-06 00:47:34 +00:00
Derrick Brashear
5bc1ab6cfa pruclient-killer-logging-cleanup-20060905
vicelog this stuff instead of fprintf
2006-09-05 23:04:25 +00:00
Derrick Brashear
56bbd155db callpostamble-deal-with-null-host-20060905
FIXES 38566

don't dereference garbage when no host was set
2006-09-05 17:30:33 +00:00
Chaskiel M Grundman
2c103b8fb3 salvage-zlc-update-20060905
deal with damaged namei volumes better
2006-09-05 15:59:46 +00:00
Jeffrey Altman
474df74c88 windows-vol-ntops-20060904
add nt_SetNonZLC()
2006-09-04 18:36:23 +00:00
Russ Allbery
5a57fce902 autom4te-cache-is-evil-20060903
Purge autom4te.cache after running autoconf so that we don't ship its huge
trace files in source releases.  Add #!/bin/sh to the beginning of regen.sh
just because.
2006-09-03 20:47:00 +00:00
Chaskiel M Grundman
96c22fdc0d salvage-zlc-20060903
make salvager deal with zero link count files
2006-09-03 06:50:12 +00:00
Chaskiel M Grundman
cd341e2fd7 nuke-do-not-pass-null-rock-20060903
don't pass a null rock inot nuke(), fixing earlier introduced bug
2006-09-03 06:32:33 +00:00
Jim Rees
50880283c9 deprecate-fbsd-client-20060831
deprecate the FreeBSD client
2006-08-31 14:22:50 +00:00
Jeffrey Altman
7392f1d15f windows-gui2fs-20060831
following ui guidelines, errors should display the HAND icon and
warnings should display the EXCLAMATION.  Success should display
the INFORMATION icon.  Let's get this right.
2006-08-31 12:33:22 +00:00
Jeffrey Altman
0617e067d7 windows-fs-20060831
FIXES 38949

fs sq and fs mkm on Windows didn't behave as on Unix
2006-08-31 11:28:24 +00:00
Chas Williams
2ec7ad2af0 linux-param-generator-20060831
FIXES 36888

not yet pulling up
2006-08-31 06:15:15 +00:00
Chas Williams
d86f0c44d3 inline-bug-for-linux-20060831
FIXES 38854

inline bug so we get sane oopses
2006-08-31 05:49:02 +00:00
Jeffrey Altman
f56dff0860 windows-firewall-config-20060830
Enable the firewall detection logic to work on Vista
2006-08-30 21:14:59 +00:00