FIXES 22260
allow newvcache to fail without ooping
sort of nasty, if you want more vcaches, say so.
(cherry picked from commit ee1435d516a31e8ec2d07ec9021bf032ac12f9cd)
FIXES 4623
Pattern matching was broken. '?' should match zero characters if it
appears before a '.' or at the end of the file name.
(cherry picked from commit 41fe908bead6b30e41fd9e4f5084cd5e1dc3ca4a)
two cm_InitReq() calls were in the wrong place opening the possibility for
stack corruption
(cherry picked from commit ec38f9ed3236005114292f08d1c77891aa3a36d3)
FIXES 22317
it seems like this might be a bug in solaris10 when handling contracts
of exiting chilren who have created kernel threads. the rxlistener is
a kernel thread on solaris and the child that starts the kernel_thread
returns and exits.
(cherry picked from commit ae7d5f250d96b7350ee369a74f71a89d646ddccc)
This patch tries to implement the afsd default tuning parameters
discussed in the thread starting at
https://www.openafs.org/pipermail/openafs-devel/2005-May/012158.html
I took the liberty of adding chunksize-tuning to the memcache too,
with the motivation that people using large memcaches usually wants
better bulk performance too.
It seems to work for me using both disk cache and memcache of various
sizes.
(cherry picked from commit 9d396c4916fdac64fcface30e6637ca6e2911203)
With thanks to "Todd T. Fries" <todd@fries.net>
OpenBSD 3.8.
Introduce HAVE_STRCASESTR.
(cherry picked from commit c8db31cc2bf9b59d8b8cf7e5310079ff6c9e4a96)
There was a race condition associated with maintaining the
CM_FILELOCK_FLAG_CLIENTONLY flag on locks bound to scache entries
for Read Only volumes. Therefore, we remove the use of the flag
and simply test the RO status of the scache entry.
(cherry picked from commit 2dcb1cdc3d6f10b366d2b93970f5f1f83287e157)
Discovered a failure in the state machine. There was no method of
distinguishing between all servers being Down (which is handled by the
background thread) and all volumes being offline (perhaps due to a move).
(cherry picked from commit 465273f096b1a1720ca07638537fd4c65d7d1d8d)
minor cleanup to get things working from the merge
====================
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.
====================
remaining bits to make this build
====================
add missing installer files
Do not mark locks lost simply because the ExtendLock failed.
A lock is only lost if the server responds with EINVAL indicating
that the lock no longer exists. A lock can be renewed by other clients
that are also using the file. The client can make no assumptions about
the status of a lock based upon the passage of time.
(cherry picked from commit 8445720d36474797b67341991f15771dcb90b236)
Remove Product ID from Makefiles. They will be auto-generated in the
Wix installer.
====================
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.
====================
Auto-generate Product IDs at build time since each installer has a
unique name. This will allow upgrades to be performed automatically.
(cherry picked from commit b9b6cb7c25cb3bcd4d34d1a52a7915c9ba46df06)