misc cleanups
hold scp->mx while recycling
add FILE_NOTIFY_CHANGE_CREATION to the notification mask when adding
or deleting files
(cherry picked from commit de6a01e51d8ea97e943cb4fa93d6bba2ecae9644)
Don't call cm_GetCallback without checking the current callback status
with cm_HaveCallback first
(cherry picked from commit 665a125335c4844d35fa6510a38083602ef7fdbc)
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
(cherry picked from commit 8da04000ec70e7eebe8bb18d317bb6b348b91449)
try tasklist_lock weak binding in osi_probe
if no tasklist_lock, fall back to rcu locking
(cherry picked from commit 928ad0445e91ecbfcd32a26e8c17b90ee0d83700)
FIXES 40568
this has been broken a while, we just noticed it because of prototypes
(cherry picked from commit 955a58a5a850da4caeba9b45b0e8ff27a143b725)
avoid dealing so well with damaged namei volumes that we assume a temporary clone is damaged
(cherry picked from commit 1221e482d786a56ca52568ed29a9c981e674ad7a)
FIXES 40291
Disable DNS Registrations for the Loopback Adapter and make sure
that Netbios is turned on.
(cherry picked from commit 3e28a968e0b916c176b978da2807a7e4857faa18)
they removed these. makes it harder to probe for the ia32 syscall table
(ignoring the compilation issue)
cheat. they aren't going to change...
(cherry picked from commit 58e23eb620429f427cba72bbd2c982d81d9fbd9e)
FIXES 39797
lockf when not locking and unlocking the whole file is fraught with peril
(cherry picked from commit 1c8080fe9dcb3713bf1231cf4b455e80c6f0c697)
avoid duplicates in the errno space so we don't return the wrong error (something unexpected)
(cherry picked from commit 914b2e27dcf5b231832959d0b02dc1e40ca24c81)
Generate a new GUID for the 64-bit AFS Shell Extension and install
the 32-bit version as part of the 32-bit tools
(cherry picked from commit 19e16d34a61945dd1ff3d2f93e48662087654daa)
more changes for 1.5.8
====================
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.
====================
put back the 1.5.x version of this file
cm_LookupInternal can return the input stat cache entry when the name
is "."
the DNLC should not cache "." or ".."
(cherry picked from commit a63d753df88e547606f703764031ad1b9d18fa82)
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.
(cherry picked from commit 5a57fce90246e380fc530dc3c8ad097852b31712)
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.
(cherry picked from commit 7392f1d15f694adade1c8c51162f34bb2d03fd2b)