Commit Graph

3850 Commits

Author SHA1 Message Date
Marcus Watts
f5e9182848 pt_util-man-page-20061005
Initial man page for pt_util.
2006-10-06 06:37:38 +00:00
Jeffrey Altman
b7117f6103 windows-more-misc-fixes-20061005
replace all DebugBreak() calls with osi_panic.

remove calls to cm_RecycleSCache from VNOVNODE handler as its not
lock safe to drop and re-obtain locks to adhere to the locking
hierarchy

restore reference to CM_SCACHESYNC_STOREDATA that should
not have been removed.

remove attempts to adhere to locking hierarching from cm_GetNewSCache.
dropping the cm_scacheLock is too dangerous

add a check to ensure that the scache refcount is not zero if there
is a valid smb_fid_t pointing to it.

more debug logging
2006-10-06 06:13:49 +00:00
Jeffrey Altman
4cd9eee015 windows-misc-fix-20061005
still tracking down issues when large numbers of temporary files
are created and deleted in the same directory from multiple
machines.

VNOVNODE must return CM_ERROR_BADFD

ensure that all calls to cm_GetCallback are made from cm_SyncOp.

add CM_SCACHESYNC_FORCECB logic to cm_SyncOp so that it can be
removed from cm_GetAccess

don't mix CM_SCACHESYNC_NEEDCALLBACK with CM_SCACHESYNC_STOREDATA
or CM_SCACHESYNC_FETCHDATA
2006-10-05 21:29:39 +00:00
Jose Nazario
591460982c bitwise-or-20051005
bitwise and, not logical for p->flags in vnode_stop
reported by Jose Nazario
2006-10-05 16:34:29 +00:00
Jeffrey Altman
38d464e579 windows-misc-fix-20061004
more cleanup from recent patches.  comment out the recycling code because
it is not possible to implement it using the current locking hierarchy.

change cm_BufWrite to take a pointer to cm_scache_t instead of a fid
which must be used to look up a new reference to the cm_scache_t.
more often than not we already have the scp and in the one case we
don't we can let the caller look up the scp and then call cm_BufWrite
if it is found.  If not, we have saved a function call and a bunch
of lock operations.

add a lot more logging.

improve the scp mutex handling within smb_CloseFID
2006-10-05 06:39:46 +00:00
Jeffrey Altman
b9fd1d4c7e windows-wrong-lock-20061003
grab the correct mutex so we don't free one we are not holding
2006-10-04 06:29:25 +00:00
Jeffrey Altman
93b3be7d1a windows-oops-20061003
didn't mean to delete this release mutex
2006-10-04 02:35:43 +00:00
Jeffrey Altman
de6a01e51d windows-multi-fix-20061003
misc cleanups

hold scp->mx while recycling

add FILE_NOTIFY_CHANGE_CREATION to the notification mask when adding
or deleting files
2006-10-04 01:23:30 +00:00
Jeffrey Altman
665a125335 windows-fetchstatus-20061003
Don't call cm_GetCallback without checking the current callback status
with cm_HaveCallback first
2006-10-04 01:18:43 +00:00
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